11 from sys
import version_info
12 if version_info >= (2,6,0):
13 def swig_import_helper():
14 from os.path
import dirname
18 fp, pathname, description = imp.find_module(
'_IMP_algebra', [dirname(__file__)])
24 _mod = imp.load_module(
'_IMP_algebra', fp, pathname, description)
28 _IMP_algebra = swig_import_helper()
29 del swig_import_helper
34 _swig_property = property
37 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
38 if (name ==
"thisown"):
return self.this.own(value)
40 if type(value).__name__ ==
'SwigPyObject':
41 self.__dict__[name] = value
43 method = class_type.__swig_setmethods__.get(name,
None)
44 if method:
return method(self,value)
46 self.__dict__[name] = value
48 raise AttributeError(
"You cannot add attributes to %s" % self)
50 def _swig_setattr(self,class_type,name,value):
51 return _swig_setattr_nondynamic(self,class_type,name,value,0)
53 def _swig_getattr(self,class_type,name):
54 if (name ==
"thisown"):
return self.this.own()
55 method = class_type.__swig_getmethods__.get(name,
None)
56 if method:
return method(self)
57 raise AttributeError(name)
60 try: strthis =
"proxy of " + self.this.__repr__()
62 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
67 except AttributeError:
74 weakref_proxy = weakref.proxy
76 weakref_proxy =
lambda x: x
79 class IMP_ALGEBRA_SwigPyIterator(_object):
80 """Proxy of C++ swig::IMP_ALGEBRA_SwigPyIterator class"""
81 __swig_setmethods__ = {}
82 __setattr__ =
lambda self, name, value: _swig_setattr(self, IMP_ALGEBRA_SwigPyIterator, name, value)
83 __swig_getmethods__ = {}
84 __getattr__ =
lambda self, name: _swig_getattr(self, IMP_ALGEBRA_SwigPyIterator, name)
85 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
87 __swig_destroy__ = _IMP_algebra.delete_IMP_ALGEBRA_SwigPyIterator
88 __del__ =
lambda self :
None;
90 """value(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
91 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_value(self)
95 incr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
96 incr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
98 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_incr(self, n)
102 decr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
103 decr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
105 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_decr(self, n)
107 def distance(self, *args):
108 """distance(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t"""
109 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_distance(self, *args)
111 def equal(self, *args):
112 """equal(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
113 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_equal(self, *args)
116 """copy(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator"""
117 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_copy(self)
120 """next(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
121 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_next(self)
124 """__next__(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
125 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___next__(self)
128 """previous(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
129 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_previous(self)
131 def advance(self, *args):
132 """advance(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
133 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_advance(self, *args)
135 def __eq__(self, *args):
136 """__eq__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
137 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___eq__(self, *args)
139 def __ne__(self, *args):
140 """__ne__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
141 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___ne__(self, *args)
143 def __iadd__(self, *args):
144 """__iadd__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
145 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___iadd__(self, *args)
147 def __isub__(self, *args):
148 """__isub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
149 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___isub__(self, *args)
151 def __add__(self, *args):
152 """__add__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
153 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___add__(self, *args)
155 def __sub__(self, *args):
157 __sub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator
158 __sub__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t
160 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___sub__(self, *args)
162 def __iter__(self):
return self
163 IMP_ALGEBRA_SwigPyIterator_swigregister = _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_swigregister
164 IMP_ALGEBRA_SwigPyIterator_swigregister(IMP_ALGEBRA_SwigPyIterator)
171 IMP_DEBUG = _IMP_algebra.IMP_DEBUG
172 IMP_RELEASE = _IMP_algebra.IMP_RELEASE
173 IMP_SILENT = _IMP_algebra.IMP_SILENT
174 IMP_PROGRESS = _IMP_algebra.IMP_PROGRESS
175 IMP_TERSE = _IMP_algebra.IMP_TERSE
176 IMP_VERBOSE = _IMP_algebra.IMP_VERBOSE
177 IMP_MEMORY = _IMP_algebra.IMP_MEMORY
178 IMP_NONE = _IMP_algebra.IMP_NONE
179 IMP_USAGE = _IMP_algebra.IMP_USAGE
180 IMP_INTERNAL = _IMP_algebra.IMP_INTERNAL
181 IMP_BASE_HAS_LOG4CXX = _IMP_algebra.IMP_BASE_HAS_LOG4CXX
182 IMP_COMPILER_HAS_AUTO = _IMP_algebra.IMP_COMPILER_HAS_AUTO
183 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_algebra.IMP_COMPILER_HAS_DEBUG_VECTOR
184 IMP_BASE_HAS_BOOST_RANDOM = _IMP_algebra.IMP_BASE_HAS_BOOST_RANDOM
185 IMP_BASE_HAS_GPERFTOOLS = _IMP_algebra.IMP_BASE_HAS_GPERFTOOLS
186 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_algebra.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
187 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_algebra.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
188 IMPBASE_SHOW_WARNINGS = _IMP_algebra.IMPBASE_SHOW_WARNINGS
190 class _DirectorObjects(object):
191 """@internal Simple class to keep references to director objects
192 to prevent premature deletion."""
195 def register(self, obj):
196 """Take a reference to a director object; will only work for
197 refcounted C++ classes"""
198 if hasattr(obj,
'get_ref_count'):
199 self._objects.append(obj)
201 """Only drop our reference and allow cleanup by Python if no other
202 Python references exist (we hold 3 references: one in self._objects,
203 one in x, and one in the argument list for getrefcount) *and* no
204 other C++ references exist (the Python object always holds one)"""
205 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
206 or x.get_ref_count() > 1]
210 def get_object_count(self):
211 """Get number of director objects (useful for testing only)"""
212 return len(self._objects)
213 _director_objects = _DirectorObjects()
215 DEFAULT_CHECK = _IMP_algebra.DEFAULT_CHECK
216 NONE = _IMP_algebra.NONE
217 USAGE = _IMP_algebra.USAGE
218 USAGE_AND_INTERNAL = _IMP_algebra.USAGE_AND_INTERNAL
221 """set_check_level(IMP::base::CheckLevel tf)"""
222 return _IMP_algebra.set_check_level(*args)
225 """get_check_level() -> IMP::base::CheckLevel"""
226 return _IMP_algebra.get_check_level()
227 class _ostream(_object):
228 """Proxy of C++ std::ostream class"""
229 __swig_setmethods__ = {}
230 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ostream, name, value)
231 __swig_getmethods__ = {}
232 __getattr__ =
lambda self, name: _swig_getattr(self, _ostream, name)
233 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
234 __repr__ = _swig_repr
235 def write(self, *args):
236 """write(_ostream self, char const * osa_buf)"""
237 return _IMP_algebra._ostream_write(self, *args)
239 _ostream_swigregister = _IMP_algebra._ostream_swigregister
240 _ostream_swigregister(_ostream)
242 IMP_COMPILER_HAS_OVERRIDE = _IMP_algebra.IMP_COMPILER_HAS_OVERRIDE
243 IMP_COMPILER_HAS_FINAL = _IMP_algebra.IMP_COMPILER_HAS_FINAL
244 IMP_HAS_NOEXCEPT = _IMP_algebra.IMP_HAS_NOEXCEPT
246 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM
247 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
248 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM
249 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM
250 IMPCGAL_SHOW_WARNINGS = _IMP_algebra.IMPCGAL_SHOW_WARNINGS
252 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL
253 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
254 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
255 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM
256 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM
257 IMP_ALGEBRA_HAS_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_CGAL
258 IMP_ALGEBRA_HAS_ANN = _IMP_algebra.IMP_ALGEBRA_HAS_ANN
259 IMPALGEBRA_SHOW_WARNINGS = _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS
262 return v.get_coordinates()
267 return v.get_sphere()
271 _object_types.append(
"VectorKDMetric")
274 def _object_cast_to_VectorKDMetric(*args):
275 """_object_cast_to_VectorKDMetric(Object o) -> VectorKDMetric"""
276 return _IMP_algebra._object_cast_to_VectorKDMetric(*args)
277 _object_types.append(
"EuclideanVectorKDMetric")
280 def _object_cast_to_EuclideanVectorKDMetric(*args):
281 """_object_cast_to_EuclideanVectorKDMetric(Object o) -> EuclideanVectorKDMetric"""
282 return _IMP_algebra._object_cast_to_EuclideanVectorKDMetric(*args)
283 _object_types.append(
"MaxVectorKDMetric")
286 def _object_cast_to_MaxVectorKDMetric(*args):
287 """_object_cast_to_MaxVectorKDMetric(Object o) -> MaxVectorKDMetric"""
288 return _IMP_algebra._object_cast_to_MaxVectorKDMetric(*args)
289 _object_types.append(
"DynamicNearestNeighbor3D")
292 def _object_cast_to_DynamicNearestNeighbor3D(*args):
293 """_object_cast_to_DynamicNearestNeighbor3D(Object o) -> DynamicNearestNeighbor3D"""
294 return _IMP_algebra._object_cast_to_DynamicNearestNeighbor3D(*args)
296 _plural_types.append(
"Rotation2Ds")
297 _value_types.append(
"Rotation2D")
300 _plural_types.append(
"Rotation3Ds")
301 _value_types.append(
"Rotation3D")
304 _plural_types.append(
"Reflection3Ds")
305 _value_types.append(
"Reflection3D")
307 Transformation2Ds=list
308 _plural_types.append(
"Transformation2Ds")
309 _value_types.append(
"Transformation2D")
311 Transformation3Ds=list
312 _plural_types.append(
"Transformation3Ds")
313 _value_types.append(
"Transformation3D")
315 SphericalVector3Ds=list
316 _plural_types.append(
"SphericalVector3Ds")
317 _value_types.append(
"SphericalVector3D")
320 _plural_types.append(
"Triangle3Ds")
321 _value_types.append(
"Triangle3D")
324 _plural_types.append(
"Cone3Ds")
325 _value_types.append(
"Cone3D")
328 _plural_types.append(
"Cylinder3Ds")
329 _value_types.append(
"Cylinder3D")
332 _plural_types.append(
"Ellipsoid3Ds")
333 _value_types.append(
"Ellipsoid3D")
336 _plural_types.append(
"Plane3Ds")
337 _value_types.append(
"Plane3D")
340 _plural_types.append(
"Segment3Ds")
341 _value_types.append(
"Segment3D")
344 _plural_types.append(
"SpherePatch3Ds")
345 _value_types.append(
"SpherePatch3D")
347 ConnollySurfacePoints=list
348 _plural_types.append(
"ConnollySurfacePoints")
349 _value_types.append(
"ConnollySurfacePoint")
352 _plural_types.append(
"Sphere1Ds")
353 _value_types.append(
"Sphere1D")
356 _plural_types.append(
"Sphere2Ds")
357 _value_types.append(
"Sphere2D")
360 _plural_types.append(
"Sphere3Ds")
361 _value_types.append(
"Sphere3D")
364 _plural_types.append(
"Sphere4Ds")
365 _value_types.append(
"Sphere4D")
368 _plural_types.append(
"Sphere5Ds")
369 _value_types.append(
"Sphere5D")
372 _plural_types.append(
"Sphere6Ds")
373 _value_types.append(
"Sphere6D")
376 _plural_types.append(
"Sphere1Ds")
377 _value_types.append(
"SphereD<1>")
380 _plural_types.append(
"Sphere2Ds")
381 _value_types.append(
"SphereD<2>")
384 _plural_types.append(
"Sphere3Ds")
385 _value_types.append(
"SphereD<3>")
388 _plural_types.append(
"Sphere4Ds")
389 _value_types.append(
"SphereD<4>")
392 _plural_types.append(
"Sphere5Ds")
393 _value_types.append(
"SphereD<5>")
396 _plural_types.append(
"Sphere6Ds")
397 _value_types.append(
"SphereD<6>")
400 _plural_types.append(
"SphereKDs")
401 _value_types.append(
"SphereKD")
404 _plural_types.append(
"SphereKDs")
405 _value_types.append(
"SphereD<-1>")
408 _plural_types.append(
"BoundingBox1Ds")
409 _value_types.append(
"BoundingBox1D")
412 _plural_types.append(
"BoundingBox2Ds")
413 _value_types.append(
"BoundingBox2D")
416 _plural_types.append(
"BoundingBox3Ds")
417 _value_types.append(
"BoundingBox3D")
420 _plural_types.append(
"BoundingBox4Ds")
421 _value_types.append(
"BoundingBox4D")
424 _plural_types.append(
"BoundingBox5Ds")
425 _value_types.append(
"BoundingBox5D")
428 _plural_types.append(
"BoundingBox6Ds")
429 _value_types.append(
"BoundingBox6D")
432 _plural_types.append(
"BoundingBox1Ds")
433 _value_types.append(
"BoundingBoxD<1>")
436 _plural_types.append(
"BoundingBox2Ds")
437 _value_types.append(
"BoundingBoxD<2>")
440 _plural_types.append(
"BoundingBox3Ds")
441 _value_types.append(
"BoundingBoxD<3>")
444 _plural_types.append(
"BoundingBox4Ds")
445 _value_types.append(
"BoundingBoxD<4>")
448 _plural_types.append(
"BoundingBox5Ds")
449 _value_types.append(
"BoundingBoxD<5>")
452 _plural_types.append(
"BoundingBox6Ds")
453 _value_types.append(
"BoundingBoxD<6>")
456 _plural_types.append(
"BoundingBoxKDs")
457 _value_types.append(
"BoundingBoxKD")
460 _plural_types.append(
"BoundingBoxKDs")
461 _value_types.append(
"BoundingBoxD<-1>")
463 PrincipalComponentAnalysis1Ds=list
464 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
465 _value_types.append(
"PrincipalComponentAnalysis1D")
467 PrincipalComponentAnalysis2Ds=list
468 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
469 _value_types.append(
"PrincipalComponentAnalysis2D")
471 PrincipalComponentAnalysis3Ds=list
472 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
473 _value_types.append(
"PrincipalComponentAnalysis3D")
475 PrincipalComponentAnalysis4Ds=list
476 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
477 _value_types.append(
"PrincipalComponentAnalysis4D")
479 PrincipalComponentAnalysis5Ds=list
480 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
481 _value_types.append(
"PrincipalComponentAnalysis5D")
483 PrincipalComponentAnalysis6Ds=list
484 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
485 _value_types.append(
"PrincipalComponentAnalysis6D")
487 PrincipalComponentAnalysis1Ds=list
488 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
489 _value_types.append(
"PrincipalComponentAnalysisD<1>")
491 PrincipalComponentAnalysis2Ds=list
492 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
493 _value_types.append(
"PrincipalComponentAnalysisD<2>")
495 PrincipalComponentAnalysis3Ds=list
496 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
497 _value_types.append(
"PrincipalComponentAnalysisD<3>")
499 PrincipalComponentAnalysis4Ds=list
500 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
501 _value_types.append(
"PrincipalComponentAnalysisD<4>")
503 PrincipalComponentAnalysis5Ds=list
504 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
505 _value_types.append(
"PrincipalComponentAnalysisD<5>")
507 PrincipalComponentAnalysis6Ds=list
508 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
509 _value_types.append(
"PrincipalComponentAnalysisD<6>")
511 PrincipalComponentAnalysisKDs=list
512 _plural_types.append(
"PrincipalComponentAnalysisKDs")
513 _value_types.append(
"PrincipalComponentAnalysisKD")
515 PrincipalComponentAnalysisKDs=list
516 _plural_types.append(
"PrincipalComponentAnalysisKDs")
517 _value_types.append(
"PrincipalComponentAnalysisD<-1>")
519 _object_types.append(
"NearestNeighbor1D")
522 def _object_cast_to_NearestNeighbor1D(*args):
523 """_object_cast_to_NearestNeighbor1D(Object o) -> NearestNeighbor1D"""
524 return _IMP_algebra._object_cast_to_NearestNeighbor1D(*args)
525 _object_types.append(
"NearestNeighbor2D")
528 def _object_cast_to_NearestNeighbor2D(*args):
529 """_object_cast_to_NearestNeighbor2D(Object o) -> NearestNeighbor2D"""
530 return _IMP_algebra._object_cast_to_NearestNeighbor2D(*args)
531 _object_types.append(
"NearestNeighbor3D")
534 def _object_cast_to_NearestNeighbor3D(*args):
535 """_object_cast_to_NearestNeighbor3D(Object o) -> NearestNeighbor3D"""
536 return _IMP_algebra._object_cast_to_NearestNeighbor3D(*args)
537 _object_types.append(
"NearestNeighbor4D")
540 def _object_cast_to_NearestNeighbor4D(*args):
541 """_object_cast_to_NearestNeighbor4D(Object o) -> NearestNeighbor4D"""
542 return _IMP_algebra._object_cast_to_NearestNeighbor4D(*args)
543 _object_types.append(
"NearestNeighbor5D")
546 def _object_cast_to_NearestNeighbor5D(*args):
547 """_object_cast_to_NearestNeighbor5D(Object o) -> NearestNeighbor5D"""
548 return _IMP_algebra._object_cast_to_NearestNeighbor5D(*args)
549 _object_types.append(
"NearestNeighbor6D")
552 def _object_cast_to_NearestNeighbor6D(*args):
553 """_object_cast_to_NearestNeighbor6D(Object o) -> NearestNeighbor6D"""
554 return _IMP_algebra._object_cast_to_NearestNeighbor6D(*args)
555 _object_types.append(
"NearestNeighborKD")
558 def _object_cast_to_NearestNeighborKD(*args):
559 """_object_cast_to_NearestNeighborKD(Object o) -> NearestNeighborKD"""
560 return _IMP_algebra._object_cast_to_NearestNeighborKD(*args)
561 ReferenceFrame3Ds=list
562 _plural_types.append(
"ReferenceFrame3Ds")
563 _value_types.append(
"ReferenceFrame3D")
566 _plural_types.append(
"Gaussian3Ds")
567 _value_types.append(
"Gaussian3D")
569 DefaultEmbedding1Ds=list
570 _plural_types.append(
"DefaultEmbedding1Ds")
571 _value_types.append(
"DefaultEmbedding1D")
573 DefaultEmbedding2Ds=list
574 _plural_types.append(
"DefaultEmbedding2Ds")
575 _value_types.append(
"DefaultEmbedding2D")
577 DefaultEmbedding3Ds=list
578 _plural_types.append(
"DefaultEmbedding3Ds")
579 _value_types.append(
"DefaultEmbedding3D")
581 DefaultEmbedding4Ds=list
582 _plural_types.append(
"DefaultEmbedding4Ds")
583 _value_types.append(
"DefaultEmbedding4D")
585 DefaultEmbedding5Ds=list
586 _plural_types.append(
"DefaultEmbedding5Ds")
587 _value_types.append(
"DefaultEmbedding5D")
589 DefaultEmbedding6Ds=list
590 _plural_types.append(
"DefaultEmbedding6Ds")
591 _value_types.append(
"DefaultEmbedding6D")
593 DefaultEmbedding1Ds=list
594 _plural_types.append(
"DefaultEmbedding1Ds")
595 _value_types.append(
"DefaultEmbeddingD<1>")
597 DefaultEmbedding2Ds=list
598 _plural_types.append(
"DefaultEmbedding2Ds")
599 _value_types.append(
"DefaultEmbeddingD<2>")
601 DefaultEmbedding3Ds=list
602 _plural_types.append(
"DefaultEmbedding3Ds")
603 _value_types.append(
"DefaultEmbeddingD<3>")
605 DefaultEmbedding4Ds=list
606 _plural_types.append(
"DefaultEmbedding4Ds")
607 _value_types.append(
"DefaultEmbeddingD<4>")
609 DefaultEmbedding5Ds=list
610 _plural_types.append(
"DefaultEmbedding5Ds")
611 _value_types.append(
"DefaultEmbeddingD<5>")
613 DefaultEmbedding6Ds=list
614 _plural_types.append(
"DefaultEmbedding6Ds")
615 _value_types.append(
"DefaultEmbeddingD<6>")
617 DefaultEmbeddingKDs=list
618 _plural_types.append(
"DefaultEmbeddingKDs")
619 _value_types.append(
"DefaultEmbeddingKD")
621 DefaultEmbeddingKDs=list
622 _plural_types.append(
"DefaultEmbeddingKDs")
623 _value_types.append(
"DefaultEmbeddingD<-1>")
626 _plural_types.append(
"LogEmbedding1Ds")
627 _value_types.append(
"LogEmbedding1D")
630 _plural_types.append(
"LogEmbedding2Ds")
631 _value_types.append(
"LogEmbedding2D")
634 _plural_types.append(
"LogEmbedding3Ds")
635 _value_types.append(
"LogEmbedding3D")
638 _plural_types.append(
"LogEmbedding4Ds")
639 _value_types.append(
"LogEmbedding4D")
642 _plural_types.append(
"LogEmbedding5Ds")
643 _value_types.append(
"LogEmbedding5D")
646 _plural_types.append(
"LogEmbedding6Ds")
647 _value_types.append(
"LogEmbedding6D")
650 _plural_types.append(
"LogEmbedding1Ds")
651 _value_types.append(
"LogEmbeddingD<1>")
654 _plural_types.append(
"LogEmbedding2Ds")
655 _value_types.append(
"LogEmbeddingD<2>")
658 _plural_types.append(
"LogEmbedding3Ds")
659 _value_types.append(
"LogEmbeddingD<3>")
662 _plural_types.append(
"LogEmbedding4Ds")
663 _value_types.append(
"LogEmbeddingD<4>")
666 _plural_types.append(
"LogEmbedding5Ds")
667 _value_types.append(
"LogEmbeddingD<5>")
670 _plural_types.append(
"LogEmbedding6Ds")
671 _value_types.append(
"LogEmbeddingD<6>")
674 _plural_types.append(
"LogEmbeddingKDs")
675 _value_types.append(
"LogEmbeddingKD")
678 _plural_types.append(
"LogEmbeddingKDs")
679 _value_types.append(
"LogEmbeddingD<-1>")
682 _plural_types.append(
"GridIndex1Ds")
683 _value_types.append(
"GridIndex1D")
686 _plural_types.append(
"GridIndex2Ds")
687 _value_types.append(
"GridIndex2D")
690 _plural_types.append(
"GridIndex3Ds")
691 _value_types.append(
"GridIndex3D")
694 _plural_types.append(
"GridIndex4Ds")
695 _value_types.append(
"GridIndex4D")
698 _plural_types.append(
"GridIndex5Ds")
699 _value_types.append(
"GridIndex5D")
702 _plural_types.append(
"GridIndex6Ds")
703 _value_types.append(
"GridIndex6D")
706 _plural_types.append(
"GridIndex1Ds")
707 _value_types.append(
"GridIndexD<1>")
710 _plural_types.append(
"GridIndex2Ds")
711 _value_types.append(
"GridIndexD<2>")
714 _plural_types.append(
"GridIndex3Ds")
715 _value_types.append(
"GridIndexD<3>")
718 _plural_types.append(
"GridIndex4Ds")
719 _value_types.append(
"GridIndexD<4>")
722 _plural_types.append(
"GridIndex5Ds")
723 _value_types.append(
"GridIndexD<5>")
726 _plural_types.append(
"GridIndex6Ds")
727 _value_types.append(
"GridIndexD<6>")
730 _plural_types.append(
"GridIndexKDs")
731 _value_types.append(
"GridIndexKD")
734 _plural_types.append(
"GridIndexKDs")
735 _value_types.append(
"GridIndexD<-1>")
737 ExtendedGridIndex1Ds=list
738 _plural_types.append(
"ExtendedGridIndex1Ds")
739 _value_types.append(
"ExtendedGridIndex1D")
741 ExtendedGridIndex2Ds=list
742 _plural_types.append(
"ExtendedGridIndex2Ds")
743 _value_types.append(
"ExtendedGridIndex2D")
745 ExtendedGridIndex3Ds=list
746 _plural_types.append(
"ExtendedGridIndex3Ds")
747 _value_types.append(
"ExtendedGridIndex3D")
749 ExtendedGridIndex4Ds=list
750 _plural_types.append(
"ExtendedGridIndex4Ds")
751 _value_types.append(
"ExtendedGridIndex4D")
753 ExtendedGridIndex5Ds=list
754 _plural_types.append(
"ExtendedGridIndex5Ds")
755 _value_types.append(
"ExtendedGridIndex5D")
757 ExtendedGridIndex6Ds=list
758 _plural_types.append(
"ExtendedGridIndex6Ds")
759 _value_types.append(
"ExtendedGridIndex6D")
761 ExtendedGridIndex1Ds=list
762 _plural_types.append(
"ExtendedGridIndex1Ds")
763 _value_types.append(
"ExtendedGridIndexD<1>")
765 ExtendedGridIndex2Ds=list
766 _plural_types.append(
"ExtendedGridIndex2Ds")
767 _value_types.append(
"ExtendedGridIndexD<2>")
769 ExtendedGridIndex3Ds=list
770 _plural_types.append(
"ExtendedGridIndex3Ds")
771 _value_types.append(
"ExtendedGridIndexD<3>")
773 ExtendedGridIndex4Ds=list
774 _plural_types.append(
"ExtendedGridIndex4Ds")
775 _value_types.append(
"ExtendedGridIndexD<4>")
777 ExtendedGridIndex5Ds=list
778 _plural_types.append(
"ExtendedGridIndex5Ds")
779 _value_types.append(
"ExtendedGridIndexD<5>")
781 ExtendedGridIndex6Ds=list
782 _plural_types.append(
"ExtendedGridIndex6Ds")
783 _value_types.append(
"ExtendedGridIndexD<6>")
785 ExtendedGridIndexKDs=list
786 _plural_types.append(
"ExtendedGridIndexKDs")
787 _value_types.append(
"ExtendedGridIndexKD")
789 ExtendedGridIndexKDs=list
790 _plural_types.append(
"ExtendedGridIndexKDs")
791 _value_types.append(
"ExtendedGridIndexD<-1>")
793 BoundedGridRange1Ds=list
794 _plural_types.append(
"BoundedGridRange1Ds")
795 _value_types.append(
"BoundedGridRange1D")
797 BoundedGridRange2Ds=list
798 _plural_types.append(
"BoundedGridRange2Ds")
799 _value_types.append(
"BoundedGridRange2D")
801 BoundedGridRange3Ds=list
802 _plural_types.append(
"BoundedGridRange3Ds")
803 _value_types.append(
"BoundedGridRange3D")
805 BoundedGridRange4Ds=list
806 _plural_types.append(
"BoundedGridRange4Ds")
807 _value_types.append(
"BoundedGridRange4D")
809 BoundedGridRange5Ds=list
810 _plural_types.append(
"BoundedGridRange5Ds")
811 _value_types.append(
"BoundedGridRange5D")
813 BoundedGridRange6Ds=list
814 _plural_types.append(
"BoundedGridRange6Ds")
815 _value_types.append(
"BoundedGridRange6D")
817 BoundedGridRange1Ds=list
818 _plural_types.append(
"BoundedGridRange1Ds")
819 _value_types.append(
"BoundedGridRangeD<1>")
821 BoundedGridRange2Ds=list
822 _plural_types.append(
"BoundedGridRange2Ds")
823 _value_types.append(
"BoundedGridRangeD<2>")
825 BoundedGridRange3Ds=list
826 _plural_types.append(
"BoundedGridRange3Ds")
827 _value_types.append(
"BoundedGridRangeD<3>")
829 BoundedGridRange4Ds=list
830 _plural_types.append(
"BoundedGridRange4Ds")
831 _value_types.append(
"BoundedGridRangeD<4>")
833 BoundedGridRange5Ds=list
834 _plural_types.append(
"BoundedGridRange5Ds")
835 _value_types.append(
"BoundedGridRangeD<5>")
837 BoundedGridRange6Ds=list
838 _plural_types.append(
"BoundedGridRange6Ds")
839 _value_types.append(
"BoundedGridRangeD<6>")
841 BoundedGridRangeKDs=list
842 _plural_types.append(
"BoundedGridRangeKDs")
843 _value_types.append(
"BoundedGridRangeKD")
845 BoundedGridRangeKDs=list
846 _plural_types.append(
"BoundedGridRangeKDs")
847 _value_types.append(
"BoundedGridRangeD<-1>")
849 UnboundedGridRange1Ds=list
850 _plural_types.append(
"UnboundedGridRange1Ds")
851 _value_types.append(
"UnboundedGridRange1D")
853 UnboundedGridRange2Ds=list
854 _plural_types.append(
"UnboundedGridRange2Ds")
855 _value_types.append(
"UnboundedGridRange2D")
857 UnboundedGridRange3Ds=list
858 _plural_types.append(
"UnboundedGridRange3Ds")
859 _value_types.append(
"UnboundedGridRange3D")
861 UnboundedGridRange4Ds=list
862 _plural_types.append(
"UnboundedGridRange4Ds")
863 _value_types.append(
"UnboundedGridRange4D")
865 UnboundedGridRange5Ds=list
866 _plural_types.append(
"UnboundedGridRange5Ds")
867 _value_types.append(
"UnboundedGridRange5D")
869 UnboundedGridRange6Ds=list
870 _plural_types.append(
"UnboundedGridRange6Ds")
871 _value_types.append(
"UnboundedGridRange6D")
873 UnboundedGridRange1Ds=list
874 _plural_types.append(
"UnboundedGridRange1Ds")
875 _value_types.append(
"UnboundedGridRangeD<1>")
877 UnboundedGridRange2Ds=list
878 _plural_types.append(
"UnboundedGridRange2Ds")
879 _value_types.append(
"UnboundedGridRangeD<2>")
881 UnboundedGridRange3Ds=list
882 _plural_types.append(
"UnboundedGridRange3Ds")
883 _value_types.append(
"UnboundedGridRangeD<3>")
885 UnboundedGridRange4Ds=list
886 _plural_types.append(
"UnboundedGridRange4Ds")
887 _value_types.append(
"UnboundedGridRangeD<4>")
889 UnboundedGridRange5Ds=list
890 _plural_types.append(
"UnboundedGridRange5Ds")
891 _value_types.append(
"UnboundedGridRangeD<5>")
893 UnboundedGridRange6Ds=list
894 _plural_types.append(
"UnboundedGridRange6Ds")
895 _value_types.append(
"UnboundedGridRangeD<6>")
897 UnboundedGridRangeKDs=list
898 _plural_types.append(
"UnboundedGridRangeKDs")
899 _value_types.append(
"UnboundedGridRangeKD")
901 UnboundedGridRangeKDs=list
902 _plural_types.append(
"UnboundedGridRangeKDs")
903 _value_types.append(
"UnboundedGridRangeD<-1>")
906 _plural_types.append(
"LinearFit2Ds")
907 _value_types.append(
"LinearFit2D")
910 _plural_types.append(
"ParabolicFit2Ds")
911 _value_types.append(
"ParabolicFit2D")
914 _plural_types.append(
"FixedXYZs")
915 _value_types.append(
"FixedXYZ")
917 class _GeometricPrimitive1D(_object):
918 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(1)> class"""
919 __swig_setmethods__ = {}
920 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitive1D, name, value)
921 __swig_getmethods__ = {}
922 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitive1D, name)
923 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
924 __repr__ = _swig_repr
925 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive1D
926 __del__ =
lambda self :
None;
927 _GeometricPrimitive1D_swigregister = _IMP_algebra._GeometricPrimitive1D_swigregister
928 _GeometricPrimitive1D_swigregister(_GeometricPrimitive1D)
930 class _GeometricPrimitive2D(_object):
931 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(2)> class"""
932 __swig_setmethods__ = {}
933 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitive2D, name, value)
934 __swig_getmethods__ = {}
935 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitive2D, name)
936 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
937 __repr__ = _swig_repr
938 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive2D
939 __del__ =
lambda self :
None;
940 _GeometricPrimitive2D_swigregister = _IMP_algebra._GeometricPrimitive2D_swigregister
941 _GeometricPrimitive2D_swigregister(_GeometricPrimitive2D)
943 class _GeometricPrimitive3D(_object):
944 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(3)> class"""
945 __swig_setmethods__ = {}
946 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitive3D, name, value)
947 __swig_getmethods__ = {}
948 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitive3D, name)
949 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
950 __repr__ = _swig_repr
951 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive3D
952 __del__ =
lambda self :
None;
953 _GeometricPrimitive3D_swigregister = _IMP_algebra._GeometricPrimitive3D_swigregister
954 _GeometricPrimitive3D_swigregister(_GeometricPrimitive3D)
956 class _GeometricPrimitive4D(_object):
957 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(4)> class"""
958 __swig_setmethods__ = {}
959 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitive4D, name, value)
960 __swig_getmethods__ = {}
961 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitive4D, name)
962 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
963 __repr__ = _swig_repr
964 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive4D
965 __del__ =
lambda self :
None;
966 _GeometricPrimitive4D_swigregister = _IMP_algebra._GeometricPrimitive4D_swigregister
967 _GeometricPrimitive4D_swigregister(_GeometricPrimitive4D)
969 class _GeometricPrimitive5D(_object):
970 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(5)> class"""
971 __swig_setmethods__ = {}
972 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitive5D, name, value)
973 __swig_getmethods__ = {}
974 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitive5D, name)
975 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
976 __repr__ = _swig_repr
977 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive5D
978 __del__ =
lambda self :
None;
979 _GeometricPrimitive5D_swigregister = _IMP_algebra._GeometricPrimitive5D_swigregister
980 _GeometricPrimitive5D_swigregister(_GeometricPrimitive5D)
982 class _GeometricPrimitive6D(_object):
983 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(6)> class"""
984 __swig_setmethods__ = {}
985 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitive6D, name, value)
986 __swig_getmethods__ = {}
987 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitive6D, name)
988 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
989 __repr__ = _swig_repr
990 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive6D
991 __del__ =
lambda self :
None;
992 _GeometricPrimitive6D_swigregister = _IMP_algebra._GeometricPrimitive6D_swigregister
993 _GeometricPrimitive6D_swigregister(_GeometricPrimitive6D)
995 class _GeometricPrimitiveKD(_object):
996 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(-1)> class"""
997 __swig_setmethods__ = {}
998 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitiveKD, name, value)
999 __swig_getmethods__ = {}
1000 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitiveKD, name)
1001 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
1002 __repr__ = _swig_repr
1003 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitiveKD
1004 __del__ =
lambda self :
None;
1005 _GeometricPrimitiveKD_swigregister = _IMP_algebra._GeometricPrimitiveKD_swigregister
1006 _GeometricPrimitiveKD_swigregister(_GeometricPrimitiveKD)
1009 _plural_types.append(
"Vector1Ds")
1010 _value_types.append(
"Vector1D")
1013 _plural_types.append(
"Vector2Ds")
1014 _value_types.append(
"Vector2D")
1017 _plural_types.append(
"Vector3Ds")
1018 _value_types.append(
"Vector3D")
1021 _plural_types.append(
"Vector4Ds")
1022 _value_types.append(
"Vector4D")
1025 _plural_types.append(
"Vector5Ds")
1026 _value_types.append(
"Vector5D")
1029 _plural_types.append(
"Vector6Ds")
1030 _value_types.append(
"Vector6D")
1033 _plural_types.append(
"Vector1Ds")
1034 _value_types.append(
"VectorD<1>")
1037 _plural_types.append(
"Vector2Ds")
1038 _value_types.append(
"VectorD<2>")
1041 _plural_types.append(
"Vector3Ds")
1042 _value_types.append(
"VectorD<3>")
1045 _plural_types.append(
"Vector4Ds")
1046 _value_types.append(
"VectorD<4>")
1049 _plural_types.append(
"Vector5Ds")
1050 _value_types.append(
"VectorD<5>")
1053 _plural_types.append(
"Vector6Ds")
1054 _value_types.append(
"VectorD<6>")
1057 _plural_types.append(
"VectorKDs")
1058 _value_types.append(
"VectorKD")
1061 _plural_types.append(
"VectorKDs")
1062 _value_types.append(
"VectorD<-1>")
1064 class _VectorBaseKD(_GeometricPrimitiveKD):
1065 """Proxy of C++ IMP::algebra::VectorBaseD<(-1)> class"""
1066 __swig_setmethods__ = {}
1067 for _s
in [_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1068 __setattr__ =
lambda self, name, value: _swig_setattr(self, _VectorBaseKD, name, value)
1069 __swig_getmethods__ = {}
1070 for _s
in [_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1071 __getattr__ =
lambda self, name: _swig_getattr(self, _VectorBaseKD, name)
1072 __repr__ = _swig_repr
1074 """__init__(IMP::algebra::VectorBaseD<(-1)> self) -> _VectorBaseKD"""
1075 this = _IMP_algebra.new__VectorBaseKD()
1076 try: self.this.append(this)
1077 except: self.this = this
1078 def get_scalar_product(self, *args):
1079 """get_scalar_product(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1080 return _IMP_algebra._VectorBaseKD_get_scalar_product(self, *args)
1082 def get_squared_magnitude(self):
1083 """get_squared_magnitude(_VectorBaseKD self) -> double"""
1084 return _IMP_algebra._VectorBaseKD_get_squared_magnitude(self)
1086 def get_magnitude(self):
1087 """get_magnitude(_VectorBaseKD self) -> double"""
1088 return _IMP_algebra._VectorBaseKD_get_magnitude(self)
1090 def __mul__(self, *args):
1091 """__mul__(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1092 return _IMP_algebra._VectorBaseKD___mul__(self, *args)
1094 def __iadd__(self, *args):
1095 """__iadd__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1096 return _IMP_algebra._VectorBaseKD___iadd__(self, *args)
1098 def __isub__(self, *args):
1099 """__isub__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1100 return _IMP_algebra._VectorBaseKD___isub__(self, *args)
1102 def __idiv__(self, *args):
1103 """__idiv__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1104 return _IMP_algebra._VectorBaseKD___idiv__(self, *args)
1106 def __imul__(self, *args):
1107 """__imul__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1108 return _IMP_algebra._VectorBaseKD___imul__(self, *args)
1110 def show(self, *args):
1112 show(_VectorBaseKD self, _ostream out, std::string delim, bool parens=True)
1113 show(_VectorBaseKD self, _ostream out, std::string delim)
1114 show(_VectorBaseKD self, _ostream out=std::cout)
1115 show(_VectorBaseKD self)
1117 return _IMP_algebra._VectorBaseKD_show(self, *args)
1119 def get_dimension(self):
1120 """get_dimension(_VectorBaseKD self) -> unsigned int"""
1121 return _IMP_algebra._VectorBaseKD_get_dimension(self)
1123 __swig_destroy__ = _IMP_algebra.delete__VectorBaseKD
1124 __del__ =
lambda self :
None;
1125 _VectorBaseKD_swigregister = _IMP_algebra._VectorBaseKD_swigregister
1126 _VectorBaseKD_swigregister(_VectorBaseKD)
1128 class _VectorBase1D(_GeometricPrimitive1D):
1129 """Proxy of C++ IMP::algebra::VectorBaseD<(1)> class"""
1130 __swig_setmethods__ = {}
1131 for _s
in [_GeometricPrimitive1D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1132 __setattr__ =
lambda self, name, value: _swig_setattr(self, _VectorBase1D, name, value)
1133 __swig_getmethods__ = {}
1134 for _s
in [_GeometricPrimitive1D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1135 __getattr__ =
lambda self, name: _swig_getattr(self, _VectorBase1D, name)
1136 __repr__ = _swig_repr
1138 """__init__(IMP::algebra::VectorBaseD<(1)> self) -> _VectorBase1D"""
1139 this = _IMP_algebra.new__VectorBase1D()
1140 try: self.this.append(this)
1141 except: self.this = this
1142 def get_scalar_product(self, *args):
1143 """get_scalar_product(_VectorBase1D self, _VectorBase1D o) -> double"""
1144 return _IMP_algebra._VectorBase1D_get_scalar_product(self, *args)
1146 def get_squared_magnitude(self):
1147 """get_squared_magnitude(_VectorBase1D self) -> double"""
1148 return _IMP_algebra._VectorBase1D_get_squared_magnitude(self)
1150 def get_magnitude(self):
1151 """get_magnitude(_VectorBase1D self) -> double"""
1152 return _IMP_algebra._VectorBase1D_get_magnitude(self)
1154 def __mul__(self, *args):
1155 """__mul__(_VectorBase1D self, _VectorBase1D o) -> double"""
1156 return _IMP_algebra._VectorBase1D___mul__(self, *args)
1158 def __iadd__(self, *args):
1159 """__iadd__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1160 return _IMP_algebra._VectorBase1D___iadd__(self, *args)
1162 def __isub__(self, *args):
1163 """__isub__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1164 return _IMP_algebra._VectorBase1D___isub__(self, *args)
1166 def __idiv__(self, *args):
1167 """__idiv__(_VectorBase1D self, double f) -> _VectorBase1D"""
1168 return _IMP_algebra._VectorBase1D___idiv__(self, *args)
1170 def __imul__(self, *args):
1171 """__imul__(_VectorBase1D self, double f) -> _VectorBase1D"""
1172 return _IMP_algebra._VectorBase1D___imul__(self, *args)
1174 def show(self, *args):
1176 show(_VectorBase1D self, _ostream out, std::string delim, bool parens=True)
1177 show(_VectorBase1D self, _ostream out, std::string delim)
1178 show(_VectorBase1D self, _ostream out=std::cout)
1179 show(_VectorBase1D self)
1181 return _IMP_algebra._VectorBase1D_show(self, *args)
1183 def get_dimension(self):
1184 """get_dimension(_VectorBase1D self) -> unsigned int"""
1185 return _IMP_algebra._VectorBase1D_get_dimension(self)
1187 __swig_destroy__ = _IMP_algebra.delete__VectorBase1D
1188 __del__ =
lambda self :
None;
1189 _VectorBase1D_swigregister = _IMP_algebra._VectorBase1D_swigregister
1190 _VectorBase1D_swigregister(_VectorBase1D)
1192 class _VectorBase2D(_GeometricPrimitive2D):
1193 """Proxy of C++ IMP::algebra::VectorBaseD<(2)> class"""
1194 __swig_setmethods__ = {}
1195 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1196 __setattr__ =
lambda self, name, value: _swig_setattr(self, _VectorBase2D, name, value)
1197 __swig_getmethods__ = {}
1198 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1199 __getattr__ =
lambda self, name: _swig_getattr(self, _VectorBase2D, name)
1200 __repr__ = _swig_repr
1202 """__init__(IMP::algebra::VectorBaseD<(2)> self) -> _VectorBase2D"""
1203 this = _IMP_algebra.new__VectorBase2D()
1204 try: self.this.append(this)
1205 except: self.this = this
1206 def get_scalar_product(self, *args):
1207 """get_scalar_product(_VectorBase2D self, _VectorBase2D o) -> double"""
1208 return _IMP_algebra._VectorBase2D_get_scalar_product(self, *args)
1210 def get_squared_magnitude(self):
1211 """get_squared_magnitude(_VectorBase2D self) -> double"""
1212 return _IMP_algebra._VectorBase2D_get_squared_magnitude(self)
1214 def get_magnitude(self):
1215 """get_magnitude(_VectorBase2D self) -> double"""
1216 return _IMP_algebra._VectorBase2D_get_magnitude(self)
1218 def __mul__(self, *args):
1219 """__mul__(_VectorBase2D self, _VectorBase2D o) -> double"""
1220 return _IMP_algebra._VectorBase2D___mul__(self, *args)
1222 def __iadd__(self, *args):
1223 """__iadd__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1224 return _IMP_algebra._VectorBase2D___iadd__(self, *args)
1226 def __isub__(self, *args):
1227 """__isub__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1228 return _IMP_algebra._VectorBase2D___isub__(self, *args)
1230 def __idiv__(self, *args):
1231 """__idiv__(_VectorBase2D self, double f) -> _VectorBase2D"""
1232 return _IMP_algebra._VectorBase2D___idiv__(self, *args)
1234 def __imul__(self, *args):
1235 """__imul__(_VectorBase2D self, double f) -> _VectorBase2D"""
1236 return _IMP_algebra._VectorBase2D___imul__(self, *args)
1238 def show(self, *args):
1240 show(_VectorBase2D self, _ostream out, std::string delim, bool parens=True)
1241 show(_VectorBase2D self, _ostream out, std::string delim)
1242 show(_VectorBase2D self, _ostream out=std::cout)
1243 show(_VectorBase2D self)
1245 return _IMP_algebra._VectorBase2D_show(self, *args)
1247 def get_dimension(self):
1248 """get_dimension(_VectorBase2D self) -> unsigned int"""
1249 return _IMP_algebra._VectorBase2D_get_dimension(self)
1251 __swig_destroy__ = _IMP_algebra.delete__VectorBase2D
1252 __del__ =
lambda self :
None;
1253 _VectorBase2D_swigregister = _IMP_algebra._VectorBase2D_swigregister
1254 _VectorBase2D_swigregister(_VectorBase2D)
1256 class _VectorBase3D(_GeometricPrimitive3D):
1257 """Proxy of C++ IMP::algebra::VectorBaseD<(3)> class"""
1258 __swig_setmethods__ = {}
1259 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1260 __setattr__ =
lambda self, name, value: _swig_setattr(self, _VectorBase3D, name, value)
1261 __swig_getmethods__ = {}
1262 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1263 __getattr__ =
lambda self, name: _swig_getattr(self, _VectorBase3D, name)
1264 __repr__ = _swig_repr
1266 """__init__(IMP::algebra::VectorBaseD<(3)> self) -> _VectorBase3D"""
1267 this = _IMP_algebra.new__VectorBase3D()
1268 try: self.this.append(this)
1269 except: self.this = this
1270 def get_scalar_product(self, *args):
1271 """get_scalar_product(_VectorBase3D self, _VectorBase3D o) -> double"""
1272 return _IMP_algebra._VectorBase3D_get_scalar_product(self, *args)
1274 def get_squared_magnitude(self):
1275 """get_squared_magnitude(_VectorBase3D self) -> double"""
1276 return _IMP_algebra._VectorBase3D_get_squared_magnitude(self)
1278 def get_magnitude(self):
1279 """get_magnitude(_VectorBase3D self) -> double"""
1280 return _IMP_algebra._VectorBase3D_get_magnitude(self)
1282 def __mul__(self, *args):
1283 """__mul__(_VectorBase3D self, _VectorBase3D o) -> double"""
1284 return _IMP_algebra._VectorBase3D___mul__(self, *args)
1286 def __iadd__(self, *args):
1287 """__iadd__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1288 return _IMP_algebra._VectorBase3D___iadd__(self, *args)
1290 def __isub__(self, *args):
1291 """__isub__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1292 return _IMP_algebra._VectorBase3D___isub__(self, *args)
1294 def __idiv__(self, *args):
1295 """__idiv__(_VectorBase3D self, double f) -> _VectorBase3D"""
1296 return _IMP_algebra._VectorBase3D___idiv__(self, *args)
1298 def __imul__(self, *args):
1299 """__imul__(_VectorBase3D self, double f) -> _VectorBase3D"""
1300 return _IMP_algebra._VectorBase3D___imul__(self, *args)
1302 def show(self, *args):
1304 show(_VectorBase3D self, _ostream out, std::string delim, bool parens=True)
1305 show(_VectorBase3D self, _ostream out, std::string delim)
1306 show(_VectorBase3D self, _ostream out=std::cout)
1307 show(_VectorBase3D self)
1309 return _IMP_algebra._VectorBase3D_show(self, *args)
1311 def get_dimension(self):
1312 """get_dimension(_VectorBase3D self) -> unsigned int"""
1313 return _IMP_algebra._VectorBase3D_get_dimension(self)
1315 __swig_destroy__ = _IMP_algebra.delete__VectorBase3D
1316 __del__ =
lambda self :
None;
1317 _VectorBase3D_swigregister = _IMP_algebra._VectorBase3D_swigregister
1318 _VectorBase3D_swigregister(_VectorBase3D)
1320 class _VectorBase4D(_GeometricPrimitive4D):
1321 """Proxy of C++ IMP::algebra::VectorBaseD<(4)> class"""
1322 __swig_setmethods__ = {}
1323 for _s
in [_GeometricPrimitive4D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1324 __setattr__ =
lambda self, name, value: _swig_setattr(self, _VectorBase4D, name, value)
1325 __swig_getmethods__ = {}
1326 for _s
in [_GeometricPrimitive4D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1327 __getattr__ =
lambda self, name: _swig_getattr(self, _VectorBase4D, name)
1328 __repr__ = _swig_repr
1330 """__init__(IMP::algebra::VectorBaseD<(4)> self) -> _VectorBase4D"""
1331 this = _IMP_algebra.new__VectorBase4D()
1332 try: self.this.append(this)
1333 except: self.this = this
1334 def get_scalar_product(self, *args):
1335 """get_scalar_product(_VectorBase4D self, _VectorBase4D o) -> double"""
1336 return _IMP_algebra._VectorBase4D_get_scalar_product(self, *args)
1338 def get_squared_magnitude(self):
1339 """get_squared_magnitude(_VectorBase4D self) -> double"""
1340 return _IMP_algebra._VectorBase4D_get_squared_magnitude(self)
1342 def get_magnitude(self):
1343 """get_magnitude(_VectorBase4D self) -> double"""
1344 return _IMP_algebra._VectorBase4D_get_magnitude(self)
1346 def __mul__(self, *args):
1347 """__mul__(_VectorBase4D self, _VectorBase4D o) -> double"""
1348 return _IMP_algebra._VectorBase4D___mul__(self, *args)
1350 def __iadd__(self, *args):
1351 """__iadd__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1352 return _IMP_algebra._VectorBase4D___iadd__(self, *args)
1354 def __isub__(self, *args):
1355 """__isub__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1356 return _IMP_algebra._VectorBase4D___isub__(self, *args)
1358 def __idiv__(self, *args):
1359 """__idiv__(_VectorBase4D self, double f) -> _VectorBase4D"""
1360 return _IMP_algebra._VectorBase4D___idiv__(self, *args)
1362 def __imul__(self, *args):
1363 """__imul__(_VectorBase4D self, double f) -> _VectorBase4D"""
1364 return _IMP_algebra._VectorBase4D___imul__(self, *args)
1366 def show(self, *args):
1368 show(_VectorBase4D self, _ostream out, std::string delim, bool parens=True)
1369 show(_VectorBase4D self, _ostream out, std::string delim)
1370 show(_VectorBase4D self, _ostream out=std::cout)
1371 show(_VectorBase4D self)
1373 return _IMP_algebra._VectorBase4D_show(self, *args)
1375 def get_dimension(self):
1376 """get_dimension(_VectorBase4D self) -> unsigned int"""
1377 return _IMP_algebra._VectorBase4D_get_dimension(self)
1379 __swig_destroy__ = _IMP_algebra.delete__VectorBase4D
1380 __del__ =
lambda self :
None;
1381 _VectorBase4D_swigregister = _IMP_algebra._VectorBase4D_swigregister
1382 _VectorBase4D_swigregister(_VectorBase4D)
1384 class _VectorBase5D(_GeometricPrimitive5D):
1385 """Proxy of C++ IMP::algebra::VectorBaseD<(5)> class"""
1386 __swig_setmethods__ = {}
1387 for _s
in [_GeometricPrimitive5D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1388 __setattr__ =
lambda self, name, value: _swig_setattr(self, _VectorBase5D, name, value)
1389 __swig_getmethods__ = {}
1390 for _s
in [_GeometricPrimitive5D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1391 __getattr__ =
lambda self, name: _swig_getattr(self, _VectorBase5D, name)
1392 __repr__ = _swig_repr
1394 """__init__(IMP::algebra::VectorBaseD<(5)> self) -> _VectorBase5D"""
1395 this = _IMP_algebra.new__VectorBase5D()
1396 try: self.this.append(this)
1397 except: self.this = this
1398 def get_scalar_product(self, *args):
1399 """get_scalar_product(_VectorBase5D self, _VectorBase5D o) -> double"""
1400 return _IMP_algebra._VectorBase5D_get_scalar_product(self, *args)
1402 def get_squared_magnitude(self):
1403 """get_squared_magnitude(_VectorBase5D self) -> double"""
1404 return _IMP_algebra._VectorBase5D_get_squared_magnitude(self)
1406 def get_magnitude(self):
1407 """get_magnitude(_VectorBase5D self) -> double"""
1408 return _IMP_algebra._VectorBase5D_get_magnitude(self)
1410 def __mul__(self, *args):
1411 """__mul__(_VectorBase5D self, _VectorBase5D o) -> double"""
1412 return _IMP_algebra._VectorBase5D___mul__(self, *args)
1414 def __iadd__(self, *args):
1415 """__iadd__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1416 return _IMP_algebra._VectorBase5D___iadd__(self, *args)
1418 def __isub__(self, *args):
1419 """__isub__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1420 return _IMP_algebra._VectorBase5D___isub__(self, *args)
1422 def __idiv__(self, *args):
1423 """__idiv__(_VectorBase5D self, double f) -> _VectorBase5D"""
1424 return _IMP_algebra._VectorBase5D___idiv__(self, *args)
1426 def __imul__(self, *args):
1427 """__imul__(_VectorBase5D self, double f) -> _VectorBase5D"""
1428 return _IMP_algebra._VectorBase5D___imul__(self, *args)
1430 def show(self, *args):
1432 show(_VectorBase5D self, _ostream out, std::string delim, bool parens=True)
1433 show(_VectorBase5D self, _ostream out, std::string delim)
1434 show(_VectorBase5D self, _ostream out=std::cout)
1435 show(_VectorBase5D self)
1437 return _IMP_algebra._VectorBase5D_show(self, *args)
1439 def get_dimension(self):
1440 """get_dimension(_VectorBase5D self) -> unsigned int"""
1441 return _IMP_algebra._VectorBase5D_get_dimension(self)
1443 __swig_destroy__ = _IMP_algebra.delete__VectorBase5D
1444 __del__ =
lambda self :
None;
1445 _VectorBase5D_swigregister = _IMP_algebra._VectorBase5D_swigregister
1446 _VectorBase5D_swigregister(_VectorBase5D)
1448 class _VectorBase6D(_GeometricPrimitive6D):
1449 """Proxy of C++ IMP::algebra::VectorBaseD<(6)> class"""
1450 __swig_setmethods__ = {}
1451 for _s
in [_GeometricPrimitive6D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1452 __setattr__ =
lambda self, name, value: _swig_setattr(self, _VectorBase6D, name, value)
1453 __swig_getmethods__ = {}
1454 for _s
in [_GeometricPrimitive6D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1455 __getattr__ =
lambda self, name: _swig_getattr(self, _VectorBase6D, name)
1456 __repr__ = _swig_repr
1458 """__init__(IMP::algebra::VectorBaseD<(6)> self) -> _VectorBase6D"""
1459 this = _IMP_algebra.new__VectorBase6D()
1460 try: self.this.append(this)
1461 except: self.this = this
1462 def get_scalar_product(self, *args):
1463 """get_scalar_product(_VectorBase6D self, _VectorBase6D o) -> double"""
1464 return _IMP_algebra._VectorBase6D_get_scalar_product(self, *args)
1466 def get_squared_magnitude(self):
1467 """get_squared_magnitude(_VectorBase6D self) -> double"""
1468 return _IMP_algebra._VectorBase6D_get_squared_magnitude(self)
1470 def get_magnitude(self):
1471 """get_magnitude(_VectorBase6D self) -> double"""
1472 return _IMP_algebra._VectorBase6D_get_magnitude(self)
1474 def __mul__(self, *args):
1475 """__mul__(_VectorBase6D self, _VectorBase6D o) -> double"""
1476 return _IMP_algebra._VectorBase6D___mul__(self, *args)
1478 def __iadd__(self, *args):
1479 """__iadd__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1480 return _IMP_algebra._VectorBase6D___iadd__(self, *args)
1482 def __isub__(self, *args):
1483 """__isub__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1484 return _IMP_algebra._VectorBase6D___isub__(self, *args)
1486 def __idiv__(self, *args):
1487 """__idiv__(_VectorBase6D self, double f) -> _VectorBase6D"""
1488 return _IMP_algebra._VectorBase6D___idiv__(self, *args)
1490 def __imul__(self, *args):
1491 """__imul__(_VectorBase6D self, double f) -> _VectorBase6D"""
1492 return _IMP_algebra._VectorBase6D___imul__(self, *args)
1494 def show(self, *args):
1496 show(_VectorBase6D self, _ostream out, std::string delim, bool parens=True)
1497 show(_VectorBase6D self, _ostream out, std::string delim)
1498 show(_VectorBase6D self, _ostream out=std::cout)
1499 show(_VectorBase6D self)
1501 return _IMP_algebra._VectorBase6D_show(self, *args)
1503 def get_dimension(self):
1504 """get_dimension(_VectorBase6D self) -> unsigned int"""
1505 return _IMP_algebra._VectorBase6D_get_dimension(self)
1507 __swig_destroy__ = _IMP_algebra.delete__VectorBase6D
1508 __del__ =
lambda self :
None;
1509 _VectorBase6D_swigregister = _IMP_algebra._VectorBase6D_swigregister
1510 _VectorBase6D_swigregister(_VectorBase6D)
1514 """get_basis_vector_kd(int D, unsigned int coordinate) -> VectorKD"""
1515 return _IMP_algebra.get_basis_vector_kd(*args)
1518 """get_zero_vector_kd(int D) -> VectorKD"""
1519 return _IMP_algebra.get_zero_vector_kd(*args)
1523 get_ones_vector_kd(unsigned int D, double v=1) -> VectorKD
1524 get_ones_vector_kd(unsigned int D) -> VectorKD
1526 return _IMP_algebra.get_ones_vector_kd(*args)
1529 """get_vector_product(Vector3D p1, Vector3D p2) -> Vector3D"""
1530 return _IMP_algebra.get_vector_product(*args)
1533 """get_orthogonal_vector(Vector3D v) -> Vector3D"""
1534 return _IMP_algebra.get_orthogonal_vector(*args)
1537 """get_centroid(IMP::algebra::Vector3Ds const & ps) -> Vector3D"""
1538 return _IMP_algebra.get_centroid(*args)
1541 """get_radius_of_gyration(IMP::algebra::Vector3Ds const & ps) -> double"""
1542 return _IMP_algebra.get_radius_of_gyration(*args)
1543 class Rotation3D(_GeometricPrimitive3D):
1544 """Proxy of C++ IMP::algebra::Rotation3D class"""
1545 __swig_setmethods__ = {}
1546 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1547 __setattr__ =
lambda self, name, value: _swig_setattr(self, Rotation3D, name, value)
1548 __swig_getmethods__ = {}
1549 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1550 __getattr__ =
lambda self, name: _swig_getattr(self, Rotation3D, name)
1551 def __init__(self, *args):
1553 __init__(IMP::algebra::Rotation3D self, Vector4D v, bool assume_normalized=False) -> Rotation3D
1554 __init__(IMP::algebra::Rotation3D self, Vector4D v) -> Rotation3D
1555 __init__(IMP::algebra::Rotation3D self) -> Rotation3D
1556 __init__(IMP::algebra::Rotation3D self, double a, double b, double c, double d) -> Rotation3D
1558 this = _IMP_algebra.new_Rotation3D(*args)
1559 try: self.this.append(this)
1560 except: self.this = this
1561 __swig_destroy__ = _IMP_algebra.delete_Rotation3D
1562 __del__ =
lambda self :
None;
1563 def get_rotated_no_cache(self, *args):
1564 """get_rotated_no_cache(Rotation3D self, Vector3D o) -> Vector3D"""
1565 return _IMP_algebra.Rotation3D_get_rotated_no_cache(self, *args)
1567 def get_rotated_one_coordinate_no_cache(self, *args):
1568 """get_rotated_one_coordinate_no_cache(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1569 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate_no_cache(self, *args)
1571 def get_rotated(self, *args):
1572 """get_rotated(Rotation3D self, Vector3D o) -> Vector3D"""
1573 return _IMP_algebra.Rotation3D_get_rotated(self, *args)
1575 def get_rotated_one_coordinate(self, *args):
1576 """get_rotated_one_coordinate(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1577 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate(self, *args)
1579 def get_rotation_matrix_row(self, *args):
1580 """get_rotation_matrix_row(Rotation3D self, int i) -> Vector3D"""
1581 return _IMP_algebra.Rotation3D_get_rotation_matrix_row(self, *args)
1583 def show(self, *args):
1585 show(Rotation3D self, _ostream out=std::cout)
1586 show(Rotation3D self)
1588 return _IMP_algebra.Rotation3D_show(self, *args)
1590 def get_inverse(self):
1591 """get_inverse(Rotation3D self) -> Rotation3D"""
1592 return _IMP_algebra.Rotation3D_get_inverse(self)
1594 def get_quaternion(self):
1595 """get_quaternion(Rotation3D self) -> Vector4D"""
1596 return _IMP_algebra.Rotation3D_get_quaternion(self)
1598 def __mul__(self, *args):
1600 __mul__(Rotation3D self, Vector3D v) -> Vector3D
1601 __mul__(Rotation3D self, Rotation3D q) -> Rotation3D
1603 return _IMP_algebra.Rotation3D___mul__(self, *args)
1605 def __div__(self, *args):
1606 """__div__(Rotation3D self, Rotation3D r) -> Rotation3D"""
1607 return _IMP_algebra.Rotation3D___div__(self, *args)
1609 def get_derivative(self, *args):
1610 """get_derivative(Rotation3D self, Vector3D o, unsigned int i) -> Vector3D"""
1611 return _IMP_algebra.Rotation3D_get_derivative(self, *args)
1613 def get_is_valid(self):
1614 """get_is_valid(Rotation3D self) -> bool"""
1615 return _IMP_algebra.Rotation3D_get_is_valid(self)
1618 """__str__(Rotation3D self) -> std::string"""
1619 return _IMP_algebra.Rotation3D___str__(self)
1622 """__repr__(Rotation3D self) -> std::string"""
1623 return _IMP_algebra.Rotation3D___repr__(self)
1625 Rotation3D_swigregister = _IMP_algebra.Rotation3D_swigregister
1626 Rotation3D_swigregister(Rotation3D)
1630 """get_identity_rotation_3d() -> Rotation3D"""
1631 return _IMP_algebra.get_identity_rotation_3d()
1634 """get_rotation_about_normalized_axis(Vector3D axis_norm, double angle) -> Rotation3D"""
1635 return _IMP_algebra.get_rotation_about_normalized_axis(*args)
1638 """get_rotation_about_axis(Vector3D axis, double angle) -> Rotation3D"""
1639 return _IMP_algebra.get_rotation_about_axis(*args)
1642 """get_rotation_taking_first_to_second(Vector3D v1, Vector3D v2) -> Rotation3D"""
1643 return _IMP_algebra.get_rotation_taking_first_to_second(*args)
1647 get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20,
1648 double m21, double m22) -> Rotation3D
1649 get_rotation_from_matrix(IMP_Eigen::Matrix3d m) -> Rotation3D
1651 return _IMP_algebra.get_rotation_from_matrix(*args)
1655 get_random_rotation_3d() -> Rotation3D
1656 get_random_rotation_3d(Rotation3D center, double distance) -> Rotation3D
1658 return _IMP_algebra.get_random_rotation_3d(*args)
1661 """get_uniform_cover_rotations_3d(unsigned int num_points) -> IMP::algebra::Rotation3Ds"""
1662 return _IMP_algebra.get_uniform_cover_rotations_3d(*args)
1665 """get_uniformly_sampled_rotations(double delta) -> IMP::algebra::Rotation3Ds"""
1666 return _IMP_algebra.get_uniformly_sampled_rotations(*args)
1669 """get_rotation_from_vector4d(Vector4D v) -> Rotation3D"""
1670 return _IMP_algebra.get_rotation_from_vector4d(*args)
1673 """get_rotation_from_fixed_xyz(double xr, double yr, double zr) -> Rotation3D"""
1674 return _IMP_algebra.get_rotation_from_fixed_xyz(*args)
1677 """get_rotation_from_fixed_zxz(double phi, double theta, double psi) -> Rotation3D"""
1678 return _IMP_algebra.get_rotation_from_fixed_zxz(*args)
1681 """get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi) -> Rotation3D"""
1682 return _IMP_algebra.get_rotation_from_fixed_zyz(*args)
1683 class FixedXYZ(_GeometricPrimitive3D):
1684 """Proxy of C++ IMP::algebra::FixedXYZ class"""
1685 __swig_setmethods__ = {}
1686 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1687 __setattr__ =
lambda self, name, value: _swig_setattr(self, FixedXYZ, name, value)
1688 __swig_getmethods__ = {}
1689 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1690 __getattr__ =
lambda self, name: _swig_getattr(self, FixedXYZ, name)
1691 def __init__(self, *args):
1693 __init__(IMP::algebra::FixedXYZ self) -> FixedXYZ
1694 __init__(IMP::algebra::FixedXYZ self, double x, double y, double z) -> FixedXYZ
1696 this = _IMP_algebra.new_FixedXYZ(*args)
1697 try: self.this.append(this)
1698 except: self.this = this
1700 """get_x(FixedXYZ self) -> double"""
1701 return _IMP_algebra.FixedXYZ_get_x(self)
1704 """get_y(FixedXYZ self) -> double"""
1705 return _IMP_algebra.FixedXYZ_get_y(self)
1708 """get_z(FixedXYZ self) -> double"""
1709 return _IMP_algebra.FixedXYZ_get_z(self)
1711 def show(self, *args):
1713 show(FixedXYZ self, _ostream out=std::cout)
1716 return _IMP_algebra.FixedXYZ_show(self, *args)
1719 """__str__(FixedXYZ self) -> std::string"""
1720 return _IMP_algebra.FixedXYZ___str__(self)
1723 """__repr__(FixedXYZ self) -> std::string"""
1724 return _IMP_algebra.FixedXYZ___repr__(self)
1726 __swig_destroy__ = _IMP_algebra.delete_FixedXYZ
1727 __del__ =
lambda self :
None;
1728 FixedXYZ_swigregister = _IMP_algebra.FixedXYZ_swigregister
1729 FixedXYZ_swigregister(FixedXYZ)
1733 """get_fixed_xyz_from_rotation(Rotation3D r) -> FixedXYZ"""
1734 return _IMP_algebra.get_fixed_xyz_from_rotation(*args)
1737 """get_interpolated(Rotation3D a, Rotation3D b, double f) -> Rotation3D"""
1738 return _IMP_algebra.get_interpolated(*args)
1741 """get_rotation_from_x_y_axes(Vector3D x, Vector3D y) -> Rotation3D"""
1742 return _IMP_algebra.get_rotation_from_x_y_axes(*args)
1745 """get_axis_and_angle(Rotation3D rot) -> _AxisAnglePair"""
1746 return _IMP_algebra.get_axis_and_angle(*args)
1749 """get_unit_bounding_box_kd(unsigned int d) -> BoundingBoxKD"""
1750 return _IMP_algebra.get_unit_bounding_box_kd(*args)
1753 """get_cube_kd(unsigned int d, double radius) -> BoundingBoxKD"""
1754 return _IMP_algebra.get_cube_kd(*args)
1757 """get_edges(BoundingBox3D arg1) -> IMP::IntPairs"""
1758 return _IMP_algebra.get_edges(*args)
1759 class Transformation3D(_GeometricPrimitive3D):
1760 """Proxy of C++ IMP::algebra::Transformation3D class"""
1761 __swig_setmethods__ = {}
1762 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1763 __setattr__ =
lambda self, name, value: _swig_setattr(self, Transformation3D, name, value)
1764 __swig_getmethods__ = {}
1765 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1766 __getattr__ =
lambda self, name: _swig_getattr(self, Transformation3D, name)
1767 def __init__(self, *args):
1769 __init__(IMP::algebra::Transformation3D self) -> Transformation3D
1770 __init__(IMP::algebra::Transformation3D self, Rotation3D r, Vector3D t=IMP::algebra::Vector3D(0, 0, 0)) -> Transformation3D
1771 __init__(IMP::algebra::Transformation3D self, Rotation3D r) -> Transformation3D
1772 __init__(IMP::algebra::Transformation3D self, Vector3D t) -> Transformation3D
1774 this = _IMP_algebra.new_Transformation3D(*args)
1775 try: self.this.append(this)
1776 except: self.this = this
1777 __swig_destroy__ = _IMP_algebra.delete_Transformation3D
1778 __del__ =
lambda self :
None;
1779 def get_transformed(self, *args):
1780 """get_transformed(Transformation3D self, Vector3D o) -> Vector3D"""
1781 return _IMP_algebra.Transformation3D_get_transformed(self, *args)
1783 def __mul__(self, *args):
1785 __mul__(Transformation3D self, Vector3D v) -> Vector3D
1786 __mul__(Transformation3D self, Transformation3D tr) -> Transformation3D
1788 return _IMP_algebra.Transformation3D___mul__(self, *args)
1790 def __div__(self, *args):
1791 """__div__(Transformation3D self, Transformation3D b) -> Transformation3D"""
1792 return _IMP_algebra.Transformation3D___div__(self, *args)
1794 def get_rotation(self):
1795 """get_rotation(Transformation3D self) -> Rotation3D"""
1796 return _IMP_algebra.Transformation3D_get_rotation(self)
1798 def get_translation(self):
1799 """get_translation(Transformation3D self) -> Vector3D"""
1800 return _IMP_algebra.Transformation3D_get_translation(self)
1802 def show(self, *args):
1804 show(Transformation3D self, _ostream out=std::cout)
1805 show(Transformation3D self)
1807 return _IMP_algebra.Transformation3D_show(self, *args)
1809 def get_inverse(self):
1810 """get_inverse(Transformation3D self) -> Transformation3D"""
1811 return _IMP_algebra.Transformation3D_get_inverse(self)
1813 def get_is_valid(self):
1814 """get_is_valid(Transformation3D self) -> bool"""
1815 return _IMP_algebra.Transformation3D_get_is_valid(self)
1818 """__str__(Transformation3D self) -> std::string"""
1819 return _IMP_algebra.Transformation3D___str__(self)
1822 """__repr__(Transformation3D self) -> std::string"""
1823 return _IMP_algebra.Transformation3D___repr__(self)
1825 Transformation3D_swigregister = _IMP_algebra.Transformation3D_swigregister
1826 Transformation3D_swigregister(Transformation3D)
1830 """get_identity_transformation_3d() -> Transformation3D"""
1831 return _IMP_algebra.get_identity_transformation_3d()
1834 """get_transformation_3d(Transformation2D t2d) -> Transformation3D"""
1835 return _IMP_algebra.get_transformation_3d(*args)
1839 get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26) -> Transformation3D
1840 get_random_local_transformation(Vector3D origin, double max_translation=5.) -> Transformation3D
1841 get_random_local_transformation(Vector3D origin) -> Transformation3D
1843 return _IMP_algebra.get_random_local_transformation(*args)
1844 class Rotation2D(_GeometricPrimitive2D):
1845 """Proxy of C++ IMP::algebra::Rotation2D class"""
1846 __swig_setmethods__ = {}
1847 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1848 __setattr__ =
lambda self, name, value: _swig_setattr(self, Rotation2D, name, value)
1849 __swig_getmethods__ = {}
1850 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1851 __getattr__ =
lambda self, name: _swig_getattr(self, Rotation2D, name)
1852 def __init__(self, *args):
1854 __init__(IMP::algebra::Rotation2D self) -> Rotation2D
1855 __init__(IMP::algebra::Rotation2D self, double angle) -> Rotation2D
1857 this = _IMP_algebra.new_Rotation2D(*args)
1858 try: self.this.append(this)
1859 except: self.this = this
1860 def get_rotated(self, *args):
1862 get_rotated(Rotation2D self, Vector2D o) -> Vector2D
1863 get_rotated(Rotation2D self, double const x, double const y) -> Vector2D
1865 return _IMP_algebra.Rotation2D_get_rotated(self, *args)
1867 def get_inverse(self):
1868 """get_inverse(Rotation2D self) -> Rotation2D"""
1869 return _IMP_algebra.Rotation2D_get_inverse(self)
1871 def set_angle(self, *args):
1872 """set_angle(Rotation2D self, double angle)"""
1873 return _IMP_algebra.Rotation2D_set_angle(self, *args)
1875 def get_angle(self):
1876 """get_angle(Rotation2D self) -> double"""
1877 return _IMP_algebra.Rotation2D_get_angle(self)
1879 def show(self, *args):
1881 show(Rotation2D self, _ostream out=std::cout)
1882 show(Rotation2D self)
1884 return _IMP_algebra.Rotation2D_show(self, *args)
1887 """__str__(Rotation2D self) -> std::string"""
1888 return _IMP_algebra.Rotation2D___str__(self)
1891 """__repr__(Rotation2D self) -> std::string"""
1892 return _IMP_algebra.Rotation2D___repr__(self)
1894 __swig_destroy__ = _IMP_algebra.delete_Rotation2D
1895 __del__ =
lambda self :
None;
1896 Rotation2D_swigregister = _IMP_algebra.Rotation2D_swigregister
1897 Rotation2D_swigregister(Rotation2D)
1901 """get_identity_rotation_2d() -> Rotation2D"""
1902 return _IMP_algebra.get_identity_rotation_2d()
1905 """get_random_rotation_2d() -> Rotation2D"""
1906 return _IMP_algebra.get_random_rotation_2d()
1909 """get_rotation_to_x_axis(Vector2D v) -> Rotation2D"""
1910 return _IMP_algebra.get_rotation_to_x_axis(*args)
1911 class Transformation2D(_GeometricPrimitive2D):
1912 """Proxy of C++ IMP::algebra::Transformation2D class"""
1913 __swig_setmethods__ = {}
1914 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1915 __setattr__ =
lambda self, name, value: _swig_setattr(self, Transformation2D, name, value)
1916 __swig_getmethods__ = {}
1917 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1918 __getattr__ =
lambda self, name: _swig_getattr(self, Transformation2D, name)
1919 def __init__(self, *args):
1921 __init__(IMP::algebra::Transformation2D self) -> Transformation2D
1922 __init__(IMP::algebra::Transformation2D self, Rotation2D r, Vector2D t=IMP::algebra::Vector2D(0.0, 0.0)) -> Transformation2D
1923 __init__(IMP::algebra::Transformation2D self, Rotation2D r) -> Transformation2D
1924 __init__(IMP::algebra::Transformation2D self, Vector2D t) -> Transformation2D
1926 this = _IMP_algebra.new_Transformation2D(*args)
1927 try: self.this.append(this)
1928 except: self.this = this
1929 __swig_destroy__ = _IMP_algebra.delete_Transformation2D
1930 __del__ =
lambda self :
None;
1931 def get_transformed(self, *args):
1932 """get_transformed(Transformation2D self, Vector2D o) -> Vector2D"""
1933 return _IMP_algebra.Transformation2D_get_transformed(self, *args)
1935 def __mul__(self, *args):
1937 __mul__(Transformation2D self, Vector2D v) -> Vector2D
1938 __mul__(Transformation2D self, Transformation2D tr) -> Transformation2D
1940 return _IMP_algebra.Transformation2D___mul__(self, *args)
1942 def __div__(self, *args):
1943 """__div__(Transformation2D self, Transformation2D b) -> Transformation2D"""
1944 return _IMP_algebra.Transformation2D___div__(self, *args)
1946 def get_rotation(self):
1947 """get_rotation(Transformation2D self) -> Rotation2D"""
1948 return _IMP_algebra.Transformation2D_get_rotation(self)
1950 def set_rotation(self, *args):
1951 """set_rotation(Transformation2D self, double angle)"""
1952 return _IMP_algebra.Transformation2D_set_rotation(self, *args)
1954 def get_translation(self):
1955 """get_translation(Transformation2D self) -> Vector2D"""
1956 return _IMP_algebra.Transformation2D_get_translation(self)
1958 def set_translation(self, *args):
1959 """set_translation(Transformation2D self, Vector2D v)"""
1960 return _IMP_algebra.Transformation2D_set_translation(self, *args)
1962 def show(self, *args):
1964 show(Transformation2D self, _ostream out=std::cout)
1965 show(Transformation2D self)
1967 return _IMP_algebra.Transformation2D_show(self, *args)
1969 def get_inverse(self):
1970 """get_inverse(Transformation2D self) -> Transformation2D"""
1971 return _IMP_algebra.Transformation2D_get_inverse(self)
1974 """__str__(Transformation2D self) -> std::string"""
1975 return _IMP_algebra.Transformation2D___str__(self)
1978 """__repr__(Transformation2D self) -> std::string"""
1979 return _IMP_algebra.Transformation2D___repr__(self)
1981 Transformation2D_swigregister = _IMP_algebra.Transformation2D_swigregister
1982 Transformation2D_swigregister(Transformation2D)
1986 """get_identity_transformation_2d() -> Transformation2D"""
1987 return _IMP_algebra.get_identity_transformation_2d()
1991 get_rotation_about_point(Vector3D point, Rotation3D rotation) -> Transformation3D
1992 get_rotation_about_point(Vector2D point, Rotation2D rotation) -> Transformation2D
1994 return _IMP_algebra.get_rotation_about_point(*args)
1998 compose(Rotation3D a, Rotation3D b) -> Rotation3D
1999 compose(Transformation3D a, Transformation3D b) -> Transformation3D
2000 compose(Rotation2D a, Rotation2D b) -> Rotation2D
2001 compose(Transformation2D a, Transformation2D b) -> Transformation2D
2003 return _IMP_algebra.compose(*args)
2005 def get_unit_sphere_kd(*args):
2006 """get_unit_sphere_kd(unsigned int d) -> SphereKD"""
2007 return _IMP_algebra.get_unit_sphere_kd(*args)
2011 get_enclosing_sphere(IMP::algebra::Sphere3Ds const & ss) -> Sphere3D
2012 get_enclosing_sphere(IMP::algebra::Vector3Ds const & ss) -> Sphere3D
2014 return _IMP_algebra.get_enclosing_sphere(*args)
2017 """get_ball_radius_from_volume_3d(double volume) -> double"""
2018 return _IMP_algebra.get_ball_radius_from_volume_3d(*args)
2021 """get_surface_area_and_volume(IMP::algebra::Sphere3Ds const & ss) -> IMP::FloatPair"""
2022 return _IMP_algebra.get_surface_area_and_volume(*args)
2025 """get_simplified_from_volume(IMP::algebra::Sphere3Ds _in, double maximum_allowed_error_angstroms) -> IMP::algebra::Sphere3Ds"""
2026 return _IMP_algebra.get_simplified_from_volume(*args)
2028 """Proxy of C++ IMP::algebra::VectorD<(1)> class"""
2029 __swig_setmethods__ = {}
2030 for _s
in [_VectorBase1D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2031 __setattr__ =
lambda self, name, value: _swig_setattr(self, Vector1D, name, value)
2032 __swig_getmethods__ = {}
2033 for _s
in [_VectorBase1D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2034 __getattr__ =
lambda self, name: _swig_getattr(self, Vector1D, name)
2036 """get_unit_vector(Vector1D self) -> Vector1D"""
2037 return _IMP_algebra.Vector1D_get_unit_vector(self)
2039 def __div__(self, *args):
2040 """__div__(Vector1D self, double s) -> Vector1D"""
2041 return _IMP_algebra.Vector1D___div__(self, *args)
2044 """__neg__(Vector1D self) -> Vector1D"""
2045 return _IMP_algebra.Vector1D___neg__(self)
2047 def __sub__(self, *args):
2048 """__sub__(Vector1D self, Vector1D o) -> Vector1D"""
2049 return _IMP_algebra.Vector1D___sub__(self, *args)
2051 def __add__(self, *args):
2052 """__add__(Vector1D self, Vector1D ret) -> Vector1D"""
2053 return _IMP_algebra.Vector1D___add__(self, *args)
2055 def __mul__(self, *args):
2057 __mul__(Vector1D self, double s) -> Vector1D
2058 __mul__(Vector1D self, Vector1D o) -> double
2060 return _IMP_algebra.Vector1D___mul__(self, *args)
2062 def __init__(self, *args):
2064 __init__(IMP::algebra::VectorD<(1)> self, IMP::Floats const & f) -> Vector1D
2065 __init__(IMP::algebra::VectorD<(1)> self) -> Vector1D
2066 __init__(IMP::algebra::VectorD<(1)> self, double x) -> Vector1D
2068 this = _IMP_algebra.new_Vector1D(*args)
2069 try: self.this.append(this)
2070 except: self.this = this
2071 def __getitem__(self, *args):
2072 """__getitem__(Vector1D self, unsigned int index) -> double"""
2073 return _IMP_algebra.Vector1D___getitem__(self, *args)
2075 def __setitem__(self, *args):
2076 """__setitem__(Vector1D self, unsigned int index, double val)"""
2077 return _IMP_algebra.Vector1D___setitem__(self, *args)
2079 def __iadd__(self, *args):
2080 _IMP_algebra.Vector1D___iadd__(self, *args)
2084 def __imul__(self, *args):
2085 _IMP_algebra.Vector1D___imul__(self, *args)
2089 def __idiv__(self, *args):
2090 _IMP_algebra.Vector1D___idiv__(self, *args)
2094 def __isub__(self, *args):
2095 _IMP_algebra.Vector1D___isub__(self, *args)
2100 """__len__(Vector1D self) -> unsigned int"""
2101 return _IMP_algebra.Vector1D___len__(self)
2103 def __rmul__(self, *args):
2104 """__rmul__(Vector1D self, double f) -> Vector1D"""
2105 return _IMP_algebra.Vector1D___rmul__(self, *args)
2108 """__str__(Vector1D self) -> std::string"""
2109 return _IMP_algebra.Vector1D___str__(self)
2112 """__repr__(Vector1D self) -> std::string"""
2113 return _IMP_algebra.Vector1D___repr__(self)
2115 def __cmp__(self, *args):
2116 """__cmp__(Vector1D self, Vector1D arg2) -> int"""
2117 return _IMP_algebra.Vector1D___cmp__(self, *args)
2119 __swig_destroy__ = _IMP_algebra.delete_Vector1D
2120 __del__ =
lambda self :
None;
2121 Vector1D_swigregister = _IMP_algebra.Vector1D_swigregister
2122 Vector1D_swigregister(Vector1D)
2125 """Proxy of C++ IMP::algebra::VectorD<(2)> class"""
2126 __swig_setmethods__ = {}
2127 for _s
in [_VectorBase2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2128 __setattr__ =
lambda self, name, value: _swig_setattr(self, Vector2D, name, value)
2129 __swig_getmethods__ = {}
2130 for _s
in [_VectorBase2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2131 __getattr__ =
lambda self, name: _swig_getattr(self, Vector2D, name)
2133 """get_unit_vector(Vector2D self) -> Vector2D"""
2134 return _IMP_algebra.Vector2D_get_unit_vector(self)
2136 def __div__(self, *args):
2137 """__div__(Vector2D self, double s) -> Vector2D"""
2138 return _IMP_algebra.Vector2D___div__(self, *args)
2141 """__neg__(Vector2D self) -> Vector2D"""
2142 return _IMP_algebra.Vector2D___neg__(self)
2144 def __sub__(self, *args):
2145 """__sub__(Vector2D self, Vector2D o) -> Vector2D"""
2146 return _IMP_algebra.Vector2D___sub__(self, *args)
2148 def __add__(self, *args):
2149 """__add__(Vector2D self, Vector2D ret) -> Vector2D"""
2150 return _IMP_algebra.Vector2D___add__(self, *args)
2152 def __mul__(self, *args):
2154 __mul__(Vector2D self, double s) -> Vector2D
2155 __mul__(Vector2D self, Vector2D o) -> double
2157 return _IMP_algebra.Vector2D___mul__(self, *args)
2159 def __init__(self, *args):
2161 __init__(IMP::algebra::VectorD<(2)> self, IMP::Floats const & f) -> Vector2D
2162 __init__(IMP::algebra::VectorD<(2)> self) -> Vector2D
2163 __init__(IMP::algebra::VectorD<(2)> self, double x, double y) -> Vector2D
2165 this = _IMP_algebra.new_Vector2D(*args)
2166 try: self.this.append(this)
2167 except: self.this = this
2168 def __getitem__(self, *args):
2169 """__getitem__(Vector2D self, unsigned int index) -> double"""
2170 return _IMP_algebra.Vector2D___getitem__(self, *args)
2172 def __setitem__(self, *args):
2173 """__setitem__(Vector2D self, unsigned int index, double val)"""
2174 return _IMP_algebra.Vector2D___setitem__(self, *args)
2176 def __iadd__(self, *args):
2177 _IMP_algebra.Vector2D___iadd__(self, *args)
2181 def __imul__(self, *args):
2182 _IMP_algebra.Vector2D___imul__(self, *args)
2186 def __idiv__(self, *args):
2187 _IMP_algebra.Vector2D___idiv__(self, *args)
2191 def __isub__(self, *args):
2192 _IMP_algebra.Vector2D___isub__(self, *args)
2197 """__len__(Vector2D self) -> unsigned int"""
2198 return _IMP_algebra.Vector2D___len__(self)
2200 def __rmul__(self, *args):
2201 """__rmul__(Vector2D self, double f) -> Vector2D"""
2202 return _IMP_algebra.Vector2D___rmul__(self, *args)
2205 """__str__(Vector2D self) -> std::string"""
2206 return _IMP_algebra.Vector2D___str__(self)
2209 """__repr__(Vector2D self) -> std::string"""
2210 return _IMP_algebra.Vector2D___repr__(self)
2212 def __cmp__(self, *args):
2213 """__cmp__(Vector2D self, Vector2D arg2) -> int"""
2214 return _IMP_algebra.Vector2D___cmp__(self, *args)
2216 __swig_destroy__ = _IMP_algebra.delete_Vector2D
2217 __del__ =
lambda self :
None;
2218 Vector2D_swigregister = _IMP_algebra.Vector2D_swigregister
2219 Vector2D_swigregister(Vector2D)
2222 """Proxy of C++ IMP::algebra::VectorD<(3)> class"""
2223 __swig_setmethods__ = {}
2224 for _s
in [_VectorBase3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2225 __setattr__ =
lambda self, name, value: _swig_setattr(self, Vector3D, name, value)
2226 __swig_getmethods__ = {}
2227 for _s
in [_VectorBase3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2228 __getattr__ =
lambda self, name: _swig_getattr(self, Vector3D, name)
2230 """get_unit_vector(Vector3D self) -> Vector3D"""
2231 return _IMP_algebra.Vector3D_get_unit_vector(self)
2233 def __div__(self, *args):
2234 """__div__(Vector3D self, double s) -> Vector3D"""
2235 return _IMP_algebra.Vector3D___div__(self, *args)
2238 """__neg__(Vector3D self) -> Vector3D"""
2239 return _IMP_algebra.Vector3D___neg__(self)
2241 def __sub__(self, *args):
2242 """__sub__(Vector3D self, Vector3D o) -> Vector3D"""
2243 return _IMP_algebra.Vector3D___sub__(self, *args)
2245 def __add__(self, *args):
2246 """__add__(Vector3D self, Vector3D ret) -> Vector3D"""
2247 return _IMP_algebra.Vector3D___add__(self, *args)
2249 def __mul__(self, *args):
2251 __mul__(Vector3D self, double s) -> Vector3D
2252 __mul__(Vector3D self, Vector3D o) -> double
2254 return _IMP_algebra.Vector3D___mul__(self, *args)
2256 def __init__(self, *args):
2258 __init__(IMP::algebra::VectorD<(3)> self, IMP::Floats const & f) -> Vector3D
2259 __init__(IMP::algebra::VectorD<(3)> self) -> Vector3D
2260 __init__(IMP::algebra::VectorD<(3)> self, double x, double y, double z) -> Vector3D
2262 this = _IMP_algebra.new_Vector3D(*args)
2263 try: self.this.append(this)
2264 except: self.this = this
2265 def __getitem__(self, *args):
2266 """__getitem__(Vector3D self, unsigned int index) -> double"""
2267 return _IMP_algebra.Vector3D___getitem__(self, *args)
2269 def __setitem__(self, *args):
2270 """__setitem__(Vector3D self, unsigned int index, double val)"""
2271 return _IMP_algebra.Vector3D___setitem__(self, *args)
2273 def __iadd__(self, *args):
2274 _IMP_algebra.Vector3D___iadd__(self, *args)
2278 def __imul__(self, *args):
2279 _IMP_algebra.Vector3D___imul__(self, *args)
2283 def __idiv__(self, *args):
2284 _IMP_algebra.Vector3D___idiv__(self, *args)
2288 def __isub__(self, *args):
2289 _IMP_algebra.Vector3D___isub__(self, *args)
2294 """__len__(Vector3D self) -> unsigned int"""
2295 return _IMP_algebra.Vector3D___len__(self)
2297 def __rmul__(self, *args):
2298 """__rmul__(Vector3D self, double f) -> Vector3D"""
2299 return _IMP_algebra.Vector3D___rmul__(self, *args)
2302 """__str__(Vector3D self) -> std::string"""
2303 return _IMP_algebra.Vector3D___str__(self)
2306 """__repr__(Vector3D self) -> std::string"""
2307 return _IMP_algebra.Vector3D___repr__(self)
2309 def __cmp__(self, *args):
2310 """__cmp__(Vector3D self, Vector3D arg2) -> int"""
2311 return _IMP_algebra.Vector3D___cmp__(self, *args)
2313 __swig_destroy__ = _IMP_algebra.delete_Vector3D
2314 __del__ =
lambda self :
None;
2315 Vector3D_swigregister = _IMP_algebra.Vector3D_swigregister
2316 Vector3D_swigregister(Vector3D)
2319 """Proxy of C++ IMP::algebra::VectorD<(4)> class"""
2320 __swig_setmethods__ = {}
2321 for _s
in [_VectorBase4D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2322 __setattr__ =
lambda self, name, value: _swig_setattr(self, Vector4D, name, value)
2323 __swig_getmethods__ = {}
2324 for _s
in [_VectorBase4D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2325 __getattr__ =
lambda self, name: _swig_getattr(self, Vector4D, name)
2327 """get_unit_vector(Vector4D self) -> Vector4D"""
2328 return _IMP_algebra.Vector4D_get_unit_vector(self)
2330 def __div__(self, *args):
2331 """__div__(Vector4D self, double s) -> Vector4D"""
2332 return _IMP_algebra.Vector4D___div__(self, *args)
2335 """__neg__(Vector4D self) -> Vector4D"""
2336 return _IMP_algebra.Vector4D___neg__(self)
2338 def __sub__(self, *args):
2339 """__sub__(Vector4D self, Vector4D o) -> Vector4D"""
2340 return _IMP_algebra.Vector4D___sub__(self, *args)
2342 def __add__(self, *args):
2343 """__add__(Vector4D self, Vector4D ret) -> Vector4D"""
2344 return _IMP_algebra.Vector4D___add__(self, *args)
2346 def __mul__(self, *args):
2348 __mul__(Vector4D self, double s) -> Vector4D
2349 __mul__(Vector4D self, Vector4D o) -> double
2351 return _IMP_algebra.Vector4D___mul__(self, *args)
2353 def __init__(self, *args):
2355 __init__(IMP::algebra::VectorD<(4)> self, IMP::Floats const & f) -> Vector4D
2356 __init__(IMP::algebra::VectorD<(4)> self) -> Vector4D
2357 __init__(IMP::algebra::VectorD<(4)> self, double x0, double x1, double x2, double x3) -> Vector4D
2359 this = _IMP_algebra.new_Vector4D(*args)
2360 try: self.this.append(this)
2361 except: self.this = this
2362 def __getitem__(self, *args):
2363 """__getitem__(Vector4D self, unsigned int index) -> double"""
2364 return _IMP_algebra.Vector4D___getitem__(self, *args)
2366 def __setitem__(self, *args):
2367 """__setitem__(Vector4D self, unsigned int index, double val)"""
2368 return _IMP_algebra.Vector4D___setitem__(self, *args)
2370 def __iadd__(self, *args):
2371 _IMP_algebra.Vector4D___iadd__(self, *args)
2375 def __imul__(self, *args):
2376 _IMP_algebra.Vector4D___imul__(self, *args)
2380 def __idiv__(self, *args):
2381 _IMP_algebra.Vector4D___idiv__(self, *args)
2385 def __isub__(self, *args):
2386 _IMP_algebra.Vector4D___isub__(self, *args)
2391 """__len__(Vector4D self) -> unsigned int"""
2392 return _IMP_algebra.Vector4D___len__(self)
2394 def __rmul__(self, *args):
2395 """__rmul__(Vector4D self, double f) -> Vector4D"""
2396 return _IMP_algebra.Vector4D___rmul__(self, *args)
2399 """__str__(Vector4D self) -> std::string"""
2400 return _IMP_algebra.Vector4D___str__(self)
2403 """__repr__(Vector4D self) -> std::string"""
2404 return _IMP_algebra.Vector4D___repr__(self)
2406 def __cmp__(self, *args):
2407 """__cmp__(Vector4D self, Vector4D arg2) -> int"""
2408 return _IMP_algebra.Vector4D___cmp__(self, *args)
2410 __swig_destroy__ = _IMP_algebra.delete_Vector4D
2411 __del__ =
lambda self :
None;
2412 Vector4D_swigregister = _IMP_algebra.Vector4D_swigregister
2413 Vector4D_swigregister(Vector4D)
2416 """Proxy of C++ IMP::algebra::VectorD<(5)> class"""
2417 __swig_setmethods__ = {}
2418 for _s
in [_VectorBase5D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2419 __setattr__ =
lambda self, name, value: _swig_setattr(self, Vector5D, name, value)
2420 __swig_getmethods__ = {}
2421 for _s
in [_VectorBase5D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2422 __getattr__ =
lambda self, name: _swig_getattr(self, Vector5D, name)
2424 """get_unit_vector(Vector5D self) -> Vector5D"""
2425 return _IMP_algebra.Vector5D_get_unit_vector(self)
2427 def __div__(self, *args):
2428 """__div__(Vector5D self, double s) -> Vector5D"""
2429 return _IMP_algebra.Vector5D___div__(self, *args)
2432 """__neg__(Vector5D self) -> Vector5D"""
2433 return _IMP_algebra.Vector5D___neg__(self)
2435 def __sub__(self, *args):
2436 """__sub__(Vector5D self, Vector5D o) -> Vector5D"""
2437 return _IMP_algebra.Vector5D___sub__(self, *args)
2439 def __add__(self, *args):
2440 """__add__(Vector5D self, Vector5D ret) -> Vector5D"""
2441 return _IMP_algebra.Vector5D___add__(self, *args)
2443 def __mul__(self, *args):
2445 __mul__(Vector5D self, double s) -> Vector5D
2446 __mul__(Vector5D self, Vector5D o) -> double
2448 return _IMP_algebra.Vector5D___mul__(self, *args)
2450 def __init__(self, *args):
2452 __init__(IMP::algebra::VectorD<(5)> self, IMP::Floats const & f) -> Vector5D
2453 __init__(IMP::algebra::VectorD<(5)> self) -> Vector5D
2454 __init__(IMP::algebra::VectorD<(5)> self, double x0, double x1, double x2, double x3, double x4) -> Vector5D
2456 this = _IMP_algebra.new_Vector5D(*args)
2457 try: self.this.append(this)
2458 except: self.this = this
2459 def __getitem__(self, *args):
2460 """__getitem__(Vector5D self, unsigned int index) -> double"""
2461 return _IMP_algebra.Vector5D___getitem__(self, *args)
2463 def __setitem__(self, *args):
2464 """__setitem__(Vector5D self, unsigned int index, double val)"""
2465 return _IMP_algebra.Vector5D___setitem__(self, *args)
2467 def __iadd__(self, *args):
2468 _IMP_algebra.Vector5D___iadd__(self, *args)
2472 def __imul__(self, *args):
2473 _IMP_algebra.Vector5D___imul__(self, *args)
2477 def __idiv__(self, *args):
2478 _IMP_algebra.Vector5D___idiv__(self, *args)
2482 def __isub__(self, *args):
2483 _IMP_algebra.Vector5D___isub__(self, *args)
2488 """__len__(Vector5D self) -> unsigned int"""
2489 return _IMP_algebra.Vector5D___len__(self)
2491 def __rmul__(self, *args):
2492 """__rmul__(Vector5D self, double f) -> Vector5D"""
2493 return _IMP_algebra.Vector5D___rmul__(self, *args)
2496 """__str__(Vector5D self) -> std::string"""
2497 return _IMP_algebra.Vector5D___str__(self)
2500 """__repr__(Vector5D self) -> std::string"""
2501 return _IMP_algebra.Vector5D___repr__(self)
2503 def __cmp__(self, *args):
2504 """__cmp__(Vector5D self, Vector5D arg2) -> int"""
2505 return _IMP_algebra.Vector5D___cmp__(self, *args)
2507 __swig_destroy__ = _IMP_algebra.delete_Vector5D
2508 __del__ =
lambda self :
None;
2509 Vector5D_swigregister = _IMP_algebra.Vector5D_swigregister
2510 Vector5D_swigregister(Vector5D)
2513 """Proxy of C++ IMP::algebra::VectorD<(6)> class"""
2514 __swig_setmethods__ = {}
2515 for _s
in [_VectorBase6D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2516 __setattr__ =
lambda self, name, value: _swig_setattr(self, Vector6D, name, value)
2517 __swig_getmethods__ = {}
2518 for _s
in [_VectorBase6D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2519 __getattr__ =
lambda self, name: _swig_getattr(self, Vector6D, name)
2521 """get_unit_vector(Vector6D self) -> Vector6D"""
2522 return _IMP_algebra.Vector6D_get_unit_vector(self)
2524 def __div__(self, *args):
2525 """__div__(Vector6D self, double s) -> Vector6D"""
2526 return _IMP_algebra.Vector6D___div__(self, *args)
2529 """__neg__(Vector6D self) -> Vector6D"""
2530 return _IMP_algebra.Vector6D___neg__(self)
2532 def __sub__(self, *args):
2533 """__sub__(Vector6D self, Vector6D o) -> Vector6D"""
2534 return _IMP_algebra.Vector6D___sub__(self, *args)
2536 def __add__(self, *args):
2537 """__add__(Vector6D self, Vector6D ret) -> Vector6D"""
2538 return _IMP_algebra.Vector6D___add__(self, *args)
2540 def __mul__(self, *args):
2542 __mul__(Vector6D self, double s) -> Vector6D
2543 __mul__(Vector6D self, Vector6D o) -> double
2545 return _IMP_algebra.Vector6D___mul__(self, *args)
2547 def __init__(self, *args):
2549 __init__(IMP::algebra::VectorD<(6)> self, IMP::Floats const & f) -> Vector6D
2550 __init__(IMP::algebra::VectorD<(6)> self) -> Vector6D
2551 __init__(IMP::algebra::VectorD<(6)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> Vector6D
2553 this = _IMP_algebra.new_Vector6D(*args)
2554 try: self.this.append(this)
2555 except: self.this = this
2556 def __getitem__(self, *args):
2557 """__getitem__(Vector6D self, unsigned int index) -> double"""
2558 return _IMP_algebra.Vector6D___getitem__(self, *args)
2560 def __setitem__(self, *args):
2561 """__setitem__(Vector6D self, unsigned int index, double val)"""
2562 return _IMP_algebra.Vector6D___setitem__(self, *args)
2564 def __iadd__(self, *args):
2565 _IMP_algebra.Vector6D___iadd__(self, *args)
2569 def __imul__(self, *args):
2570 _IMP_algebra.Vector6D___imul__(self, *args)
2574 def __idiv__(self, *args):
2575 _IMP_algebra.Vector6D___idiv__(self, *args)
2579 def __isub__(self, *args):
2580 _IMP_algebra.Vector6D___isub__(self, *args)
2585 """__len__(Vector6D self) -> unsigned int"""
2586 return _IMP_algebra.Vector6D___len__(self)
2588 def __rmul__(self, *args):
2589 """__rmul__(Vector6D self, double f) -> Vector6D"""
2590 return _IMP_algebra.Vector6D___rmul__(self, *args)
2593 """__str__(Vector6D self) -> std::string"""
2594 return _IMP_algebra.Vector6D___str__(self)
2597 """__repr__(Vector6D self) -> std::string"""
2598 return _IMP_algebra.Vector6D___repr__(self)
2600 def __cmp__(self, *args):
2601 """__cmp__(Vector6D self, Vector6D arg2) -> int"""
2602 return _IMP_algebra.Vector6D___cmp__(self, *args)
2604 __swig_destroy__ = _IMP_algebra.delete_Vector6D
2605 __del__ =
lambda self :
None;
2606 Vector6D_swigregister = _IMP_algebra.Vector6D_swigregister
2607 Vector6D_swigregister(Vector6D)
2610 """Proxy of C++ IMP::algebra::VectorD<(-1)> class"""
2611 __swig_setmethods__ = {}
2612 for _s
in [_VectorBaseKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2613 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorKD, name, value)
2614 __swig_getmethods__ = {}
2615 for _s
in [_VectorBaseKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2616 __getattr__ =
lambda self, name: _swig_getattr(self, VectorKD, name)
2618 """get_unit_vector(VectorKD self) -> VectorKD"""
2619 return _IMP_algebra.VectorKD_get_unit_vector(self)
2621 def __div__(self, *args):
2622 """__div__(VectorKD self, double s) -> VectorKD"""
2623 return _IMP_algebra.VectorKD___div__(self, *args)
2626 """__neg__(VectorKD self) -> VectorKD"""
2627 return _IMP_algebra.VectorKD___neg__(self)
2629 def __sub__(self, *args):
2630 """__sub__(VectorKD self, VectorKD o) -> VectorKD"""
2631 return _IMP_algebra.VectorKD___sub__(self, *args)
2633 def __add__(self, *args):
2634 """__add__(VectorKD self, VectorKD ret) -> VectorKD"""
2635 return _IMP_algebra.VectorKD___add__(self, *args)
2637 def __mul__(self, *args):
2639 __mul__(VectorKD self, double s) -> VectorKD
2640 __mul__(VectorKD self, VectorKD o) -> double
2642 return _IMP_algebra.VectorKD___mul__(self, *args)
2644 def __init__(self, *args):
2646 __init__(IMP::algebra::VectorD<(-1)> self, IMP::Floats const & f) -> VectorKD
2647 __init__(IMP::algebra::VectorD<(-1)> self) -> VectorKD
2648 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1=std::numeric_limits< double >::max(), double x2=std::numeric_limits< double >::max(),
2649 double x3=std::numeric_limits< double >::max(), double x4=std::numeric_limits< double >::max(),
2650 double x5=std::numeric_limits< double >::max()) -> VectorKD
2651 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1=std::numeric_limits< double >::max(), double x2=std::numeric_limits< double >::max(),
2652 double x3=std::numeric_limits< double >::max(), double x4=std::numeric_limits< double >::max()) -> VectorKD
2653 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1=std::numeric_limits< double >::max(), double x2=std::numeric_limits< double >::max(),
2654 double x3=std::numeric_limits< double >::max()) -> VectorKD
2655 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1=std::numeric_limits< double >::max(), double x2=std::numeric_limits< double >::max()) -> VectorKD
2656 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1=std::numeric_limits< double >::max()) -> VectorKD
2657 __init__(IMP::algebra::VectorD<(-1)> self, double x0) -> VectorKD
2659 this = _IMP_algebra.new_VectorKD(*args)
2660 try: self.this.append(this)
2661 except: self.this = this
2662 def __getitem__(self, *args):
2663 """__getitem__(VectorKD self, unsigned int index) -> double"""
2664 return _IMP_algebra.VectorKD___getitem__(self, *args)
2666 def __setitem__(self, *args):
2667 """__setitem__(VectorKD self, unsigned int index, double val)"""
2668 return _IMP_algebra.VectorKD___setitem__(self, *args)
2670 def __iadd__(self, *args):
2671 _IMP_algebra.VectorKD___iadd__(self, *args)
2675 def __imul__(self, *args):
2676 _IMP_algebra.VectorKD___imul__(self, *args)
2680 def __idiv__(self, *args):
2681 _IMP_algebra.VectorKD___idiv__(self, *args)
2685 def __isub__(self, *args):
2686 _IMP_algebra.VectorKD___isub__(self, *args)
2691 """__len__(VectorKD self) -> unsigned int"""
2692 return _IMP_algebra.VectorKD___len__(self)
2694 def __rmul__(self, *args):
2695 """__rmul__(VectorKD self, double f) -> VectorKD"""
2696 return _IMP_algebra.VectorKD___rmul__(self, *args)
2699 """__str__(VectorKD self) -> std::string"""
2700 return _IMP_algebra.VectorKD___str__(self)
2703 """__repr__(VectorKD self) -> std::string"""
2704 return _IMP_algebra.VectorKD___repr__(self)
2706 def __cmp__(self, *args):
2707 """__cmp__(VectorKD self, VectorKD arg2) -> int"""
2708 return _IMP_algebra.VectorKD___cmp__(self, *args)
2710 __swig_destroy__ = _IMP_algebra.delete_VectorKD
2711 __del__ =
lambda self :
None;
2712 VectorKD_swigregister = _IMP_algebra.VectorKD_swigregister
2713 VectorKD_swigregister(VectorKD)
2716 """Proxy of C++ IMP::algebra::BoundingBoxD<(1)> class"""
2717 __swig_setmethods__ = {}
2718 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox1D, name, value)
2719 __swig_getmethods__ = {}
2720 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox1D, name)
2721 def __init__(self, *args):
2723 __init__(IMP::algebra::BoundingBoxD<(1)> self) -> BoundingBox1D
2724 __init__(IMP::algebra::BoundingBoxD<(1)> self, unsigned int d) -> BoundingBox1D
2725 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D lb, Vector1D ub) -> BoundingBox1D
2726 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D v) -> BoundingBox1D
2727 __init__(IMP::algebra::BoundingBoxD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & points) -> BoundingBox1D
2729 this = _IMP_algebra.new_BoundingBox1D(*args)
2730 try: self.this.append(this)
2731 except: self.this = this
2732 def get_dimension(self):
2733 """get_dimension(BoundingBox1D self) -> unsigned int"""
2734 return _IMP_algebra.BoundingBox1D_get_dimension(self)
2736 def get_corner(self, *args):
2737 """get_corner(BoundingBox1D self, unsigned int i) -> Vector1D"""
2738 return _IMP_algebra.BoundingBox1D_get_corner(self, *args)
2740 def get_contains(self, *args):
2742 get_contains(BoundingBox1D self, Vector1D o) -> bool
2743 get_contains(BoundingBox1D self, BoundingBox1D bb) -> bool
2745 return _IMP_algebra.BoundingBox1D_get_contains(self, *args)
2747 def show(self, *args):
2749 show(BoundingBox1D self, _ostream out=std::cout)
2750 show(BoundingBox1D self)
2752 return _IMP_algebra.BoundingBox1D_show(self, *args)
2755 """__str__(BoundingBox1D self) -> std::string"""
2756 return _IMP_algebra.BoundingBox1D___str__(self)
2759 """__repr__(BoundingBox1D self) -> std::string"""
2760 return _IMP_algebra.BoundingBox1D___repr__(self)
2762 def __cmp__(self, *args):
2763 """__cmp__(BoundingBox1D self, BoundingBox1D arg2) -> int"""
2764 return _IMP_algebra.BoundingBox1D___cmp__(self, *args)
2766 def __getitem__(self, *args):
2767 """__getitem__(BoundingBox1D self, unsigned int index) -> Vector1D"""
2768 return _IMP_algebra.BoundingBox1D___getitem__(self, *args)
2770 def __iadd__(self, *args):
2771 _IMP_algebra.BoundingBox1D___iadd__(self, *args)
2775 def __add__(self, *args):
2776 """__add__(BoundingBox1D self, BoundingBox1D o)"""
2777 return _IMP_algebra.BoundingBox1D___add__(self, *args)
2780 """__len__(BoundingBox1D self) -> unsigned int"""
2781 return _IMP_algebra.BoundingBox1D___len__(self)
2783 __swig_destroy__ = _IMP_algebra.delete_BoundingBox1D
2784 __del__ =
lambda self :
None;
2785 BoundingBox1D_swigregister = _IMP_algebra.BoundingBox1D_swigregister
2786 BoundingBox1D_swigregister(BoundingBox1D)
2789 """Proxy of C++ IMP::algebra::BoundingBoxD<(2)> class"""
2790 __swig_setmethods__ = {}
2791 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox2D, name, value)
2792 __swig_getmethods__ = {}
2793 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox2D, name)
2794 def __init__(self, *args):
2796 __init__(IMP::algebra::BoundingBoxD<(2)> self) -> BoundingBox2D
2797 __init__(IMP::algebra::BoundingBoxD<(2)> self, unsigned int d) -> BoundingBox2D
2798 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D lb, Vector2D ub) -> BoundingBox2D
2799 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D v) -> BoundingBox2D
2800 __init__(IMP::algebra::BoundingBoxD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & points) -> BoundingBox2D
2802 this = _IMP_algebra.new_BoundingBox2D(*args)
2803 try: self.this.append(this)
2804 except: self.this = this
2805 def get_dimension(self):
2806 """get_dimension(BoundingBox2D self) -> unsigned int"""
2807 return _IMP_algebra.BoundingBox2D_get_dimension(self)
2809 def get_corner(self, *args):
2810 """get_corner(BoundingBox2D self, unsigned int i) -> Vector2D"""
2811 return _IMP_algebra.BoundingBox2D_get_corner(self, *args)
2813 def get_contains(self, *args):
2815 get_contains(BoundingBox2D self, Vector2D o) -> bool
2816 get_contains(BoundingBox2D self, BoundingBox2D bb) -> bool
2818 return _IMP_algebra.BoundingBox2D_get_contains(self, *args)
2820 def show(self, *args):
2822 show(BoundingBox2D self, _ostream out=std::cout)
2823 show(BoundingBox2D self)
2825 return _IMP_algebra.BoundingBox2D_show(self, *args)
2828 """__str__(BoundingBox2D self) -> std::string"""
2829 return _IMP_algebra.BoundingBox2D___str__(self)
2832 """__repr__(BoundingBox2D self) -> std::string"""
2833 return _IMP_algebra.BoundingBox2D___repr__(self)
2835 def __cmp__(self, *args):
2836 """__cmp__(BoundingBox2D self, BoundingBox2D arg2) -> int"""
2837 return _IMP_algebra.BoundingBox2D___cmp__(self, *args)
2839 def __getitem__(self, *args):
2840 """__getitem__(BoundingBox2D self, unsigned int index) -> Vector2D"""
2841 return _IMP_algebra.BoundingBox2D___getitem__(self, *args)
2843 def __iadd__(self, *args):
2844 _IMP_algebra.BoundingBox2D___iadd__(self, *args)
2848 def __add__(self, *args):
2849 """__add__(BoundingBox2D self, BoundingBox2D o)"""
2850 return _IMP_algebra.BoundingBox2D___add__(self, *args)
2853 """__len__(BoundingBox2D self) -> unsigned int"""
2854 return _IMP_algebra.BoundingBox2D___len__(self)
2856 __swig_destroy__ = _IMP_algebra.delete_BoundingBox2D
2857 __del__ =
lambda self :
None;
2858 BoundingBox2D_swigregister = _IMP_algebra.BoundingBox2D_swigregister
2859 BoundingBox2D_swigregister(BoundingBox2D)
2862 """Proxy of C++ IMP::algebra::BoundingBoxD<(3)> class"""
2863 __swig_setmethods__ = {}
2864 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox3D, name, value)
2865 __swig_getmethods__ = {}
2866 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox3D, name)
2867 def __init__(self, *args):
2869 __init__(IMP::algebra::BoundingBoxD<(3)> self) -> BoundingBox3D
2870 __init__(IMP::algebra::BoundingBoxD<(3)> self, unsigned int d) -> BoundingBox3D
2871 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D lb, Vector3D ub) -> BoundingBox3D
2872 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D v) -> BoundingBox3D
2873 __init__(IMP::algebra::BoundingBoxD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & points) -> BoundingBox3D
2875 this = _IMP_algebra.new_BoundingBox3D(*args)
2876 try: self.this.append(this)
2877 except: self.this = this
2878 def get_dimension(self):
2879 """get_dimension(BoundingBox3D self) -> unsigned int"""
2880 return _IMP_algebra.BoundingBox3D_get_dimension(self)
2882 def get_corner(self, *args):
2883 """get_corner(BoundingBox3D self, unsigned int i) -> Vector3D"""
2884 return _IMP_algebra.BoundingBox3D_get_corner(self, *args)
2886 def get_contains(self, *args):
2888 get_contains(BoundingBox3D self, Vector3D o) -> bool
2889 get_contains(BoundingBox3D self, BoundingBox3D bb) -> bool
2891 return _IMP_algebra.BoundingBox3D_get_contains(self, *args)
2893 def show(self, *args):
2895 show(BoundingBox3D self, _ostream out=std::cout)
2896 show(BoundingBox3D self)
2898 return _IMP_algebra.BoundingBox3D_show(self, *args)
2901 """__str__(BoundingBox3D self) -> std::string"""
2902 return _IMP_algebra.BoundingBox3D___str__(self)
2905 """__repr__(BoundingBox3D self) -> std::string"""
2906 return _IMP_algebra.BoundingBox3D___repr__(self)
2908 def __cmp__(self, *args):
2909 """__cmp__(BoundingBox3D self, BoundingBox3D arg2) -> int"""
2910 return _IMP_algebra.BoundingBox3D___cmp__(self, *args)
2912 def __getitem__(self, *args):
2913 """__getitem__(BoundingBox3D self, unsigned int index) -> Vector3D"""
2914 return _IMP_algebra.BoundingBox3D___getitem__(self, *args)
2916 def __iadd__(self, *args):
2917 _IMP_algebra.BoundingBox3D___iadd__(self, *args)
2921 def __add__(self, *args):
2922 """__add__(BoundingBox3D self, BoundingBox3D o)"""
2923 return _IMP_algebra.BoundingBox3D___add__(self, *args)
2926 """__len__(BoundingBox3D self) -> unsigned int"""
2927 return _IMP_algebra.BoundingBox3D___len__(self)
2929 __swig_destroy__ = _IMP_algebra.delete_BoundingBox3D
2930 __del__ =
lambda self :
None;
2931 BoundingBox3D_swigregister = _IMP_algebra.BoundingBox3D_swigregister
2932 BoundingBox3D_swigregister(BoundingBox3D)
2935 """Proxy of C++ IMP::algebra::BoundingBoxD<(4)> class"""
2936 __swig_setmethods__ = {}
2937 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox4D, name, value)
2938 __swig_getmethods__ = {}
2939 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox4D, name)
2940 def __init__(self, *args):
2942 __init__(IMP::algebra::BoundingBoxD<(4)> self) -> BoundingBox4D
2943 __init__(IMP::algebra::BoundingBoxD<(4)> self, unsigned int d) -> BoundingBox4D
2944 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D lb, Vector4D ub) -> BoundingBox4D
2945 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D v) -> BoundingBox4D
2946 __init__(IMP::algebra::BoundingBoxD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & points) -> BoundingBox4D
2948 this = _IMP_algebra.new_BoundingBox4D(*args)
2949 try: self.this.append(this)
2950 except: self.this = this
2951 def get_dimension(self):
2952 """get_dimension(BoundingBox4D self) -> unsigned int"""
2953 return _IMP_algebra.BoundingBox4D_get_dimension(self)
2955 def get_corner(self, *args):
2956 """get_corner(BoundingBox4D self, unsigned int i) -> Vector4D"""
2957 return _IMP_algebra.BoundingBox4D_get_corner(self, *args)
2959 def get_contains(self, *args):
2961 get_contains(BoundingBox4D self, Vector4D o) -> bool
2962 get_contains(BoundingBox4D self, BoundingBox4D bb) -> bool
2964 return _IMP_algebra.BoundingBox4D_get_contains(self, *args)
2966 def show(self, *args):
2968 show(BoundingBox4D self, _ostream out=std::cout)
2969 show(BoundingBox4D self)
2971 return _IMP_algebra.BoundingBox4D_show(self, *args)
2974 """__str__(BoundingBox4D self) -> std::string"""
2975 return _IMP_algebra.BoundingBox4D___str__(self)
2978 """__repr__(BoundingBox4D self) -> std::string"""
2979 return _IMP_algebra.BoundingBox4D___repr__(self)
2981 def __cmp__(self, *args):
2982 """__cmp__(BoundingBox4D self, BoundingBox4D arg2) -> int"""
2983 return _IMP_algebra.BoundingBox4D___cmp__(self, *args)
2985 def __getitem__(self, *args):
2986 """__getitem__(BoundingBox4D self, unsigned int index) -> Vector4D"""
2987 return _IMP_algebra.BoundingBox4D___getitem__(self, *args)
2989 def __iadd__(self, *args):
2990 _IMP_algebra.BoundingBox4D___iadd__(self, *args)
2994 def __add__(self, *args):
2995 """__add__(BoundingBox4D self, BoundingBox4D o)"""
2996 return _IMP_algebra.BoundingBox4D___add__(self, *args)
2999 """__len__(BoundingBox4D self) -> unsigned int"""
3000 return _IMP_algebra.BoundingBox4D___len__(self)
3002 __swig_destroy__ = _IMP_algebra.delete_BoundingBox4D
3003 __del__ =
lambda self :
None;
3004 BoundingBox4D_swigregister = _IMP_algebra.BoundingBox4D_swigregister
3005 BoundingBox4D_swigregister(BoundingBox4D)
3008 """Proxy of C++ IMP::algebra::BoundingBoxD<(5)> class"""
3009 __swig_setmethods__ = {}
3010 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox5D, name, value)
3011 __swig_getmethods__ = {}
3012 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox5D, name)
3013 def __init__(self, *args):
3015 __init__(IMP::algebra::BoundingBoxD<(5)> self) -> BoundingBox5D
3016 __init__(IMP::algebra::BoundingBoxD<(5)> self, unsigned int d) -> BoundingBox5D
3017 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D lb, Vector5D ub) -> BoundingBox5D
3018 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D v) -> BoundingBox5D
3019 __init__(IMP::algebra::BoundingBoxD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & points) -> BoundingBox5D
3021 this = _IMP_algebra.new_BoundingBox5D(*args)
3022 try: self.this.append(this)
3023 except: self.this = this
3024 def get_dimension(self):
3025 """get_dimension(BoundingBox5D self) -> unsigned int"""
3026 return _IMP_algebra.BoundingBox5D_get_dimension(self)
3028 def get_corner(self, *args):
3029 """get_corner(BoundingBox5D self, unsigned int i) -> Vector5D"""
3030 return _IMP_algebra.BoundingBox5D_get_corner(self, *args)
3032 def get_contains(self, *args):
3034 get_contains(BoundingBox5D self, Vector5D o) -> bool
3035 get_contains(BoundingBox5D self, BoundingBox5D bb) -> bool
3037 return _IMP_algebra.BoundingBox5D_get_contains(self, *args)
3039 def show(self, *args):
3041 show(BoundingBox5D self, _ostream out=std::cout)
3042 show(BoundingBox5D self)
3044 return _IMP_algebra.BoundingBox5D_show(self, *args)
3047 """__str__(BoundingBox5D self) -> std::string"""
3048 return _IMP_algebra.BoundingBox5D___str__(self)
3051 """__repr__(BoundingBox5D self) -> std::string"""
3052 return _IMP_algebra.BoundingBox5D___repr__(self)
3054 def __cmp__(self, *args):
3055 """__cmp__(BoundingBox5D self, BoundingBox5D arg2) -> int"""
3056 return _IMP_algebra.BoundingBox5D___cmp__(self, *args)
3058 def __getitem__(self, *args):
3059 """__getitem__(BoundingBox5D self, unsigned int index) -> Vector5D"""
3060 return _IMP_algebra.BoundingBox5D___getitem__(self, *args)
3062 def __iadd__(self, *args):
3063 _IMP_algebra.BoundingBox5D___iadd__(self, *args)
3067 def __add__(self, *args):
3068 """__add__(BoundingBox5D self, BoundingBox5D o)"""
3069 return _IMP_algebra.BoundingBox5D___add__(self, *args)
3072 """__len__(BoundingBox5D self) -> unsigned int"""
3073 return _IMP_algebra.BoundingBox5D___len__(self)
3075 __swig_destroy__ = _IMP_algebra.delete_BoundingBox5D
3076 __del__ =
lambda self :
None;
3077 BoundingBox5D_swigregister = _IMP_algebra.BoundingBox5D_swigregister
3078 BoundingBox5D_swigregister(BoundingBox5D)
3081 """Proxy of C++ IMP::algebra::BoundingBoxD<(6)> class"""
3082 __swig_setmethods__ = {}
3083 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox6D, name, value)
3084 __swig_getmethods__ = {}
3085 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox6D, name)
3086 def __init__(self, *args):
3088 __init__(IMP::algebra::BoundingBoxD<(6)> self) -> BoundingBox6D
3089 __init__(IMP::algebra::BoundingBoxD<(6)> self, unsigned int d) -> BoundingBox6D
3090 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D lb, Vector6D ub) -> BoundingBox6D
3091 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D v) -> BoundingBox6D
3092 __init__(IMP::algebra::BoundingBoxD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & points) -> BoundingBox6D
3094 this = _IMP_algebra.new_BoundingBox6D(*args)
3095 try: self.this.append(this)
3096 except: self.this = this
3097 def get_dimension(self):
3098 """get_dimension(BoundingBox6D self) -> unsigned int"""
3099 return _IMP_algebra.BoundingBox6D_get_dimension(self)
3101 def get_corner(self, *args):
3102 """get_corner(BoundingBox6D self, unsigned int i) -> Vector6D"""
3103 return _IMP_algebra.BoundingBox6D_get_corner(self, *args)
3105 def get_contains(self, *args):
3107 get_contains(BoundingBox6D self, Vector6D o) -> bool
3108 get_contains(BoundingBox6D self, BoundingBox6D bb) -> bool
3110 return _IMP_algebra.BoundingBox6D_get_contains(self, *args)
3112 def show(self, *args):
3114 show(BoundingBox6D self, _ostream out=std::cout)
3115 show(BoundingBox6D self)
3117 return _IMP_algebra.BoundingBox6D_show(self, *args)
3120 """__str__(BoundingBox6D self) -> std::string"""
3121 return _IMP_algebra.BoundingBox6D___str__(self)
3124 """__repr__(BoundingBox6D self) -> std::string"""
3125 return _IMP_algebra.BoundingBox6D___repr__(self)
3127 def __cmp__(self, *args):
3128 """__cmp__(BoundingBox6D self, BoundingBox6D arg2) -> int"""
3129 return _IMP_algebra.BoundingBox6D___cmp__(self, *args)
3131 def __getitem__(self, *args):
3132 """__getitem__(BoundingBox6D self, unsigned int index) -> Vector6D"""
3133 return _IMP_algebra.BoundingBox6D___getitem__(self, *args)
3135 def __iadd__(self, *args):
3136 _IMP_algebra.BoundingBox6D___iadd__(self, *args)
3140 def __add__(self, *args):
3141 """__add__(BoundingBox6D self, BoundingBox6D o)"""
3142 return _IMP_algebra.BoundingBox6D___add__(self, *args)
3145 """__len__(BoundingBox6D self) -> unsigned int"""
3146 return _IMP_algebra.BoundingBox6D___len__(self)
3148 __swig_destroy__ = _IMP_algebra.delete_BoundingBox6D
3149 __del__ =
lambda self :
None;
3150 BoundingBox6D_swigregister = _IMP_algebra.BoundingBox6D_swigregister
3151 BoundingBox6D_swigregister(BoundingBox6D)
3154 """Proxy of C++ IMP::algebra::BoundingBoxD<(-1)> class"""
3155 __swig_setmethods__ = {}
3156 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBoxKD, name, value)
3157 __swig_getmethods__ = {}
3158 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBoxKD, name)
3159 def __init__(self, *args):
3161 __init__(IMP::algebra::BoundingBoxD<(-1)> self) -> BoundingBoxKD
3162 __init__(IMP::algebra::BoundingBoxD<(-1)> self, unsigned int d) -> BoundingBoxKD
3163 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD lb, VectorKD ub) -> BoundingBoxKD
3164 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD v) -> BoundingBoxKD
3165 __init__(IMP::algebra::BoundingBoxD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & points) -> BoundingBoxKD
3167 this = _IMP_algebra.new_BoundingBoxKD(*args)
3168 try: self.this.append(this)
3169 except: self.this = this
3170 def get_dimension(self):
3171 """get_dimension(BoundingBoxKD self) -> unsigned int"""
3172 return _IMP_algebra.BoundingBoxKD_get_dimension(self)
3174 def get_corner(self, *args):
3175 """get_corner(BoundingBoxKD self, unsigned int i) -> VectorKD"""
3176 return _IMP_algebra.BoundingBoxKD_get_corner(self, *args)
3178 def get_contains(self, *args):
3180 get_contains(BoundingBoxKD self, VectorKD o) -> bool
3181 get_contains(BoundingBoxKD self, BoundingBoxKD bb) -> bool
3183 return _IMP_algebra.BoundingBoxKD_get_contains(self, *args)
3185 def show(self, *args):
3187 show(BoundingBoxKD self, _ostream out=std::cout)
3188 show(BoundingBoxKD self)
3190 return _IMP_algebra.BoundingBoxKD_show(self, *args)
3193 """__str__(BoundingBoxKD self) -> std::string"""
3194 return _IMP_algebra.BoundingBoxKD___str__(self)
3197 """__repr__(BoundingBoxKD self) -> std::string"""
3198 return _IMP_algebra.BoundingBoxKD___repr__(self)
3200 def __cmp__(self, *args):
3201 """__cmp__(BoundingBoxKD self, BoundingBoxKD arg2) -> int"""
3202 return _IMP_algebra.BoundingBoxKD___cmp__(self, *args)
3204 def __getitem__(self, *args):
3205 """__getitem__(BoundingBoxKD self, unsigned int index) -> VectorKD"""
3206 return _IMP_algebra.BoundingBoxKD___getitem__(self, *args)
3208 def __iadd__(self, *args):
3209 _IMP_algebra.BoundingBoxKD___iadd__(self, *args)
3213 def __add__(self, *args):
3214 """__add__(BoundingBoxKD self, BoundingBoxKD o)"""
3215 return _IMP_algebra.BoundingBoxKD___add__(self, *args)
3218 """__len__(BoundingBoxKD self) -> unsigned int"""
3219 return _IMP_algebra.BoundingBoxKD___len__(self)
3221 __swig_destroy__ = _IMP_algebra.delete_BoundingBoxKD
3222 __del__ =
lambda self :
None;
3223 BoundingBoxKD_swigregister = _IMP_algebra.BoundingBoxKD_swigregister
3224 BoundingBoxKD_swigregister(BoundingBoxKD)
3226 class Sphere1D(_GeometricPrimitive1D):
3227 """Proxy of C++ IMP::algebra::SphereD<(1)> class"""
3228 __swig_setmethods__ = {}
3229 for _s
in [_GeometricPrimitive1D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3230 __setattr__ =
lambda self, name, value: _swig_setattr(self, Sphere1D, name, value)
3231 __swig_getmethods__ = {}
3232 for _s
in [_GeometricPrimitive1D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3233 __getattr__ =
lambda self, name: _swig_getattr(self, Sphere1D, name)
3234 def __init__(self, *args):
3236 __init__(IMP::algebra::SphereD<(1)> self) -> Sphere1D
3237 __init__(IMP::algebra::SphereD<(1)> self, Vector1D center, double radius) -> Sphere1D
3239 this = _IMP_algebra.new_Sphere1D(*args)
3240 try: self.this.append(this)
3241 except: self.this = this
3242 def get_radius(self):
3243 """get_radius(Sphere1D self) -> double"""
3244 return _IMP_algebra.Sphere1D_get_radius(self)
3246 def get_center(self):
3247 """get_center(Sphere1D self) -> Vector1D"""
3248 return _IMP_algebra.Sphere1D_get_center(self)
3250 def get_contains(self, *args):
3252 get_contains(Sphere1D self, Sphere1D o) -> bool
3253 get_contains(Sphere1D self, Vector1D p) -> bool
3255 return _IMP_algebra.Sphere1D_get_contains(self, *args)
3257 def show(self, *args):
3259 show(Sphere1D self, _ostream out=std::cout)
3262 return _IMP_algebra.Sphere1D_show(self, *args)
3264 def get_dimension(self):
3265 """get_dimension(Sphere1D self) -> unsigned int"""
3266 return _IMP_algebra.Sphere1D_get_dimension(self)
3269 """__str__(Sphere1D self) -> std::string"""
3270 return _IMP_algebra.Sphere1D___str__(self)
3273 """__repr__(Sphere1D self) -> std::string"""
3274 return _IMP_algebra.Sphere1D___repr__(self)
3276 def __cmp__(self, *args):
3277 """__cmp__(Sphere1D self, Sphere1D arg2) -> int"""
3278 return _IMP_algebra.Sphere1D___cmp__(self, *args)
3280 __swig_destroy__ = _IMP_algebra.delete_Sphere1D
3281 __del__ =
lambda self :
None;
3282 Sphere1D_swigregister = _IMP_algebra.Sphere1D_swigregister
3283 Sphere1D_swigregister(Sphere1D)
3285 class Sphere2D(_GeometricPrimitive2D):
3286 """Proxy of C++ IMP::algebra::SphereD<(2)> class"""
3287 __swig_setmethods__ = {}
3288 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3289 __setattr__ =
lambda self, name, value: _swig_setattr(self, Sphere2D, name, value)
3290 __swig_getmethods__ = {}
3291 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3292 __getattr__ =
lambda self, name: _swig_getattr(self, Sphere2D, name)
3293 def __init__(self, *args):
3295 __init__(IMP::algebra::SphereD<(2)> self) -> Sphere2D
3296 __init__(IMP::algebra::SphereD<(2)> self, Vector2D center, double radius) -> Sphere2D
3298 this = _IMP_algebra.new_Sphere2D(*args)
3299 try: self.this.append(this)
3300 except: self.this = this
3301 def get_radius(self):
3302 """get_radius(Sphere2D self) -> double"""
3303 return _IMP_algebra.Sphere2D_get_radius(self)
3305 def get_center(self):
3306 """get_center(Sphere2D self) -> Vector2D"""
3307 return _IMP_algebra.Sphere2D_get_center(self)
3309 def get_contains(self, *args):
3311 get_contains(Sphere2D self, Sphere2D o) -> bool
3312 get_contains(Sphere2D self, Vector2D p) -> bool
3314 return _IMP_algebra.Sphere2D_get_contains(self, *args)
3316 def show(self, *args):
3318 show(Sphere2D self, _ostream out=std::cout)
3321 return _IMP_algebra.Sphere2D_show(self, *args)
3323 def get_dimension(self):
3324 """get_dimension(Sphere2D self) -> unsigned int"""
3325 return _IMP_algebra.Sphere2D_get_dimension(self)
3328 """__str__(Sphere2D self) -> std::string"""
3329 return _IMP_algebra.Sphere2D___str__(self)
3332 """__repr__(Sphere2D self) -> std::string"""
3333 return _IMP_algebra.Sphere2D___repr__(self)
3335 def __cmp__(self, *args):
3336 """__cmp__(Sphere2D self, Sphere2D arg2) -> int"""
3337 return _IMP_algebra.Sphere2D___cmp__(self, *args)
3339 __swig_destroy__ = _IMP_algebra.delete_Sphere2D
3340 __del__ =
lambda self :
None;
3341 Sphere2D_swigregister = _IMP_algebra.Sphere2D_swigregister
3342 Sphere2D_swigregister(Sphere2D)
3344 class Sphere3D(_GeometricPrimitive3D):
3345 """Proxy of C++ IMP::algebra::SphereD<(3)> class"""
3346 __swig_setmethods__ = {}
3347 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3348 __setattr__ =
lambda self, name, value: _swig_setattr(self, Sphere3D, name, value)
3349 __swig_getmethods__ = {}
3350 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3351 __getattr__ =
lambda self, name: _swig_getattr(self, Sphere3D, name)
3352 def __init__(self, *args):
3354 __init__(IMP::algebra::SphereD<(3)> self) -> Sphere3D
3355 __init__(IMP::algebra::SphereD<(3)> self, Vector3D center, double radius) -> Sphere3D
3357 this = _IMP_algebra.new_Sphere3D(*args)
3358 try: self.this.append(this)
3359 except: self.this = this
3360 def get_radius(self):
3361 """get_radius(Sphere3D self) -> double"""
3362 return _IMP_algebra.Sphere3D_get_radius(self)
3364 def get_center(self):
3365 """get_center(Sphere3D self) -> Vector3D"""
3366 return _IMP_algebra.Sphere3D_get_center(self)
3368 def get_contains(self, *args):
3370 get_contains(Sphere3D self, Sphere3D o) -> bool
3371 get_contains(Sphere3D self, Vector3D p) -> bool
3373 return _IMP_algebra.Sphere3D_get_contains(self, *args)
3375 def show(self, *args):
3377 show(Sphere3D self, _ostream out=std::cout)
3380 return _IMP_algebra.Sphere3D_show(self, *args)
3382 def get_dimension(self):
3383 """get_dimension(Sphere3D self) -> unsigned int"""
3384 return _IMP_algebra.Sphere3D_get_dimension(self)
3387 """__str__(Sphere3D self) -> std::string"""
3388 return _IMP_algebra.Sphere3D___str__(self)
3391 """__repr__(Sphere3D self) -> std::string"""
3392 return _IMP_algebra.Sphere3D___repr__(self)
3394 def __cmp__(self, *args):
3395 """__cmp__(Sphere3D self, Sphere3D arg2) -> int"""
3396 return _IMP_algebra.Sphere3D___cmp__(self, *args)
3398 __swig_destroy__ = _IMP_algebra.delete_Sphere3D
3399 __del__ =
lambda self :
None;
3400 Sphere3D_swigregister = _IMP_algebra.Sphere3D_swigregister
3401 Sphere3D_swigregister(Sphere3D)
3403 class Sphere4D(_GeometricPrimitive4D):
3404 """Proxy of C++ IMP::algebra::SphereD<(4)> class"""
3405 __swig_setmethods__ = {}
3406 for _s
in [_GeometricPrimitive4D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3407 __setattr__ =
lambda self, name, value: _swig_setattr(self, Sphere4D, name, value)
3408 __swig_getmethods__ = {}
3409 for _s
in [_GeometricPrimitive4D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3410 __getattr__ =
lambda self, name: _swig_getattr(self, Sphere4D, name)
3411 def __init__(self, *args):
3413 __init__(IMP::algebra::SphereD<(4)> self) -> Sphere4D
3414 __init__(IMP::algebra::SphereD<(4)> self, Vector4D center, double radius) -> Sphere4D
3416 this = _IMP_algebra.new_Sphere4D(*args)
3417 try: self.this.append(this)
3418 except: self.this = this
3419 def get_radius(self):
3420 """get_radius(Sphere4D self) -> double"""
3421 return _IMP_algebra.Sphere4D_get_radius(self)
3423 def get_center(self):
3424 """get_center(Sphere4D self) -> Vector4D"""
3425 return _IMP_algebra.Sphere4D_get_center(self)
3427 def get_contains(self, *args):
3429 get_contains(Sphere4D self, Sphere4D o) -> bool
3430 get_contains(Sphere4D self, Vector4D p) -> bool
3432 return _IMP_algebra.Sphere4D_get_contains(self, *args)
3434 def show(self, *args):
3436 show(Sphere4D self, _ostream out=std::cout)
3439 return _IMP_algebra.Sphere4D_show(self, *args)
3441 def get_dimension(self):
3442 """get_dimension(Sphere4D self) -> unsigned int"""
3443 return _IMP_algebra.Sphere4D_get_dimension(self)
3446 """__str__(Sphere4D self) -> std::string"""
3447 return _IMP_algebra.Sphere4D___str__(self)
3450 """__repr__(Sphere4D self) -> std::string"""
3451 return _IMP_algebra.Sphere4D___repr__(self)
3453 def __cmp__(self, *args):
3454 """__cmp__(Sphere4D self, Sphere4D arg2) -> int"""
3455 return _IMP_algebra.Sphere4D___cmp__(self, *args)
3457 __swig_destroy__ = _IMP_algebra.delete_Sphere4D
3458 __del__ =
lambda self :
None;
3459 Sphere4D_swigregister = _IMP_algebra.Sphere4D_swigregister
3460 Sphere4D_swigregister(Sphere4D)
3462 class Sphere5D(_GeometricPrimitive5D):
3463 """Proxy of C++ IMP::algebra::SphereD<(5)> class"""
3464 __swig_setmethods__ = {}
3465 for _s
in [_GeometricPrimitive5D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3466 __setattr__ =
lambda self, name, value: _swig_setattr(self, Sphere5D, name, value)
3467 __swig_getmethods__ = {}
3468 for _s
in [_GeometricPrimitive5D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3469 __getattr__ =
lambda self, name: _swig_getattr(self, Sphere5D, name)
3470 def __init__(self, *args):
3472 __init__(IMP::algebra::SphereD<(5)> self) -> Sphere5D
3473 __init__(IMP::algebra::SphereD<(5)> self, Vector5D center, double radius) -> Sphere5D
3475 this = _IMP_algebra.new_Sphere5D(*args)
3476 try: self.this.append(this)
3477 except: self.this = this
3478 def get_radius(self):
3479 """get_radius(Sphere5D self) -> double"""
3480 return _IMP_algebra.Sphere5D_get_radius(self)
3482 def get_center(self):
3483 """get_center(Sphere5D self) -> Vector5D"""
3484 return _IMP_algebra.Sphere5D_get_center(self)
3486 def get_contains(self, *args):
3488 get_contains(Sphere5D self, Sphere5D o) -> bool
3489 get_contains(Sphere5D self, Vector5D p) -> bool
3491 return _IMP_algebra.Sphere5D_get_contains(self, *args)
3493 def show(self, *args):
3495 show(Sphere5D self, _ostream out=std::cout)
3498 return _IMP_algebra.Sphere5D_show(self, *args)
3500 def get_dimension(self):
3501 """get_dimension(Sphere5D self) -> unsigned int"""
3502 return _IMP_algebra.Sphere5D_get_dimension(self)
3505 """__str__(Sphere5D self) -> std::string"""
3506 return _IMP_algebra.Sphere5D___str__(self)
3509 """__repr__(Sphere5D self) -> std::string"""
3510 return _IMP_algebra.Sphere5D___repr__(self)
3512 def __cmp__(self, *args):
3513 """__cmp__(Sphere5D self, Sphere5D arg2) -> int"""
3514 return _IMP_algebra.Sphere5D___cmp__(self, *args)
3516 __swig_destroy__ = _IMP_algebra.delete_Sphere5D
3517 __del__ =
lambda self :
None;
3518 Sphere5D_swigregister = _IMP_algebra.Sphere5D_swigregister
3519 Sphere5D_swigregister(Sphere5D)
3521 class Sphere6D(_GeometricPrimitive6D):
3522 """Proxy of C++ IMP::algebra::SphereD<(6)> class"""
3523 __swig_setmethods__ = {}
3524 for _s
in [_GeometricPrimitive6D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3525 __setattr__ =
lambda self, name, value: _swig_setattr(self, Sphere6D, name, value)
3526 __swig_getmethods__ = {}
3527 for _s
in [_GeometricPrimitive6D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3528 __getattr__ =
lambda self, name: _swig_getattr(self, Sphere6D, name)
3529 def __init__(self, *args):
3531 __init__(IMP::algebra::SphereD<(6)> self) -> Sphere6D
3532 __init__(IMP::algebra::SphereD<(6)> self, Vector6D center, double radius) -> Sphere6D
3534 this = _IMP_algebra.new_Sphere6D(*args)
3535 try: self.this.append(this)
3536 except: self.this = this
3537 def get_radius(self):
3538 """get_radius(Sphere6D self) -> double"""
3539 return _IMP_algebra.Sphere6D_get_radius(self)
3541 def get_center(self):
3542 """get_center(Sphere6D self) -> Vector6D"""
3543 return _IMP_algebra.Sphere6D_get_center(self)
3545 def get_contains(self, *args):
3547 get_contains(Sphere6D self, Sphere6D o) -> bool
3548 get_contains(Sphere6D self, Vector6D p) -> bool
3550 return _IMP_algebra.Sphere6D_get_contains(self, *args)
3552 def show(self, *args):
3554 show(Sphere6D self, _ostream out=std::cout)
3557 return _IMP_algebra.Sphere6D_show(self, *args)
3559 def get_dimension(self):
3560 """get_dimension(Sphere6D self) -> unsigned int"""
3561 return _IMP_algebra.Sphere6D_get_dimension(self)
3564 """__str__(Sphere6D self) -> std::string"""
3565 return _IMP_algebra.Sphere6D___str__(self)
3568 """__repr__(Sphere6D self) -> std::string"""
3569 return _IMP_algebra.Sphere6D___repr__(self)
3571 def __cmp__(self, *args):
3572 """__cmp__(Sphere6D self, Sphere6D arg2) -> int"""
3573 return _IMP_algebra.Sphere6D___cmp__(self, *args)
3575 __swig_destroy__ = _IMP_algebra.delete_Sphere6D
3576 __del__ =
lambda self :
None;
3577 Sphere6D_swigregister = _IMP_algebra.Sphere6D_swigregister
3578 Sphere6D_swigregister(Sphere6D)
3580 class SphereKD(_GeometricPrimitiveKD):
3581 """Proxy of C++ IMP::algebra::SphereD<(-1)> class"""
3582 __swig_setmethods__ = {}
3583 for _s
in [_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3584 __setattr__ =
lambda self, name, value: _swig_setattr(self, SphereKD, name, value)
3585 __swig_getmethods__ = {}
3586 for _s
in [_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3587 __getattr__ =
lambda self, name: _swig_getattr(self, SphereKD, name)
3588 def __init__(self, *args):
3590 __init__(IMP::algebra::SphereD<(-1)> self) -> SphereKD
3591 __init__(IMP::algebra::SphereD<(-1)> self, VectorKD center, double radius) -> SphereKD
3593 this = _IMP_algebra.new_SphereKD(*args)
3594 try: self.this.append(this)
3595 except: self.this = this
3596 def get_radius(self):
3597 """get_radius(SphereKD self) -> double"""
3598 return _IMP_algebra.SphereKD_get_radius(self)
3600 def get_center(self):
3601 """get_center(SphereKD self) -> VectorKD"""
3602 return _IMP_algebra.SphereKD_get_center(self)
3604 def get_contains(self, *args):
3606 get_contains(SphereKD self, SphereKD o) -> bool
3607 get_contains(SphereKD self, VectorKD p) -> bool
3609 return _IMP_algebra.SphereKD_get_contains(self, *args)
3611 def show(self, *args):
3613 show(SphereKD self, _ostream out=std::cout)
3616 return _IMP_algebra.SphereKD_show(self, *args)
3618 def get_dimension(self):
3619 """get_dimension(SphereKD self) -> unsigned int"""
3620 return _IMP_algebra.SphereKD_get_dimension(self)
3623 """__str__(SphereKD self) -> std::string"""
3624 return _IMP_algebra.SphereKD___str__(self)
3627 """__repr__(SphereKD self) -> std::string"""
3628 return _IMP_algebra.SphereKD___repr__(self)
3630 def __cmp__(self, *args):
3631 """__cmp__(SphereKD self, SphereKD arg2) -> int"""
3632 return _IMP_algebra.SphereKD___cmp__(self, *args)
3634 __swig_destroy__ = _IMP_algebra.delete_SphereKD
3635 __del__ =
lambda self :
None;
3636 SphereKD_swigregister = _IMP_algebra.SphereKD_swigregister
3637 SphereKD_swigregister(SphereKD)
3639 class ReferenceFrame3D(_object):
3640 """Proxy of C++ IMP::algebra::ReferenceFrame3D class"""
3641 __swig_setmethods__ = {}
3642 __setattr__ =
lambda self, name, value: _swig_setattr(self, ReferenceFrame3D, name, value)
3643 __swig_getmethods__ = {}
3644 __getattr__ =
lambda self, name: _swig_getattr(self, ReferenceFrame3D, name)
3645 def __init__(self, *args):
3647 __init__(IMP::algebra::ReferenceFrame3D self) -> ReferenceFrame3D
3648 __init__(IMP::algebra::ReferenceFrame3D self, Transformation3D tr) -> ReferenceFrame3D
3650 this = _IMP_algebra.new_ReferenceFrame3D(*args)
3651 try: self.this.append(this)
3652 except: self.this = this
3653 __swig_destroy__ = _IMP_algebra.delete_ReferenceFrame3D
3654 __del__ =
lambda self :
None;
3655 def get_transformation_to(self):
3656 """get_transformation_to(ReferenceFrame3D self) -> Transformation3D"""
3657 return _IMP_algebra.ReferenceFrame3D_get_transformation_to(self)
3659 def get_transformation_from(self):
3660 """get_transformation_from(ReferenceFrame3D self) -> Transformation3D"""
3661 return _IMP_algebra.ReferenceFrame3D_get_transformation_from(self)
3663 def get_global_coordinates(self, *args):
3664 """get_global_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
3665 return _IMP_algebra.ReferenceFrame3D_get_global_coordinates(self, *args)
3667 def get_local_coordinates(self, *args):
3668 """get_local_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
3669 return _IMP_algebra.ReferenceFrame3D_get_local_coordinates(self, *args)
3671 def get_global_reference_frame(self, *args):
3672 """get_global_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
3673 return _IMP_algebra.ReferenceFrame3D_get_global_reference_frame(self, *args)
3675 def get_local_reference_frame(self, *args):
3676 """get_local_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
3677 return _IMP_algebra.ReferenceFrame3D_get_local_reference_frame(self, *args)
3679 def show(self, *args):
3681 show(ReferenceFrame3D self, _ostream out=std::cout)
3682 show(ReferenceFrame3D self)
3684 return _IMP_algebra.ReferenceFrame3D_show(self, *args)
3687 """__str__(ReferenceFrame3D self) -> std::string"""
3688 return _IMP_algebra.ReferenceFrame3D___str__(self)
3691 """__repr__(ReferenceFrame3D self) -> std::string"""
3692 return _IMP_algebra.ReferenceFrame3D___repr__(self)
3694 ReferenceFrame3D_swigregister = _IMP_algebra.ReferenceFrame3D_swigregister
3695 ReferenceFrame3D_swigregister(ReferenceFrame3D)
3698 def get_transformed(*args):
3700 get_transformed(BoundingBox3D bb, Transformation3D tr) -> BoundingBox3D
3701 get_transformed(ReferenceFrame3D rf, Transformation3D tr) -> ReferenceFrame3D
3703 return _IMP_algebra.get_transformed(*args)
3705 def get_transformation_from_first_to_second(*args):
3706 """get_transformation_from_first_to_second(ReferenceFrame3D a, ReferenceFrame3D b) -> Transformation3D"""
3707 return _IMP_algebra.get_transformation_from_first_to_second(*args)
3708 class SphericalVector3D(_GeometricPrimitive3D):
3709 """Proxy of C++ IMP::algebra::SphericalVector3D class"""
3710 __swig_setmethods__ = {}
3711 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3712 __setattr__ =
lambda self, name, value: _swig_setattr(self, SphericalVector3D, name, value)
3713 __swig_getmethods__ = {}
3714 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3715 __getattr__ =
lambda self, name: _swig_getattr(self, SphericalVector3D, name)
3716 def __init__(self, *args):
3718 __init__(IMP::algebra::SphericalVector3D self) -> SphericalVector3D
3719 __init__(IMP::algebra::SphericalVector3D self, Vector3D v) -> SphericalVector3D
3720 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi, bool apply_check=True) -> SphericalVector3D
3721 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi) -> SphericalVector3D
3723 this = _IMP_algebra.new_SphericalVector3D(*args)
3724 try: self.this.append(this)
3725 except: self.this = this
3726 def get_cartesian_coordinates(self):
3727 """get_cartesian_coordinates(SphericalVector3D self) -> Vector3D"""
3728 return _IMP_algebra.SphericalVector3D_get_cartesian_coordinates(self)
3730 def show(self, *args):
3732 show(SphericalVector3D self, _ostream out=std::cout)
3733 show(SphericalVector3D self)
3735 return _IMP_algebra.SphericalVector3D_show(self, *args)
3738 """__str__(SphericalVector3D self) -> std::string"""
3739 return _IMP_algebra.SphericalVector3D___str__(self)
3742 """__repr__(SphericalVector3D self) -> std::string"""
3743 return _IMP_algebra.SphericalVector3D___repr__(self)
3745 def __getitem__(self, *args):
3746 """__getitem__(SphericalVector3D self, unsigned int index) -> double"""
3747 return _IMP_algebra.SphericalVector3D___getitem__(self, *args)
3749 def __setitem__(self, *args):
3750 """__setitem__(SphericalVector3D self, unsigned int index, double val)"""
3751 return _IMP_algebra.SphericalVector3D___setitem__(self, *args)
3753 __swig_destroy__ = _IMP_algebra.delete_SphericalVector3D
3754 __del__ =
lambda self :
None;
3755 SphericalVector3D_swigregister = _IMP_algebra.SphericalVector3D_swigregister
3756 SphericalVector3D_swigregister(SphericalVector3D)
3760 """get_alignments_from_first_to_second(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2) -> IMP::algebra::Transformation3Ds"""
3761 return _IMP_algebra.get_alignments_from_first_to_second(*args)
3762 class Segment3D(_GeometricPrimitive3D):
3763 """Proxy of C++ IMP::algebra::Segment3D class"""
3764 __swig_setmethods__ = {}
3765 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3766 __setattr__ =
lambda self, name, value: _swig_setattr(self, Segment3D, name, value)
3767 __swig_getmethods__ = {}
3768 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3769 __getattr__ =
lambda self, name: _swig_getattr(self, Segment3D, name)
3770 def __init__(self, *args):
3772 __init__(IMP::algebra::Segment3D self) -> Segment3D
3773 __init__(IMP::algebra::Segment3D self, Vector3D start, Vector3D end) -> Segment3D
3775 this = _IMP_algebra.new_Segment3D(*args)
3776 try: self.this.append(this)
3777 except: self.this = this
3778 def get_point(self, *args):
3779 """get_point(Segment3D self, unsigned int i) -> Vector3D"""
3780 return _IMP_algebra.Segment3D_get_point(self, *args)
3782 def get_middle_point(self):
3783 """get_middle_point(Segment3D self) -> Vector3D"""
3784 return _IMP_algebra.Segment3D_get_middle_point(self)
3786 def get_direction(self):
3787 """get_direction(Segment3D self) -> Vector3D"""
3788 return _IMP_algebra.Segment3D_get_direction(self)
3790 def get_length(self):
3791 """get_length(Segment3D self) -> double"""
3792 return _IMP_algebra.Segment3D_get_length(self)
3794 def show(self, *args):
3796 show(Segment3D self, _ostream out=std::cout)
3797 show(Segment3D self)
3799 return _IMP_algebra.Segment3D_show(self, *args)
3802 """__str__(Segment3D self) -> std::string"""
3803 return _IMP_algebra.Segment3D___str__(self)
3806 """__repr__(Segment3D self) -> std::string"""
3807 return _IMP_algebra.Segment3D___repr__(self)
3809 __swig_destroy__ = _IMP_algebra.delete_Segment3D
3810 __del__ =
lambda self :
None;
3811 Segment3D_swigregister = _IMP_algebra.Segment3D_swigregister
3812 Segment3D_swigregister(Segment3D)
3816 """get_segment_3d_geometry(Segment3D g) -> Segment3D"""
3817 return _IMP_algebra.get_segment_3d_geometry(*args)
3820 """get_relative_projection_on_segment(Segment3D s, Vector3D p) -> double"""
3821 return _IMP_algebra.get_relative_projection_on_segment(*args)
3822 class Triangle3D(_GeometricPrimitive3D):
3823 """Proxy of C++ IMP::algebra::Triangle3D class"""
3824 __swig_setmethods__ = {}
3825 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3826 __setattr__ =
lambda self, name, value: _swig_setattr(self, Triangle3D, name, value)
3827 __swig_getmethods__ = {}
3828 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3829 __getattr__ =
lambda self, name: _swig_getattr(self, Triangle3D, name)
3830 def __init__(self, *args):
3832 __init__(IMP::algebra::Triangle3D self) -> Triangle3D
3833 __init__(IMP::algebra::Triangle3D self, Vector3D p1, Vector3D p2, Vector3D p3) -> Triangle3D
3835 this = _IMP_algebra.new_Triangle3D(*args)
3836 try: self.this.append(this)
3837 except: self.this = this
3838 def get_point(self, *args):
3839 """get_point(Triangle3D self, unsigned int i) -> Vector3D"""
3840 return _IMP_algebra.Triangle3D_get_point(self, *args)
3842 def show(self, *args):
3844 show(Triangle3D self, _ostream out=std::cout)
3845 show(Triangle3D self)
3847 return _IMP_algebra.Triangle3D_show(self, *args)
3849 def get_edge_lengths(self):
3850 """get_edge_lengths(Triangle3D self) -> IMP::Floats"""
3851 return _IMP_algebra.Triangle3D_get_edge_lengths(self)
3854 """__str__(Triangle3D self) -> std::string"""
3855 return _IMP_algebra.Triangle3D___str__(self)
3858 """__repr__(Triangle3D self) -> std::string"""
3859 return _IMP_algebra.Triangle3D___repr__(self)
3861 __swig_destroy__ = _IMP_algebra.delete_Triangle3D
3862 __del__ =
lambda self :
None;
3863 Triangle3D_swigregister = _IMP_algebra.Triangle3D_swigregister
3864 Triangle3D_swigregister(Triangle3D)
3868 """get_largest_triangle(IMP::algebra::Vector3Ds const & points) -> Triangle3D"""
3869 return _IMP_algebra.get_largest_triangle(*args)
3872 """get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri) -> Transformation3D"""
3873 return _IMP_algebra.get_transformation_from_first_triangle_to_second(*args)
3876 """get_are_colinear(Vector3D p1, Vector3D p2, Vector3D p3) -> bool"""
3877 return _IMP_algebra.get_are_colinear(*args)
3878 class LinearFit2D(_GeometricPrimitive2D):
3879 """Proxy of C++ IMP::algebra::LinearFit2D class"""
3880 __swig_setmethods__ = {}
3881 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3882 __setattr__ =
lambda self, name, value: _swig_setattr(self, LinearFit2D, name, value)
3883 __swig_getmethods__ = {}
3884 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3885 __getattr__ =
lambda self, name: _swig_getattr(self, LinearFit2D, name)
3886 def __init__(self, *args):
3888 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data, IMP::Floats const & error_bars=IMP::Floats()) -> LinearFit2D
3889 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data) -> LinearFit2D
3891 this = _IMP_algebra.new_LinearFit2D(*args)
3892 try: self.this.append(this)
3893 except: self.this = this
3894 def get_fit_error(self):
3895 """get_fit_error(LinearFit2D self) -> double"""
3896 return _IMP_algebra.LinearFit2D_get_fit_error(self)
3899 """get_a(LinearFit2D self) -> double"""
3900 return _IMP_algebra.LinearFit2D_get_a(self)
3903 """get_b(LinearFit2D self) -> double"""
3904 return _IMP_algebra.LinearFit2D_get_b(self)
3906 def show(self, *args):
3908 show(LinearFit2D self, _ostream out=std::cout)
3909 show(LinearFit2D self)
3911 return _IMP_algebra.LinearFit2D_show(self, *args)
3914 """__str__(LinearFit2D self) -> std::string"""
3915 return _IMP_algebra.LinearFit2D___str__(self)
3918 """__repr__(LinearFit2D self) -> std::string"""
3919 return _IMP_algebra.LinearFit2D___repr__(self)
3921 __swig_destroy__ = _IMP_algebra.delete_LinearFit2D
3922 __del__ =
lambda self :
None;
3923 LinearFit2D_swigregister = _IMP_algebra.LinearFit2D_swigregister
3924 LinearFit2D_swigregister(LinearFit2D)
3926 class ParabolicFit2D(_GeometricPrimitive2D):
3927 """Proxy of C++ IMP::algebra::ParabolicFit2D class"""
3928 __swig_setmethods__ = {}
3929 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3930 __setattr__ =
lambda self, name, value: _swig_setattr(self, ParabolicFit2D, name, value)
3931 __swig_getmethods__ = {}
3932 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3933 __getattr__ =
lambda self, name: _swig_getattr(self, ParabolicFit2D, name)
3934 def __init__(self, *args):
3935 """__init__(IMP::algebra::ParabolicFit2D self, IMP::algebra::Vector2Ds const & data) -> ParabolicFit2D"""
3936 this = _IMP_algebra.new_ParabolicFit2D(*args)
3937 try: self.this.append(this)
3938 except: self.this = this
3939 def get_fit_error(self):
3940 """get_fit_error(ParabolicFit2D self) -> double"""
3941 return _IMP_algebra.ParabolicFit2D_get_fit_error(self)
3944 """get_a(ParabolicFit2D self) -> double"""
3945 return _IMP_algebra.ParabolicFit2D_get_a(self)
3948 """get_b(ParabolicFit2D self) -> double"""
3949 return _IMP_algebra.ParabolicFit2D_get_b(self)
3952 """get_c(ParabolicFit2D self) -> double"""
3953 return _IMP_algebra.ParabolicFit2D_get_c(self)
3955 def show(self, *args):
3957 show(ParabolicFit2D self, _ostream out=std::cout)
3958 show(ParabolicFit2D self)
3960 return _IMP_algebra.ParabolicFit2D_show(self, *args)
3963 """__str__(ParabolicFit2D self) -> std::string"""
3964 return _IMP_algebra.ParabolicFit2D___str__(self)
3967 """__repr__(ParabolicFit2D self) -> std::string"""
3968 return _IMP_algebra.ParabolicFit2D___repr__(self)
3970 __swig_destroy__ = _IMP_algebra.delete_ParabolicFit2D
3971 __del__ =
lambda self :
None;
3972 ParabolicFit2D_swigregister = _IMP_algebra.ParabolicFit2D_swigregister
3973 ParabolicFit2D_swigregister(ParabolicFit2D)
3975 class Plane3D(_GeometricPrimitive3D):
3976 """Proxy of C++ IMP::algebra::Plane3D class"""
3977 __swig_setmethods__ = {}
3978 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3979 __setattr__ =
lambda self, name, value: _swig_setattr(self, Plane3D, name, value)
3980 __swig_getmethods__ = {}
3981 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3982 __getattr__ =
lambda self, name: _swig_getattr(self, Plane3D, name)
3983 def __init__(self, *args):
3985 __init__(IMP::algebra::Plane3D self) -> Plane3D
3986 __init__(IMP::algebra::Plane3D self, Vector3D point_on_plane, Vector3D normal_to_plane) -> Plane3D
3987 __init__(IMP::algebra::Plane3D self, double distance_to_plane, Vector3D normal_to_plane) -> Plane3D
3989 this = _IMP_algebra.new_Plane3D(*args)
3990 try: self.this.append(this)
3991 except: self.this = this
3992 def get_point_on_plane(self):
3993 """get_point_on_plane(Plane3D self) -> Vector3D"""
3994 return _IMP_algebra.Plane3D_get_point_on_plane(self)
3996 def get_normal(self):
3997 """get_normal(Plane3D self) -> Vector3D"""
3998 return _IMP_algebra.Plane3D_get_normal(self)
4000 def get_projected(self, *args):
4001 """get_projected(Plane3D self, Vector3D p) -> Vector3D"""
4002 return _IMP_algebra.Plane3D_get_projected(self, *args)
4005 """get_projection(Plane3D self, Vector3D p) -> Vector3D"""
4006 return _IMP_algebra.Plane3D_get_projection(self, *args)
4008 def get_is_above(self, *args):
4009 """get_is_above(Plane3D self, Vector3D p) -> bool"""
4010 return _IMP_algebra.Plane3D_get_is_above(self, *args)
4012 def get_is_below(self, *args):
4013 """get_is_below(Plane3D self, Vector3D p) -> bool"""
4014 return _IMP_algebra.Plane3D_get_is_below(self, *args)
4016 def get_height(self, *args):
4017 """get_height(Plane3D self, Vector3D p) -> double"""
4018 return _IMP_algebra.Plane3D_get_height(self, *args)
4020 def show(self, *args):
4022 show(Plane3D self, _ostream out=std::cout)
4025 return _IMP_algebra.Plane3D_show(self, *args)
4027 def get_opposite(self):
4028 """get_opposite(Plane3D self) -> Plane3D"""
4029 return _IMP_algebra.Plane3D_get_opposite(self)
4031 def get_distance_from_origin(self):
4032 """get_distance_from_origin(Plane3D self) -> double"""
4033 return _IMP_algebra.Plane3D_get_distance_from_origin(self)
4036 """__str__(Plane3D self) -> std::string"""
4037 return _IMP_algebra.Plane3D___str__(self)
4040 """__repr__(Plane3D self) -> std::string"""
4041 return _IMP_algebra.Plane3D___repr__(self)
4043 __swig_destroy__ = _IMP_algebra.delete_Plane3D
4044 __del__ =
lambda self :
None;
4045 Plane3D_swigregister = _IMP_algebra.Plane3D_swigregister
4046 Plane3D_swigregister(Plane3D)
4050 """get_reflected(Plane3D pln, Vector3D p) -> Vector3D"""
4051 return _IMP_algebra.get_reflected(*args)
4054 """get_plane_3d_geometry(Plane3D g) -> Plane3D"""
4055 return _IMP_algebra.get_plane_3d_geometry(*args)
4056 class Reflection3D(_GeometricPrimitive3D):
4057 """Proxy of C++ IMP::algebra::Reflection3D class"""
4058 __swig_setmethods__ = {}
4059 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4060 __setattr__ =
lambda self, name, value: _swig_setattr(self, Reflection3D, name, value)
4061 __swig_getmethods__ = {}
4062 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4063 __getattr__ =
lambda self, name: _swig_getattr(self, Reflection3D, name)
4064 def __init__(self, *args):
4066 __init__(IMP::algebra::Reflection3D self) -> Reflection3D
4067 __init__(IMP::algebra::Reflection3D self, Plane3D pl) -> Reflection3D
4069 this = _IMP_algebra.new_Reflection3D(*args)
4070 try: self.this.append(this)
4071 except: self.this = this
4073 """get_reflected(Reflection3D self, Vector3D v) -> Vector3D"""
4074 return _IMP_algebra.Reflection3D_get_reflected(self, *args)
4076 def show(self, *args):
4078 show(Reflection3D self, _ostream out=std::cout)
4079 show(Reflection3D self)
4081 return _IMP_algebra.Reflection3D_show(self, *args)
4084 """__str__(Reflection3D self) -> std::string"""
4085 return _IMP_algebra.Reflection3D___str__(self)
4088 """__repr__(Reflection3D self) -> std::string"""
4089 return _IMP_algebra.Reflection3D___repr__(self)
4091 __swig_destroy__ = _IMP_algebra.delete_Reflection3D
4092 __del__ =
lambda self :
None;
4093 Reflection3D_swigregister = _IMP_algebra.Reflection3D_swigregister
4094 Reflection3D_swigregister(Reflection3D)
4096 class Cylinder3D(_GeometricPrimitive3D):
4097 """Proxy of C++ IMP::algebra::Cylinder3D class"""
4098 __swig_setmethods__ = {}
4099 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4100 __setattr__ =
lambda self, name, value: _swig_setattr(self, Cylinder3D, name, value)
4101 __swig_getmethods__ = {}
4102 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4103 __getattr__ =
lambda self, name: _swig_getattr(self, Cylinder3D, name)
4104 def __init__(self, *args):
4106 __init__(IMP::algebra::Cylinder3D self) -> Cylinder3D
4107 __init__(IMP::algebra::Cylinder3D self, Segment3D s, double radius) -> Cylinder3D
4109 this = _IMP_algebra.new_Cylinder3D(*args)
4110 try: self.this.append(this)
4111 except: self.this = this
4112 def get_radius(self):
4113 """get_radius(Cylinder3D self) -> double"""
4114 return _IMP_algebra.Cylinder3D_get_radius(self)
4117 """get_segment(Cylinder3D self) -> Segment3D"""
4118 return _IMP_algebra.Cylinder3D_get_segment(self)
4120 def get_surface_point_at(self, *args):
4121 """get_surface_point_at(Cylinder3D self, double relative_height, double angle) -> Vector3D"""
4122 return _IMP_algebra.Cylinder3D_get_surface_point_at(self, *args)
4124 def get_inner_point_at(self, *args):
4125 """get_inner_point_at(Cylinder3D self, double relative_height, double relative_radius, double angle) -> Vector3D"""
4126 return _IMP_algebra.Cylinder3D_get_inner_point_at(self, *args)
4128 def show(self, *args):
4130 show(Cylinder3D self, _ostream out=std::cout)
4131 show(Cylinder3D self)
4133 return _IMP_algebra.Cylinder3D_show(self, *args)
4136 """__str__(Cylinder3D self) -> std::string"""
4137 return _IMP_algebra.Cylinder3D___str__(self)
4140 """__repr__(Cylinder3D self) -> std::string"""
4141 return _IMP_algebra.Cylinder3D___repr__(self)
4143 __swig_destroy__ = _IMP_algebra.delete_Cylinder3D
4144 __del__ =
lambda self :
None;
4145 Cylinder3D_swigregister = _IMP_algebra.Cylinder3D_swigregister
4146 Cylinder3D_swigregister(Cylinder3D)
4150 """get_cylinder_3d_geometry(Cylinder3D g) -> Cylinder3D"""
4151 return _IMP_algebra.get_cylinder_3d_geometry(*args)
4152 class Ellipsoid3D(_GeometricPrimitive3D):
4153 """Proxy of C++ IMP::algebra::Ellipsoid3D class"""
4154 __swig_setmethods__ = {}
4155 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4156 __setattr__ =
lambda self, name, value: _swig_setattr(self, Ellipsoid3D, name, value)
4157 __swig_getmethods__ = {}
4158 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4159 __getattr__ =
lambda self, name: _swig_getattr(self, Ellipsoid3D, name)
4160 def __init__(self, *args):
4162 __init__(IMP::algebra::Ellipsoid3D self) -> Ellipsoid3D
4163 __init__(IMP::algebra::Ellipsoid3D self, ReferenceFrame3D rf, Vector3D radii) -> Ellipsoid3D
4164 __init__(IMP::algebra::Ellipsoid3D self, Vector3D center, double radius_x, double radius_y, double radius_z, Rotation3D rot) -> Ellipsoid3D
4166 this = _IMP_algebra.new_Ellipsoid3D(*args)
4167 try: self.this.append(this)
4168 except: self.this = this
4169 def get_radii(self):
4170 """get_radii(Ellipsoid3D self) -> Vector3D"""
4171 return _IMP_algebra.Ellipsoid3D_get_radii(self)
4173 def get_reference_frame(self):
4174 """get_reference_frame(Ellipsoid3D self) -> ReferenceFrame3D"""
4175 return _IMP_algebra.Ellipsoid3D_get_reference_frame(self)
4177 def get_radius(self, *args):
4178 """get_radius(Ellipsoid3D self, unsigned int i) -> double"""
4179 return _IMP_algebra.Ellipsoid3D_get_radius(self, *args)
4181 def get_center(self):
4182 """get_center(Ellipsoid3D self) -> Vector3D"""
4183 return _IMP_algebra.Ellipsoid3D_get_center(self)
4185 def get_rotation(self):
4186 """get_rotation(Ellipsoid3D self) -> Rotation3D"""
4187 return _IMP_algebra.Ellipsoid3D_get_rotation(self)
4189 def get_transformation(self):
4190 """get_transformation(Ellipsoid3D self) -> Transformation3D"""
4191 return _IMP_algebra.Ellipsoid3D_get_transformation(self)
4193 def show(self, *args):
4195 show(Ellipsoid3D self, _ostream out=std::cout)
4196 show(Ellipsoid3D self)
4198 return _IMP_algebra.Ellipsoid3D_show(self, *args)
4201 """__str__(Ellipsoid3D self) -> std::string"""
4202 return _IMP_algebra.Ellipsoid3D___str__(self)
4205 """__repr__(Ellipsoid3D self) -> std::string"""
4206 return _IMP_algebra.Ellipsoid3D___repr__(self)
4208 __swig_destroy__ = _IMP_algebra.delete_Ellipsoid3D
4209 __del__ =
lambda self :
None;
4210 Ellipsoid3D_swigregister = _IMP_algebra.Ellipsoid3D_swigregister
4211 Ellipsoid3D_swigregister(Ellipsoid3D)
4215 """get_ellipsoid_3d_geometry(Ellipsoid3D g) -> Ellipsoid3D"""
4216 return _IMP_algebra.get_ellipsoid_3d_geometry(*args)
4217 class ConnollySurfacePoint(_object):
4218 """Proxy of C++ IMP::algebra::ConnollySurfacePoint class"""
4219 __swig_setmethods__ = {}
4220 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConnollySurfacePoint, name, value)
4221 __swig_getmethods__ = {}
4222 __getattr__ =
lambda self, name: _swig_getattr(self, ConnollySurfacePoint, name)
4223 def __init__(self, *args):
4224 """__init__(IMP::algebra::ConnollySurfacePoint self, int a0, int a1, int a2, Vector3D sp, float a, Vector3D n) -> ConnollySurfacePoint"""
4225 this = _IMP_algebra.new_ConnollySurfacePoint(*args)
4226 try: self.this.append(this)
4227 except: self.this = this
4229 """get_atom(ConnollySurfacePoint self, unsigned int i) -> int"""
4230 return _IMP_algebra.ConnollySurfacePoint_get_atom(self, *args)
4232 def get_surface_point(self):
4233 """get_surface_point(ConnollySurfacePoint self) -> Vector3D"""
4234 return _IMP_algebra.ConnollySurfacePoint_get_surface_point(self)
4237 """get_area(ConnollySurfacePoint self) -> double"""
4238 return _IMP_algebra.ConnollySurfacePoint_get_area(self)
4240 def get_normal(self):
4241 """get_normal(ConnollySurfacePoint self) -> Vector3D"""
4242 return _IMP_algebra.ConnollySurfacePoint_get_normal(self)
4244 def show(self, *args):
4246 show(ConnollySurfacePoint self, _ostream out=std::cout)
4247 show(ConnollySurfacePoint self)
4249 return _IMP_algebra.ConnollySurfacePoint_show(self, *args)
4252 """__str__(ConnollySurfacePoint self) -> std::string"""
4253 return _IMP_algebra.ConnollySurfacePoint___str__(self)
4256 """__repr__(ConnollySurfacePoint self) -> std::string"""
4257 return _IMP_algebra.ConnollySurfacePoint___repr__(self)
4259 __swig_destroy__ = _IMP_algebra.delete_ConnollySurfacePoint
4260 __del__ =
lambda self :
None;
4261 ConnollySurfacePoint_swigregister = _IMP_algebra.ConnollySurfacePoint_swigregister
4262 ConnollySurfacePoint_swigregister(ConnollySurfacePoint)
4266 """get_connolly_surface(IMP::algebra::Sphere3Ds const & spheres, double density, double probe_radius) -> IMP::algebra::ConnollySurfacePoints"""
4267 return _IMP_algebra.get_connolly_surface(*args)
4268 class LogEmbedding3D(_object):
4269 """Proxy of C++ IMP::algebra::LogEmbeddingD<(3)> class"""
4270 __swig_setmethods__ = {}
4271 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbedding3D, name, value)
4272 __swig_getmethods__ = {}
4273 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbedding3D, name)
4274 def __init__(self, *args):
4276 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D origin, Vector3D cell, Vector3D base) -> LogEmbedding3D
4277 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding3D
4278 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts) -> LogEmbedding3D
4279 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D arg2, Vector3D arg3) -> LogEmbedding3D
4280 __init__(IMP::algebra::LogEmbeddingD<(3)> self) -> LogEmbedding3D
4282 this = _IMP_algebra.new_LogEmbedding3D(*args)
4283 try: self.this.append(this)
4284 except: self.this = this
4285 def set_origin(self, *args):
4286 """set_origin(LogEmbedding3D self, Vector3D o)"""
4287 return _IMP_algebra.LogEmbedding3D_set_origin(self, *args)
4289 def get_origin(self):
4290 """get_origin(LogEmbedding3D self) -> Vector3D"""
4291 return _IMP_algebra.LogEmbedding3D_get_origin(self)
4293 def get_dimension(self):
4294 """get_dimension(LogEmbedding3D self) -> unsigned int"""
4295 return _IMP_algebra.LogEmbedding3D_get_dimension(self)
4297 def set_unit_cell(self, *args):
4299 set_unit_cell(LogEmbedding3D self, Vector3D o, Vector3D base)
4300 set_unit_cell(LogEmbedding3D self, Vector3D o)
4302 return _IMP_algebra.LogEmbedding3D_set_unit_cell(self, *args)
4304 def get_unit_cell(self):
4305 """get_unit_cell(LogEmbedding3D self) -> Vector3D"""
4306 return _IMP_algebra.LogEmbedding3D_get_unit_cell(self)
4308 def get_extended_index(self, *args):
4309 """get_extended_index(LogEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
4310 return _IMP_algebra.LogEmbedding3D_get_extended_index(self, *args)
4313 """get_index(LogEmbedding3D self, Vector3D o) -> GridIndex3D"""
4314 return _IMP_algebra.LogEmbedding3D_get_index(self, *args)
4316 def get_center(self, *args):
4318 get_center(LogEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
4319 get_center(LogEmbedding3D self, GridIndex3D ei) -> Vector3D
4321 return _IMP_algebra.LogEmbedding3D_get_center(self, *args)
4325 get_bounding_box(LogEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
4326 get_bounding_box(LogEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
4328 return _IMP_algebra.LogEmbedding3D_get_bounding_box(self, *args)
4330 def show(self, *args):
4332 show(LogEmbedding3D self, _ostream out=std::cout)
4333 show(LogEmbedding3D self)
4335 return _IMP_algebra.LogEmbedding3D_show(self, *args)
4338 """__str__(LogEmbedding3D self) -> std::string"""
4339 return _IMP_algebra.LogEmbedding3D___str__(self)
4342 """__repr__(LogEmbedding3D self) -> std::string"""
4343 return _IMP_algebra.LogEmbedding3D___repr__(self)
4345 def __cmp__(self, *args):
4346 """__cmp__(LogEmbedding3D self, LogEmbedding3D arg2) -> int"""
4347 return _IMP_algebra.LogEmbedding3D___cmp__(self, *args)
4349 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding3D
4350 __del__ =
lambda self :
None;
4351 LogEmbedding3D_swigregister = _IMP_algebra.LogEmbedding3D_swigregister
4352 LogEmbedding3D_swigregister(LogEmbedding3D)
4354 class LogEmbeddingKD(_object):
4355 """Proxy of C++ IMP::algebra::LogEmbeddingD<(-1)> class"""
4356 __swig_setmethods__ = {}
4357 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbeddingKD, name, value)
4358 __swig_getmethods__ = {}
4359 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbeddingKD, name)
4360 def __init__(self, *args):
4362 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell, VectorKD base) -> LogEmbeddingKD
4363 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbeddingKD
4364 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts) -> LogEmbeddingKD
4365 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD arg2, VectorKD arg3) -> LogEmbeddingKD
4366 __init__(IMP::algebra::LogEmbeddingD<(-1)> self) -> LogEmbeddingKD
4368 this = _IMP_algebra.new_LogEmbeddingKD(*args)
4369 try: self.this.append(this)
4370 except: self.this = this
4371 def set_origin(self, *args):
4372 """set_origin(LogEmbeddingKD self, VectorKD o)"""
4373 return _IMP_algebra.LogEmbeddingKD_set_origin(self, *args)
4375 def get_origin(self):
4376 """get_origin(LogEmbeddingKD self) -> VectorKD"""
4377 return _IMP_algebra.LogEmbeddingKD_get_origin(self)
4379 def get_dimension(self):
4380 """get_dimension(LogEmbeddingKD self) -> unsigned int"""
4381 return _IMP_algebra.LogEmbeddingKD_get_dimension(self)
4383 def set_unit_cell(self, *args):
4385 set_unit_cell(LogEmbeddingKD self, VectorKD o, VectorKD base)
4386 set_unit_cell(LogEmbeddingKD self, VectorKD o)
4388 return _IMP_algebra.LogEmbeddingKD_set_unit_cell(self, *args)
4390 def get_unit_cell(self):
4391 """get_unit_cell(LogEmbeddingKD self) -> VectorKD"""
4392 return _IMP_algebra.LogEmbeddingKD_get_unit_cell(self)
4394 def get_extended_index(self, *args):
4395 """get_extended_index(LogEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
4396 return _IMP_algebra.LogEmbeddingKD_get_extended_index(self, *args)
4399 """get_index(LogEmbeddingKD self, VectorKD o) -> GridIndexKD"""
4400 return _IMP_algebra.LogEmbeddingKD_get_index(self, *args)
4402 def get_center(self, *args):
4404 get_center(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
4405 get_center(LogEmbeddingKD self, GridIndexKD ei) -> VectorKD
4407 return _IMP_algebra.LogEmbeddingKD_get_center(self, *args)
4411 get_bounding_box(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
4412 get_bounding_box(LogEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
4414 return _IMP_algebra.LogEmbeddingKD_get_bounding_box(self, *args)
4416 def show(self, *args):
4418 show(LogEmbeddingKD self, _ostream out=std::cout)
4419 show(LogEmbeddingKD self)
4421 return _IMP_algebra.LogEmbeddingKD_show(self, *args)
4424 """__str__(LogEmbeddingKD self) -> std::string"""
4425 return _IMP_algebra.LogEmbeddingKD___str__(self)
4428 """__repr__(LogEmbeddingKD self) -> std::string"""
4429 return _IMP_algebra.LogEmbeddingKD___repr__(self)
4431 def __cmp__(self, *args):
4432 """__cmp__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> int"""
4433 return _IMP_algebra.LogEmbeddingKD___cmp__(self, *args)
4435 __swig_destroy__ = _IMP_algebra.delete_LogEmbeddingKD
4436 __del__ =
lambda self :
None;
4437 LogEmbeddingKD_swigregister = _IMP_algebra.LogEmbeddingKD_swigregister
4438 LogEmbeddingKD_swigregister(LogEmbeddingKD)
4440 class DenseFloatLogGridKD(_object):
4441 """Proxy of C++ IMP::algebra::DenseFloatLogGridKD class"""
4442 __swig_setmethods__ = {}
4443 __setattr__ =
lambda self, name, value: _swig_setattr(self, DenseFloatLogGridKD, name, value)
4444 __swig_getmethods__ = {}
4445 __getattr__ =
lambda self, name: _swig_getattr(self, DenseFloatLogGridKD, name)
4446 def __init__(self, *args):
4447 """__init__(IMP::algebra::DenseFloatLogGridKD self, IMP::Ints const & sz, LogEmbeddingKD le) -> DenseFloatLogGridKD"""
4448 this = _IMP_algebra.new_DenseFloatLogGridKD(*args)
4449 try: self.this.append(this)
4450 except: self.this = this
4451 def add_voxel(self, *args):
4452 """add_voxel(DenseFloatLogGridKD self, ExtendedGridIndexKD i, float const & q) -> GridIndexKD"""
4453 return _IMP_algebra.DenseFloatLogGridKD_add_voxel(self, *args)
4455 def __getitem__(self, *args):
4457 __getitem__(DenseFloatLogGridKD self, GridIndexKD i) -> float
4458 __getitem__(DenseFloatLogGridKD self, VectorKD i) -> float
4460 return _IMP_algebra.DenseFloatLogGridKD___getitem__(self, *args)
4462 def __setitem__(self, *args):
4464 __setitem__(DenseFloatLogGridKD self, GridIndexKD i, float const & q)
4465 __setitem__(DenseFloatLogGridKD self, VectorKD i, float const & q)
4467 return _IMP_algebra.DenseFloatLogGridKD___setitem__(self, *args)
4471 get_bounding_box(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
4472 get_bounding_box(DenseFloatLogGridKD self) -> BoundingBoxKD
4474 return _IMP_algebra.DenseFloatLogGridKD_get_bounding_box(self, *args)
4478 get_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >
4479 get_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >
4481 return _IMP_algebra.DenseFloatLogGridKD_get_indexes(self, *args)
4483 def get_all_indexes(self):
4484 """get_all_indexes(DenseFloatLogGridKD self) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
4485 return _IMP_algebra.DenseFloatLogGridKD_get_all_indexes(self)
4487 def get_extended_indexes(self, *args):
4489 get_extended_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
4490 get_extended_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
4492 return _IMP_algebra.DenseFloatLogGridKD_get_extended_indexes(self, *args)
4494 def get_center(self, *args):
4496 get_center(DenseFloatLogGridKD self, ExtendedGridIndexKD ei) -> VectorKD
4497 get_center(DenseFloatLogGridKD self, GridIndexKD ei) -> VectorKD
4499 return _IMP_algebra.DenseFloatLogGridKD_get_center(self, *args)
4501 def get_extended_index(self, *args):
4502 """get_extended_index(DenseFloatLogGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
4503 return _IMP_algebra.DenseFloatLogGridKD_get_extended_index(self, *args)
4506 """get_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
4507 return _IMP_algebra.DenseFloatLogGridKD_get_index(self, *args)
4509 def get_origin(self):
4510 """get_origin(DenseFloatLogGridKD self) -> VectorKD"""
4511 return _IMP_algebra.DenseFloatLogGridKD_get_origin(self)
4513 def get_dimension(self):
4514 """get_dimension(DenseFloatLogGridKD self) -> unsigned int"""
4515 return _IMP_algebra.DenseFloatLogGridKD_get_dimension(self)
4517 def get_unit_cell(self):
4518 """get_unit_cell(DenseFloatLogGridKD self) -> VectorKD"""
4519 return _IMP_algebra.DenseFloatLogGridKD_get_unit_cell(self)
4521 def get_has_index(self, *args):
4522 """get_has_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> bool"""
4523 return _IMP_algebra.DenseFloatLogGridKD_get_has_index(self, *args)
4526 """__str__(DenseFloatLogGridKD self) -> std::string"""
4527 return _IMP_algebra.DenseFloatLogGridKD___str__(self)
4530 """__repr__(DenseFloatLogGridKD self) -> std::string"""
4531 return _IMP_algebra.DenseFloatLogGridKD___repr__(self)
4533 def show(self, *args):
4535 show(DenseFloatLogGridKD self, _ostream out=std::cout)
4536 show(DenseFloatLogGridKD self)
4538 return _IMP_algebra.DenseFloatLogGridKD_show(self, *args)
4540 __swig_destroy__ = _IMP_algebra.delete_DenseFloatLogGridKD
4541 __del__ =
lambda self :
None;
4542 DenseFloatLogGridKD_swigregister = _IMP_algebra.DenseFloatLogGridKD_swigregister
4543 DenseFloatLogGridKD_swigregister(DenseFloatLogGridKD)
4545 class DenseIntLogGrid3D(_object):
4546 """Proxy of C++ IMP::algebra::DenseIntLogGrid3D class"""
4547 __swig_setmethods__ = {}
4548 __setattr__ =
lambda self, name, value: _swig_setattr(self, DenseIntLogGrid3D, name, value)
4549 __swig_getmethods__ = {}
4550 __getattr__ =
lambda self, name: _swig_getattr(self, DenseIntLogGrid3D, name)
4551 def __init__(self, *args):
4552 """__init__(IMP::algebra::DenseIntLogGrid3D self, IMP::Ints const & sz, LogEmbedding3D le) -> DenseIntLogGrid3D"""
4553 this = _IMP_algebra.new_DenseIntLogGrid3D(*args)
4554 try: self.this.append(this)
4555 except: self.this = this
4556 def add_voxel(self, *args):
4557 """add_voxel(DenseIntLogGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
4558 return _IMP_algebra.DenseIntLogGrid3D_add_voxel(self, *args)
4560 def __getitem__(self, *args):
4562 __getitem__(DenseIntLogGrid3D self, GridIndex3D i) -> int
4563 __getitem__(DenseIntLogGrid3D self, Vector3D i) -> int
4565 return _IMP_algebra.DenseIntLogGrid3D___getitem__(self, *args)
4567 def __setitem__(self, *args):
4569 __setitem__(DenseIntLogGrid3D self, GridIndex3D i, int const & q)
4570 __setitem__(DenseIntLogGrid3D self, Vector3D i, int const & q)
4572 return _IMP_algebra.DenseIntLogGrid3D___setitem__(self, *args)
4576 get_bounding_box(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
4577 get_bounding_box(DenseIntLogGrid3D self) -> BoundingBox3D
4579 return _IMP_algebra.DenseIntLogGrid3D_get_bounding_box(self, *args)
4583 get_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >
4584 get_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >
4586 return _IMP_algebra.DenseIntLogGrid3D_get_indexes(self, *args)
4588 def get_all_indexes(self):
4589 """get_all_indexes(DenseIntLogGrid3D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
4590 return _IMP_algebra.DenseIntLogGrid3D_get_all_indexes(self)
4592 def get_extended_indexes(self, *args):
4594 get_extended_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
4595 get_extended_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
4597 return _IMP_algebra.DenseIntLogGrid3D_get_extended_indexes(self, *args)
4599 def get_center(self, *args):
4601 get_center(DenseIntLogGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
4602 get_center(DenseIntLogGrid3D self, GridIndex3D ei) -> Vector3D
4604 return _IMP_algebra.DenseIntLogGrid3D_get_center(self, *args)
4606 def get_extended_index(self, *args):
4607 """get_extended_index(DenseIntLogGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
4608 return _IMP_algebra.DenseIntLogGrid3D_get_extended_index(self, *args)
4611 """get_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
4612 return _IMP_algebra.DenseIntLogGrid3D_get_index(self, *args)
4614 def get_origin(self):
4615 """get_origin(DenseIntLogGrid3D self) -> Vector3D"""
4616 return _IMP_algebra.DenseIntLogGrid3D_get_origin(self)
4618 def get_dimension(self):
4619 """get_dimension(DenseIntLogGrid3D self) -> unsigned int"""
4620 return _IMP_algebra.DenseIntLogGrid3D_get_dimension(self)
4622 def get_unit_cell(self):
4623 """get_unit_cell(DenseIntLogGrid3D self) -> Vector3D"""
4624 return _IMP_algebra.DenseIntLogGrid3D_get_unit_cell(self)
4626 def get_has_index(self, *args):
4627 """get_has_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> bool"""
4628 return _IMP_algebra.DenseIntLogGrid3D_get_has_index(self, *args)
4631 """__str__(DenseIntLogGrid3D self) -> std::string"""
4632 return _IMP_algebra.DenseIntLogGrid3D___str__(self)
4635 """__repr__(DenseIntLogGrid3D self) -> std::string"""
4636 return _IMP_algebra.DenseIntLogGrid3D___repr__(self)
4638 def show(self, *args):
4640 show(DenseIntLogGrid3D self, _ostream out=std::cout)
4641 show(DenseIntLogGrid3D self)
4643 return _IMP_algebra.DenseIntLogGrid3D_show(self, *args)
4645 __swig_destroy__ = _IMP_algebra.delete_DenseIntLogGrid3D
4646 __del__ =
lambda self :
None;
4647 DenseIntLogGrid3D_swigregister = _IMP_algebra.DenseIntLogGrid3D_swigregister
4648 DenseIntLogGrid3D_swigregister(DenseIntLogGrid3D)
4651 """Proxy of C++ IMP::algebra::DenseGrid3D<(double)> class"""
4652 __swig_setmethods__ = {}
4653 __setattr__ =
lambda self, name, value: _swig_setattr(self, DenseDoubleGrid3D, name, value)
4654 __swig_getmethods__ = {}
4655 __getattr__ =
lambda self, name: _swig_getattr(self, DenseDoubleGrid3D, name)
4656 def __init__(self, *args):
4658 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb, double _def=double()) -> DenseDoubleGrid3D
4659 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb) -> DenseDoubleGrid3D
4660 __init__(IMP::algebra::DenseGrid3D<(double)> self) -> DenseDoubleGrid3D
4662 this = _IMP_algebra.new_DenseDoubleGrid3D(*args)
4663 try: self.this.append(this)
4664 except: self.this = this
4665 def add_voxel(self, *args):
4666 """add_voxel(DenseDoubleGrid3D self, ExtendedGridIndex3D i, double const & q) -> GridIndex3D"""
4667 return _IMP_algebra.DenseDoubleGrid3D_add_voxel(self, *args)
4669 def __getitem__(self, *args):
4671 __getitem__(DenseDoubleGrid3D self, GridIndex3D i) -> double
4672 __getitem__(DenseDoubleGrid3D self, Vector3D i) -> double
4674 return _IMP_algebra.DenseDoubleGrid3D___getitem__(self, *args)
4676 def __setitem__(self, *args):
4678 __setitem__(DenseDoubleGrid3D self, GridIndex3D i, double const & q)
4679 __setitem__(DenseDoubleGrid3D self, Vector3D i, double const & q)
4681 return _IMP_algebra.DenseDoubleGrid3D___setitem__(self, *args)
4685 get_bounding_box(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
4686 get_bounding_box(DenseDoubleGrid3D self) -> BoundingBox3D
4688 return _IMP_algebra.DenseDoubleGrid3D_get_bounding_box(self, *args)
4692 get_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >
4693 get_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >
4695 return _IMP_algebra.DenseDoubleGrid3D_get_indexes(self, *args)
4697 def get_all_indexes(self):
4698 """get_all_indexes(DenseDoubleGrid3D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
4699 return _IMP_algebra.DenseDoubleGrid3D_get_all_indexes(self)
4701 def get_extended_indexes(self, *args):
4703 get_extended_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
4704 get_extended_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
4706 return _IMP_algebra.DenseDoubleGrid3D_get_extended_indexes(self, *args)
4708 def get_center(self, *args):
4710 get_center(DenseDoubleGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
4711 get_center(DenseDoubleGrid3D self, GridIndex3D ei) -> Vector3D
4713 return _IMP_algebra.DenseDoubleGrid3D_get_center(self, *args)
4715 def get_extended_index(self, *args):
4716 """get_extended_index(DenseDoubleGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
4717 return _IMP_algebra.DenseDoubleGrid3D_get_extended_index(self, *args)
4720 """get_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
4721 return _IMP_algebra.DenseDoubleGrid3D_get_index(self, *args)
4723 def get_origin(self):
4724 """get_origin(DenseDoubleGrid3D self) -> Vector3D"""
4725 return _IMP_algebra.DenseDoubleGrid3D_get_origin(self)
4727 def get_dimension(self):
4728 """get_dimension(DenseDoubleGrid3D self) -> unsigned int"""
4729 return _IMP_algebra.DenseDoubleGrid3D_get_dimension(self)
4731 def get_unit_cell(self):
4732 """get_unit_cell(DenseDoubleGrid3D self) -> Vector3D"""
4733 return _IMP_algebra.DenseDoubleGrid3D_get_unit_cell(self)
4735 def get_has_index(self, *args):
4736 """get_has_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> bool"""
4737 return _IMP_algebra.DenseDoubleGrid3D_get_has_index(self, *args)
4740 """__str__(DenseDoubleGrid3D self) -> std::string"""
4741 return _IMP_algebra.DenseDoubleGrid3D___str__(self)
4744 """__repr__(DenseDoubleGrid3D self) -> std::string"""
4745 return _IMP_algebra.DenseDoubleGrid3D___repr__(self)
4747 def show(self, *args):
4749 show(DenseDoubleGrid3D self, _ostream out=std::cout)
4750 show(DenseDoubleGrid3D self)
4752 return _IMP_algebra.DenseDoubleGrid3D_show(self, *args)
4754 __swig_destroy__ = _IMP_algebra.delete_DenseDoubleGrid3D
4755 __del__ =
lambda self :
None;
4756 DenseDoubleGrid3D_swigregister = _IMP_algebra.DenseDoubleGrid3D_swigregister
4757 DenseDoubleGrid3D_swigregister(DenseDoubleGrid3D)
4760 """Proxy of C++ IMP::algebra::DenseGrid3D<(float)> class"""
4761 __swig_setmethods__ = {}
4762 __setattr__ =
lambda self, name, value: _swig_setattr(self, DenseFloatGrid3D, name, value)
4763 __swig_getmethods__ = {}
4764 __getattr__ =
lambda self, name: _swig_getattr(self, DenseFloatGrid3D, name)
4765 def __init__(self, *args):
4767 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb, float _def=float()) -> DenseFloatGrid3D
4768 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb) -> DenseFloatGrid3D
4769 __init__(IMP::algebra::DenseGrid3D<(float)> self) -> DenseFloatGrid3D
4771 this = _IMP_algebra.new_DenseFloatGrid3D(*args)
4772 try: self.this.append(this)
4773 except: self.this = this
4774 def add_voxel(self, *args):
4775 """add_voxel(DenseFloatGrid3D self, ExtendedGridIndex3D i, float const & q) -> GridIndex3D"""
4776 return _IMP_algebra.DenseFloatGrid3D_add_voxel(self, *args)
4778 def __getitem__(self, *args):
4780 __getitem__(DenseFloatGrid3D self, GridIndex3D i) -> float
4781 __getitem__(DenseFloatGrid3D self, Vector3D i) -> float
4783 return _IMP_algebra.DenseFloatGrid3D___getitem__(self, *args)
4785 def __setitem__(self, *args):
4787 __setitem__(DenseFloatGrid3D self, GridIndex3D i, float const & q)
4788 __setitem__(DenseFloatGrid3D self, Vector3D i, float const & q)
4790 return _IMP_algebra.DenseFloatGrid3D___setitem__(self, *args)
4794 get_bounding_box(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
4795 get_bounding_box(DenseFloatGrid3D self) -> BoundingBox3D
4797 return _IMP_algebra.DenseFloatGrid3D_get_bounding_box(self, *args)
4801 get_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >
4802 get_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >
4804 return _IMP_algebra.DenseFloatGrid3D_get_indexes(self, *args)
4806 def get_all_indexes(self):
4807 """get_all_indexes(DenseFloatGrid3D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
4808 return _IMP_algebra.DenseFloatGrid3D_get_all_indexes(self)
4810 def get_extended_indexes(self, *args):
4812 get_extended_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
4813 get_extended_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
4815 return _IMP_algebra.DenseFloatGrid3D_get_extended_indexes(self, *args)
4817 def get_center(self, *args):
4819 get_center(DenseFloatGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
4820 get_center(DenseFloatGrid3D self, GridIndex3D ei) -> Vector3D
4822 return _IMP_algebra.DenseFloatGrid3D_get_center(self, *args)
4824 def get_extended_index(self, *args):
4825 """get_extended_index(DenseFloatGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
4826 return _IMP_algebra.DenseFloatGrid3D_get_extended_index(self, *args)
4829 """get_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
4830 return _IMP_algebra.DenseFloatGrid3D_get_index(self, *args)
4832 def get_origin(self):
4833 """get_origin(DenseFloatGrid3D self) -> Vector3D"""
4834 return _IMP_algebra.DenseFloatGrid3D_get_origin(self)
4836 def get_dimension(self):
4837 """get_dimension(DenseFloatGrid3D self) -> unsigned int"""
4838 return _IMP_algebra.DenseFloatGrid3D_get_dimension(self)
4840 def get_unit_cell(self):
4841 """get_unit_cell(DenseFloatGrid3D self) -> Vector3D"""
4842 return _IMP_algebra.DenseFloatGrid3D_get_unit_cell(self)
4844 def get_has_index(self, *args):
4845 """get_has_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> bool"""
4846 return _IMP_algebra.DenseFloatGrid3D_get_has_index(self, *args)
4849 """__str__(DenseFloatGrid3D self) -> std::string"""
4850 return _IMP_algebra.DenseFloatGrid3D___str__(self)
4853 """__repr__(DenseFloatGrid3D self) -> std::string"""
4854 return _IMP_algebra.DenseFloatGrid3D___repr__(self)
4856 def show(self, *args):
4858 show(DenseFloatGrid3D self, _ostream out=std::cout)
4859 show(DenseFloatGrid3D self)
4861 return _IMP_algebra.DenseFloatGrid3D_show(self, *args)
4863 __swig_destroy__ = _IMP_algebra.delete_DenseFloatGrid3D
4864 __del__ =
lambda self :
None;
4865 DenseFloatGrid3D_swigregister = _IMP_algebra.DenseFloatGrid3D_swigregister
4866 DenseFloatGrid3D_swigregister(DenseFloatGrid3D)
4869 """Proxy of C++ IMP::algebra::SparseUnboundedGrid3D<(int)> class"""
4870 __swig_setmethods__ = {}
4871 __setattr__ =
lambda self, name, value: _swig_setattr(self, SparseUnboundedIntGrid3D, name, value)
4872 __swig_getmethods__ = {}
4873 __getattr__ =
lambda self, name: _swig_getattr(self, SparseUnboundedIntGrid3D, name)
4874 def __init__(self, *args):
4876 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin, int _def=int()) -> SparseUnboundedIntGrid3D
4877 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin) -> SparseUnboundedIntGrid3D
4878 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin, int _def=int()) -> SparseUnboundedIntGrid3D
4879 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin) -> SparseUnboundedIntGrid3D
4880 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self) -> SparseUnboundedIntGrid3D
4882 this = _IMP_algebra.new_SparseUnboundedIntGrid3D(*args)
4883 try: self.this.append(this)
4884 except: self.this = this
4885 def add_voxel(self, *args):
4886 """add_voxel(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
4887 return _IMP_algebra.SparseUnboundedIntGrid3D_add_voxel(self, *args)
4889 def __getitem__(self, *args):
4891 __getitem__(SparseUnboundedIntGrid3D self, GridIndex3D i) -> int
4892 __getitem__(SparseUnboundedIntGrid3D self, Vector3D i) -> int
4894 return _IMP_algebra.SparseUnboundedIntGrid3D___getitem__(self, *args)
4896 def __setitem__(self, *args):
4898 __setitem__(SparseUnboundedIntGrid3D self, GridIndex3D i, int const & q)
4899 __setitem__(SparseUnboundedIntGrid3D self, Vector3D i, int const & q)
4901 return _IMP_algebra.SparseUnboundedIntGrid3D___setitem__(self, *args)
4905 get_bounding_box(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
4906 get_bounding_box(SparseUnboundedIntGrid3D self) -> BoundingBox3D
4908 return _IMP_algebra.SparseUnboundedIntGrid3D_get_bounding_box(self, *args)
4912 get_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >
4913 get_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >
4915 return _IMP_algebra.SparseUnboundedIntGrid3D_get_indexes(self, *args)
4917 def get_all_indexes(self):
4918 """get_all_indexes(SparseUnboundedIntGrid3D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
4919 return _IMP_algebra.SparseUnboundedIntGrid3D_get_all_indexes(self)
4921 def get_extended_indexes(self, *args):
4923 get_extended_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
4924 get_extended_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
4926 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_indexes(self, *args)
4928 def get_center(self, *args):
4930 get_center(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
4931 get_center(SparseUnboundedIntGrid3D self, GridIndex3D ei) -> Vector3D
4933 return _IMP_algebra.SparseUnboundedIntGrid3D_get_center(self, *args)
4935 def get_extended_index(self, *args):
4936 """get_extended_index(SparseUnboundedIntGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
4937 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_index(self, *args)
4940 """get_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
4941 return _IMP_algebra.SparseUnboundedIntGrid3D_get_index(self, *args)
4943 def get_origin(self):
4944 """get_origin(SparseUnboundedIntGrid3D self) -> Vector3D"""
4945 return _IMP_algebra.SparseUnboundedIntGrid3D_get_origin(self)
4947 def get_dimension(self):
4948 """get_dimension(SparseUnboundedIntGrid3D self) -> unsigned int"""
4949 return _IMP_algebra.SparseUnboundedIntGrid3D_get_dimension(self)
4951 def get_unit_cell(self):
4952 """get_unit_cell(SparseUnboundedIntGrid3D self) -> Vector3D"""
4953 return _IMP_algebra.SparseUnboundedIntGrid3D_get_unit_cell(self)
4955 def get_has_index(self, *args):
4956 """get_has_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> bool"""
4957 return _IMP_algebra.SparseUnboundedIntGrid3D_get_has_index(self, *args)
4960 """__str__(SparseUnboundedIntGrid3D self) -> std::string"""
4961 return _IMP_algebra.SparseUnboundedIntGrid3D___str__(self)
4964 """__repr__(SparseUnboundedIntGrid3D self) -> std::string"""
4965 return _IMP_algebra.SparseUnboundedIntGrid3D___repr__(self)
4967 def show(self, *args):
4969 show(SparseUnboundedIntGrid3D self, _ostream out=std::cout)
4970 show(SparseUnboundedIntGrid3D self)
4972 return _IMP_algebra.SparseUnboundedIntGrid3D_show(self, *args)
4974 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGrid3D
4975 __del__ =
lambda self :
None;
4976 SparseUnboundedIntGrid3D_swigregister = _IMP_algebra.SparseUnboundedIntGrid3D_swigregister
4977 SparseUnboundedIntGrid3D_swigregister(SparseUnboundedIntGrid3D)
4979 class SparseUnboundedIntGridKD(_object):
4980 """Proxy of C++ IMP::algebra::SparseUnboundedGridD<(-1,int)> class"""
4981 __swig_setmethods__ = {}
4982 __setattr__ =
lambda self, name, value: _swig_setattr(self, SparseUnboundedIntGridKD, name, value)
4983 __swig_getmethods__ = {}
4984 __getattr__ =
lambda self, name: _swig_getattr(self, SparseUnboundedIntGridKD, name)
4985 def __init__(self, *args):
4987 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin, int _def=int()) -> SparseUnboundedIntGridKD
4988 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin) -> SparseUnboundedIntGridKD
4989 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self) -> SparseUnboundedIntGridKD
4991 this = _IMP_algebra.new_SparseUnboundedIntGridKD(*args)
4992 try: self.this.append(this)
4993 except: self.this = this
4994 def add_voxel(self, *args):
4995 """add_voxel(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i, int const & q) -> GridIndexKD"""
4996 return _IMP_algebra.SparseUnboundedIntGridKD_add_voxel(self, *args)
4998 def __getitem__(self, *args):
5000 __getitem__(SparseUnboundedIntGridKD self, GridIndexKD i) -> int
5001 __getitem__(SparseUnboundedIntGridKD self, VectorKD i) -> int
5003 return _IMP_algebra.SparseUnboundedIntGridKD___getitem__(self, *args)
5005 def __setitem__(self, *args):
5007 __setitem__(SparseUnboundedIntGridKD self, GridIndexKD i, int const & q)
5008 __setitem__(SparseUnboundedIntGridKD self, VectorKD i, int const & q)
5010 return _IMP_algebra.SparseUnboundedIntGridKD___setitem__(self, *args)
5014 get_bounding_box(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
5015 get_bounding_box(SparseUnboundedIntGridKD self) -> BoundingBoxKD
5017 return _IMP_algebra.SparseUnboundedIntGridKD_get_bounding_box(self, *args)
5021 get_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >
5022 get_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >
5024 return _IMP_algebra.SparseUnboundedIntGridKD_get_indexes(self, *args)
5026 def get_all_indexes(self):
5027 """get_all_indexes(SparseUnboundedIntGridKD self) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
5028 return _IMP_algebra.SparseUnboundedIntGridKD_get_all_indexes(self)
5030 def get_extended_indexes(self, *args):
5032 get_extended_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5033 get_extended_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5035 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_indexes(self, *args)
5037 def get_center(self, *args):
5039 get_center(SparseUnboundedIntGridKD self, ExtendedGridIndexKD ei) -> VectorKD
5040 get_center(SparseUnboundedIntGridKD self, GridIndexKD ei) -> VectorKD
5042 return _IMP_algebra.SparseUnboundedIntGridKD_get_center(self, *args)
5044 def get_extended_index(self, *args):
5045 """get_extended_index(SparseUnboundedIntGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
5046 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_index(self, *args)
5049 """get_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
5050 return _IMP_algebra.SparseUnboundedIntGridKD_get_index(self, *args)
5052 def get_origin(self):
5053 """get_origin(SparseUnboundedIntGridKD self) -> VectorKD"""
5054 return _IMP_algebra.SparseUnboundedIntGridKD_get_origin(self)
5056 def get_dimension(self):
5057 """get_dimension(SparseUnboundedIntGridKD self) -> unsigned int"""
5058 return _IMP_algebra.SparseUnboundedIntGridKD_get_dimension(self)
5060 def get_unit_cell(self):
5061 """get_unit_cell(SparseUnboundedIntGridKD self) -> VectorKD"""
5062 return _IMP_algebra.SparseUnboundedIntGridKD_get_unit_cell(self)
5064 def get_has_index(self, *args):
5065 """get_has_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> bool"""
5066 return _IMP_algebra.SparseUnboundedIntGridKD_get_has_index(self, *args)
5069 """__str__(SparseUnboundedIntGridKD self) -> std::string"""
5070 return _IMP_algebra.SparseUnboundedIntGridKD___str__(self)
5073 """__repr__(SparseUnboundedIntGridKD self) -> std::string"""
5074 return _IMP_algebra.SparseUnboundedIntGridKD___repr__(self)
5076 def show(self, *args):
5078 show(SparseUnboundedIntGridKD self, _ostream out=std::cout)
5079 show(SparseUnboundedIntGridKD self)
5081 return _IMP_algebra.SparseUnboundedIntGridKD_show(self, *args)
5083 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGridKD
5084 __del__ =
lambda self :
None;
5085 SparseUnboundedIntGridKD_swigregister = _IMP_algebra.SparseUnboundedIntGridKD_swigregister
5086 SparseUnboundedIntGridKD_swigregister(SparseUnboundedIntGridKD)
5088 class GridIndex1D(IMP.base._Value):
5089 """Proxy of C++ IMP::algebra::GridIndexD<(1)> class"""
5090 __swig_setmethods__ = {}
5091 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5092 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndex1D, name, value)
5093 __swig_getmethods__ = {}
5094 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5095 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndex1D, name)
5096 def __init__(self, *args):
5098 __init__(IMP::algebra::GridIndexD<(1)> self) -> GridIndex1D
5099 __init__(IMP::algebra::GridIndexD<(1)> self, int x) -> GridIndex1D
5100 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y) -> GridIndex1D
5101 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y, int z) -> GridIndex1D
5102 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l) -> GridIndex1D
5103 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m) -> GridIndex1D
5104 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> GridIndex1D
5106 this = _IMP_algebra.new_GridIndex1D(*args)
5107 try: self.this.append(this)
5108 except: self.this = this
5109 def get_dimension(self):
5110 """get_dimension(GridIndex1D self) -> unsigned int"""
5111 return _IMP_algebra.GridIndex1D_get_dimension(self)
5113 def __getitem__(self, *args):
5114 """__getitem__(GridIndex1D self, unsigned int i) -> int const &"""
5115 return _IMP_algebra.GridIndex1D___getitem__(self, *args)
5117 def show(self, *args):
5119 show(GridIndex1D self, _ostream out=std::cout)
5120 show(GridIndex1D self)
5122 return _IMP_algebra.GridIndex1D_show(self, *args)
5125 """__len__(GridIndex1D self) -> unsigned int"""
5126 return _IMP_algebra.GridIndex1D___len__(self)
5128 def __eq__(self, *args):
5129 """__eq__(GridIndex1D self, GridIndex1D o) -> bool"""
5130 return _IMP_algebra.GridIndex1D___eq__(self, *args)
5132 def __ne__(self, *args):
5133 """__ne__(GridIndex1D self, GridIndex1D o) -> bool"""
5134 return _IMP_algebra.GridIndex1D___ne__(self, *args)
5136 def __lt__(self, *args):
5137 """__lt__(GridIndex1D self, GridIndex1D o) -> bool"""
5138 return _IMP_algebra.GridIndex1D___lt__(self, *args)
5140 def __gt__(self, *args):
5141 """__gt__(GridIndex1D self, GridIndex1D o) -> bool"""
5142 return _IMP_algebra.GridIndex1D___gt__(self, *args)
5144 def __ge__(self, *args):
5145 """__ge__(GridIndex1D self, GridIndex1D o) -> bool"""
5146 return _IMP_algebra.GridIndex1D___ge__(self, *args)
5148 def __le__(self, *args):
5149 """__le__(GridIndex1D self, GridIndex1D o) -> bool"""
5150 return _IMP_algebra.GridIndex1D___le__(self, *args)
5153 """__hash__(GridIndex1D self) -> std::size_t"""
5154 return _IMP_algebra.GridIndex1D___hash__(self)
5157 """__str__(GridIndex1D self) -> std::string"""
5158 return _IMP_algebra.GridIndex1D___str__(self)
5161 """__repr__(GridIndex1D self) -> std::string"""
5162 return _IMP_algebra.GridIndex1D___repr__(self)
5164 def __cmp__(self, *args):
5165 """__cmp__(GridIndex1D self, GridIndex1D arg2) -> int"""
5166 return _IMP_algebra.GridIndex1D___cmp__(self, *args)
5168 __swig_destroy__ = _IMP_algebra.delete_GridIndex1D
5169 __del__ =
lambda self :
None;
5170 GridIndex1D_swigregister = _IMP_algebra.GridIndex1D_swigregister
5171 GridIndex1D_swigregister(GridIndex1D)
5173 class GridIndex2D(IMP.base._Value):
5174 """Proxy of C++ IMP::algebra::GridIndexD<(2)> class"""
5175 __swig_setmethods__ = {}
5176 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5177 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndex2D, name, value)
5178 __swig_getmethods__ = {}
5179 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5180 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndex2D, name)
5181 def __init__(self, *args):
5183 __init__(IMP::algebra::GridIndexD<(2)> self) -> GridIndex2D
5184 __init__(IMP::algebra::GridIndexD<(2)> self, int x) -> GridIndex2D
5185 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y) -> GridIndex2D
5186 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y, int z) -> GridIndex2D
5187 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l) -> GridIndex2D
5188 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m) -> GridIndex2D
5189 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> GridIndex2D
5191 this = _IMP_algebra.new_GridIndex2D(*args)
5192 try: self.this.append(this)
5193 except: self.this = this
5194 def get_dimension(self):
5195 """get_dimension(GridIndex2D self) -> unsigned int"""
5196 return _IMP_algebra.GridIndex2D_get_dimension(self)
5198 def __getitem__(self, *args):
5199 """__getitem__(GridIndex2D self, unsigned int i) -> int const &"""
5200 return _IMP_algebra.GridIndex2D___getitem__(self, *args)
5202 def show(self, *args):
5204 show(GridIndex2D self, _ostream out=std::cout)
5205 show(GridIndex2D self)
5207 return _IMP_algebra.GridIndex2D_show(self, *args)
5210 """__len__(GridIndex2D self) -> unsigned int"""
5211 return _IMP_algebra.GridIndex2D___len__(self)
5213 def __eq__(self, *args):
5214 """__eq__(GridIndex2D self, GridIndex2D o) -> bool"""
5215 return _IMP_algebra.GridIndex2D___eq__(self, *args)
5217 def __ne__(self, *args):
5218 """__ne__(GridIndex2D self, GridIndex2D o) -> bool"""
5219 return _IMP_algebra.GridIndex2D___ne__(self, *args)
5221 def __lt__(self, *args):
5222 """__lt__(GridIndex2D self, GridIndex2D o) -> bool"""
5223 return _IMP_algebra.GridIndex2D___lt__(self, *args)
5225 def __gt__(self, *args):
5226 """__gt__(GridIndex2D self, GridIndex2D o) -> bool"""
5227 return _IMP_algebra.GridIndex2D___gt__(self, *args)
5229 def __ge__(self, *args):
5230 """__ge__(GridIndex2D self, GridIndex2D o) -> bool"""
5231 return _IMP_algebra.GridIndex2D___ge__(self, *args)
5233 def __le__(self, *args):
5234 """__le__(GridIndex2D self, GridIndex2D o) -> bool"""
5235 return _IMP_algebra.GridIndex2D___le__(self, *args)
5238 """__hash__(GridIndex2D self) -> std::size_t"""
5239 return _IMP_algebra.GridIndex2D___hash__(self)
5242 """__str__(GridIndex2D self) -> std::string"""
5243 return _IMP_algebra.GridIndex2D___str__(self)
5246 """__repr__(GridIndex2D self) -> std::string"""
5247 return _IMP_algebra.GridIndex2D___repr__(self)
5249 def __cmp__(self, *args):
5250 """__cmp__(GridIndex2D self, GridIndex2D arg2) -> int"""
5251 return _IMP_algebra.GridIndex2D___cmp__(self, *args)
5253 __swig_destroy__ = _IMP_algebra.delete_GridIndex2D
5254 __del__ =
lambda self :
None;
5255 GridIndex2D_swigregister = _IMP_algebra.GridIndex2D_swigregister
5256 GridIndex2D_swigregister(GridIndex2D)
5258 class GridIndex3D(IMP.base._Value):
5259 """Proxy of C++ IMP::algebra::GridIndexD<(3)> class"""
5260 __swig_setmethods__ = {}
5261 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5262 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndex3D, name, value)
5263 __swig_getmethods__ = {}
5264 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5265 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndex3D, name)
5266 def __init__(self, *args):
5268 __init__(IMP::algebra::GridIndexD<(3)> self) -> GridIndex3D
5269 __init__(IMP::algebra::GridIndexD<(3)> self, int x) -> GridIndex3D
5270 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y) -> GridIndex3D
5271 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y, int z) -> GridIndex3D
5272 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l) -> GridIndex3D
5273 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m) -> GridIndex3D
5274 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> GridIndex3D
5276 this = _IMP_algebra.new_GridIndex3D(*args)
5277 try: self.this.append(this)
5278 except: self.this = this
5279 def get_dimension(self):
5280 """get_dimension(GridIndex3D self) -> unsigned int"""
5281 return _IMP_algebra.GridIndex3D_get_dimension(self)
5283 def __getitem__(self, *args):
5284 """__getitem__(GridIndex3D self, unsigned int i) -> int const &"""
5285 return _IMP_algebra.GridIndex3D___getitem__(self, *args)
5287 def show(self, *args):
5289 show(GridIndex3D self, _ostream out=std::cout)
5290 show(GridIndex3D self)
5292 return _IMP_algebra.GridIndex3D_show(self, *args)
5295 """__len__(GridIndex3D self) -> unsigned int"""
5296 return _IMP_algebra.GridIndex3D___len__(self)
5298 def __eq__(self, *args):
5299 """__eq__(GridIndex3D self, GridIndex3D o) -> bool"""
5300 return _IMP_algebra.GridIndex3D___eq__(self, *args)
5302 def __ne__(self, *args):
5303 """__ne__(GridIndex3D self, GridIndex3D o) -> bool"""
5304 return _IMP_algebra.GridIndex3D___ne__(self, *args)
5306 def __lt__(self, *args):
5307 """__lt__(GridIndex3D self, GridIndex3D o) -> bool"""
5308 return _IMP_algebra.GridIndex3D___lt__(self, *args)
5310 def __gt__(self, *args):
5311 """__gt__(GridIndex3D self, GridIndex3D o) -> bool"""
5312 return _IMP_algebra.GridIndex3D___gt__(self, *args)
5314 def __ge__(self, *args):
5315 """__ge__(GridIndex3D self, GridIndex3D o) -> bool"""
5316 return _IMP_algebra.GridIndex3D___ge__(self, *args)
5318 def __le__(self, *args):
5319 """__le__(GridIndex3D self, GridIndex3D o) -> bool"""
5320 return _IMP_algebra.GridIndex3D___le__(self, *args)
5323 """__hash__(GridIndex3D self) -> std::size_t"""
5324 return _IMP_algebra.GridIndex3D___hash__(self)
5327 """__str__(GridIndex3D self) -> std::string"""
5328 return _IMP_algebra.GridIndex3D___str__(self)
5331 """__repr__(GridIndex3D self) -> std::string"""
5332 return _IMP_algebra.GridIndex3D___repr__(self)
5334 def __cmp__(self, *args):
5335 """__cmp__(GridIndex3D self, GridIndex3D arg2) -> int"""
5336 return _IMP_algebra.GridIndex3D___cmp__(self, *args)
5338 __swig_destroy__ = _IMP_algebra.delete_GridIndex3D
5339 __del__ =
lambda self :
None;
5340 GridIndex3D_swigregister = _IMP_algebra.GridIndex3D_swigregister
5341 GridIndex3D_swigregister(GridIndex3D)
5343 class GridIndex4D(IMP.base._Value):
5344 """Proxy of C++ IMP::algebra::GridIndexD<(4)> class"""
5345 __swig_setmethods__ = {}
5346 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5347 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndex4D, name, value)
5348 __swig_getmethods__ = {}
5349 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5350 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndex4D, name)
5351 def __init__(self, *args):
5353 __init__(IMP::algebra::GridIndexD<(4)> self) -> GridIndex4D
5354 __init__(IMP::algebra::GridIndexD<(4)> self, int x) -> GridIndex4D
5355 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y) -> GridIndex4D
5356 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y, int z) -> GridIndex4D
5357 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l) -> GridIndex4D
5358 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m) -> GridIndex4D
5359 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> GridIndex4D
5361 this = _IMP_algebra.new_GridIndex4D(*args)
5362 try: self.this.append(this)
5363 except: self.this = this
5364 def get_dimension(self):
5365 """get_dimension(GridIndex4D self) -> unsigned int"""
5366 return _IMP_algebra.GridIndex4D_get_dimension(self)
5368 def __getitem__(self, *args):
5369 """__getitem__(GridIndex4D self, unsigned int i) -> int const &"""
5370 return _IMP_algebra.GridIndex4D___getitem__(self, *args)
5372 def show(self, *args):
5374 show(GridIndex4D self, _ostream out=std::cout)
5375 show(GridIndex4D self)
5377 return _IMP_algebra.GridIndex4D_show(self, *args)
5380 """__len__(GridIndex4D self) -> unsigned int"""
5381 return _IMP_algebra.GridIndex4D___len__(self)
5383 def __eq__(self, *args):
5384 """__eq__(GridIndex4D self, GridIndex4D o) -> bool"""
5385 return _IMP_algebra.GridIndex4D___eq__(self, *args)
5387 def __ne__(self, *args):
5388 """__ne__(GridIndex4D self, GridIndex4D o) -> bool"""
5389 return _IMP_algebra.GridIndex4D___ne__(self, *args)
5391 def __lt__(self, *args):
5392 """__lt__(GridIndex4D self, GridIndex4D o) -> bool"""
5393 return _IMP_algebra.GridIndex4D___lt__(self, *args)
5395 def __gt__(self, *args):
5396 """__gt__(GridIndex4D self, GridIndex4D o) -> bool"""
5397 return _IMP_algebra.GridIndex4D___gt__(self, *args)
5399 def __ge__(self, *args):
5400 """__ge__(GridIndex4D self, GridIndex4D o) -> bool"""
5401 return _IMP_algebra.GridIndex4D___ge__(self, *args)
5403 def __le__(self, *args):
5404 """__le__(GridIndex4D self, GridIndex4D o) -> bool"""
5405 return _IMP_algebra.GridIndex4D___le__(self, *args)
5408 """__hash__(GridIndex4D self) -> std::size_t"""
5409 return _IMP_algebra.GridIndex4D___hash__(self)
5412 """__str__(GridIndex4D self) -> std::string"""
5413 return _IMP_algebra.GridIndex4D___str__(self)
5416 """__repr__(GridIndex4D self) -> std::string"""
5417 return _IMP_algebra.GridIndex4D___repr__(self)
5419 def __cmp__(self, *args):
5420 """__cmp__(GridIndex4D self, GridIndex4D arg2) -> int"""
5421 return _IMP_algebra.GridIndex4D___cmp__(self, *args)
5423 __swig_destroy__ = _IMP_algebra.delete_GridIndex4D
5424 __del__ =
lambda self :
None;
5425 GridIndex4D_swigregister = _IMP_algebra.GridIndex4D_swigregister
5426 GridIndex4D_swigregister(GridIndex4D)
5428 class GridIndex5D(IMP.base._Value):
5429 """Proxy of C++ IMP::algebra::GridIndexD<(5)> class"""
5430 __swig_setmethods__ = {}
5431 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5432 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndex5D, name, value)
5433 __swig_getmethods__ = {}
5434 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5435 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndex5D, name)
5436 def __init__(self, *args):
5438 __init__(IMP::algebra::GridIndexD<(5)> self) -> GridIndex5D
5439 __init__(IMP::algebra::GridIndexD<(5)> self, int x) -> GridIndex5D
5440 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y) -> GridIndex5D
5441 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y, int z) -> GridIndex5D
5442 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l) -> GridIndex5D
5443 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m) -> GridIndex5D
5444 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> GridIndex5D
5446 this = _IMP_algebra.new_GridIndex5D(*args)
5447 try: self.this.append(this)
5448 except: self.this = this
5449 def get_dimension(self):
5450 """get_dimension(GridIndex5D self) -> unsigned int"""
5451 return _IMP_algebra.GridIndex5D_get_dimension(self)
5453 def __getitem__(self, *args):
5454 """__getitem__(GridIndex5D self, unsigned int i) -> int const &"""
5455 return _IMP_algebra.GridIndex5D___getitem__(self, *args)
5457 def show(self, *args):
5459 show(GridIndex5D self, _ostream out=std::cout)
5460 show(GridIndex5D self)
5462 return _IMP_algebra.GridIndex5D_show(self, *args)
5465 """__len__(GridIndex5D self) -> unsigned int"""
5466 return _IMP_algebra.GridIndex5D___len__(self)
5468 def __eq__(self, *args):
5469 """__eq__(GridIndex5D self, GridIndex5D o) -> bool"""
5470 return _IMP_algebra.GridIndex5D___eq__(self, *args)
5472 def __ne__(self, *args):
5473 """__ne__(GridIndex5D self, GridIndex5D o) -> bool"""
5474 return _IMP_algebra.GridIndex5D___ne__(self, *args)
5476 def __lt__(self, *args):
5477 """__lt__(GridIndex5D self, GridIndex5D o) -> bool"""
5478 return _IMP_algebra.GridIndex5D___lt__(self, *args)
5480 def __gt__(self, *args):
5481 """__gt__(GridIndex5D self, GridIndex5D o) -> bool"""
5482 return _IMP_algebra.GridIndex5D___gt__(self, *args)
5484 def __ge__(self, *args):
5485 """__ge__(GridIndex5D self, GridIndex5D o) -> bool"""
5486 return _IMP_algebra.GridIndex5D___ge__(self, *args)
5488 def __le__(self, *args):
5489 """__le__(GridIndex5D self, GridIndex5D o) -> bool"""
5490 return _IMP_algebra.GridIndex5D___le__(self, *args)
5493 """__hash__(GridIndex5D self) -> std::size_t"""
5494 return _IMP_algebra.GridIndex5D___hash__(self)
5497 """__str__(GridIndex5D self) -> std::string"""
5498 return _IMP_algebra.GridIndex5D___str__(self)
5501 """__repr__(GridIndex5D self) -> std::string"""
5502 return _IMP_algebra.GridIndex5D___repr__(self)
5504 def __cmp__(self, *args):
5505 """__cmp__(GridIndex5D self, GridIndex5D arg2) -> int"""
5506 return _IMP_algebra.GridIndex5D___cmp__(self, *args)
5508 __swig_destroy__ = _IMP_algebra.delete_GridIndex5D
5509 __del__ =
lambda self :
None;
5510 GridIndex5D_swigregister = _IMP_algebra.GridIndex5D_swigregister
5511 GridIndex5D_swigregister(GridIndex5D)
5513 class GridIndex6D(IMP.base._Value):
5514 """Proxy of C++ IMP::algebra::GridIndexD<(6)> class"""
5515 __swig_setmethods__ = {}
5516 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5517 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndex6D, name, value)
5518 __swig_getmethods__ = {}
5519 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5520 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndex6D, name)
5521 def __init__(self, *args):
5523 __init__(IMP::algebra::GridIndexD<(6)> self) -> GridIndex6D
5524 __init__(IMP::algebra::GridIndexD<(6)> self, int x) -> GridIndex6D
5525 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y) -> GridIndex6D
5526 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y, int z) -> GridIndex6D
5527 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l) -> GridIndex6D
5528 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m) -> GridIndex6D
5529 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> GridIndex6D
5531 this = _IMP_algebra.new_GridIndex6D(*args)
5532 try: self.this.append(this)
5533 except: self.this = this
5534 def get_dimension(self):
5535 """get_dimension(GridIndex6D self) -> unsigned int"""
5536 return _IMP_algebra.GridIndex6D_get_dimension(self)
5538 def __getitem__(self, *args):
5539 """__getitem__(GridIndex6D self, unsigned int i) -> int const &"""
5540 return _IMP_algebra.GridIndex6D___getitem__(self, *args)
5542 def show(self, *args):
5544 show(GridIndex6D self, _ostream out=std::cout)
5545 show(GridIndex6D self)
5547 return _IMP_algebra.GridIndex6D_show(self, *args)
5550 """__len__(GridIndex6D self) -> unsigned int"""
5551 return _IMP_algebra.GridIndex6D___len__(self)
5553 def __eq__(self, *args):
5554 """__eq__(GridIndex6D self, GridIndex6D o) -> bool"""
5555 return _IMP_algebra.GridIndex6D___eq__(self, *args)
5557 def __ne__(self, *args):
5558 """__ne__(GridIndex6D self, GridIndex6D o) -> bool"""
5559 return _IMP_algebra.GridIndex6D___ne__(self, *args)
5561 def __lt__(self, *args):
5562 """__lt__(GridIndex6D self, GridIndex6D o) -> bool"""
5563 return _IMP_algebra.GridIndex6D___lt__(self, *args)
5565 def __gt__(self, *args):
5566 """__gt__(GridIndex6D self, GridIndex6D o) -> bool"""
5567 return _IMP_algebra.GridIndex6D___gt__(self, *args)
5569 def __ge__(self, *args):
5570 """__ge__(GridIndex6D self, GridIndex6D o) -> bool"""
5571 return _IMP_algebra.GridIndex6D___ge__(self, *args)
5573 def __le__(self, *args):
5574 """__le__(GridIndex6D self, GridIndex6D o) -> bool"""
5575 return _IMP_algebra.GridIndex6D___le__(self, *args)
5578 """__hash__(GridIndex6D self) -> std::size_t"""
5579 return _IMP_algebra.GridIndex6D___hash__(self)
5582 """__str__(GridIndex6D self) -> std::string"""
5583 return _IMP_algebra.GridIndex6D___str__(self)
5586 """__repr__(GridIndex6D self) -> std::string"""
5587 return _IMP_algebra.GridIndex6D___repr__(self)
5589 def __cmp__(self, *args):
5590 """__cmp__(GridIndex6D self, GridIndex6D arg2) -> int"""
5591 return _IMP_algebra.GridIndex6D___cmp__(self, *args)
5593 __swig_destroy__ = _IMP_algebra.delete_GridIndex6D
5594 __del__ =
lambda self :
None;
5595 GridIndex6D_swigregister = _IMP_algebra.GridIndex6D_swigregister
5596 GridIndex6D_swigregister(GridIndex6D)
5598 class GridIndexKD(IMP.base._Value):
5599 """Proxy of C++ IMP::algebra::GridIndexD<(-1)> class"""
5600 __swig_setmethods__ = {}
5601 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5602 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndexKD, name, value)
5603 __swig_getmethods__ = {}
5604 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5605 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndexKD, name)
5606 def __init__(self, *args):
5608 __init__(IMP::algebra::GridIndexD<(-1)> self) -> GridIndexKD
5609 __init__(IMP::algebra::GridIndexD<(-1)> self, int x) -> GridIndexKD
5610 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y) -> GridIndexKD
5611 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y, int z) -> GridIndexKD
5612 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l) -> GridIndexKD
5613 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> GridIndexKD
5614 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> GridIndexKD
5616 this = _IMP_algebra.new_GridIndexKD(*args)
5617 try: self.this.append(this)
5618 except: self.this = this
5619 def get_dimension(self):
5620 """get_dimension(GridIndexKD self) -> unsigned int"""
5621 return _IMP_algebra.GridIndexKD_get_dimension(self)
5623 def __getitem__(self, *args):
5624 """__getitem__(GridIndexKD self, unsigned int i) -> int const &"""
5625 return _IMP_algebra.GridIndexKD___getitem__(self, *args)
5627 def show(self, *args):
5629 show(GridIndexKD self, _ostream out=std::cout)
5630 show(GridIndexKD self)
5632 return _IMP_algebra.GridIndexKD_show(self, *args)
5635 """__len__(GridIndexKD self) -> unsigned int"""
5636 return _IMP_algebra.GridIndexKD___len__(self)
5638 def __eq__(self, *args):
5639 """__eq__(GridIndexKD self, GridIndexKD o) -> bool"""
5640 return _IMP_algebra.GridIndexKD___eq__(self, *args)
5642 def __ne__(self, *args):
5643 """__ne__(GridIndexKD self, GridIndexKD o) -> bool"""
5644 return _IMP_algebra.GridIndexKD___ne__(self, *args)
5646 def __lt__(self, *args):
5647 """__lt__(GridIndexKD self, GridIndexKD o) -> bool"""
5648 return _IMP_algebra.GridIndexKD___lt__(self, *args)
5650 def __gt__(self, *args):
5651 """__gt__(GridIndexKD self, GridIndexKD o) -> bool"""
5652 return _IMP_algebra.GridIndexKD___gt__(self, *args)
5654 def __ge__(self, *args):
5655 """__ge__(GridIndexKD self, GridIndexKD o) -> bool"""
5656 return _IMP_algebra.GridIndexKD___ge__(self, *args)
5658 def __le__(self, *args):
5659 """__le__(GridIndexKD self, GridIndexKD o) -> bool"""
5660 return _IMP_algebra.GridIndexKD___le__(self, *args)
5663 """__hash__(GridIndexKD self) -> std::size_t"""
5664 return _IMP_algebra.GridIndexKD___hash__(self)
5667 """__str__(GridIndexKD self) -> std::string"""
5668 return _IMP_algebra.GridIndexKD___str__(self)
5671 """__repr__(GridIndexKD self) -> std::string"""
5672 return _IMP_algebra.GridIndexKD___repr__(self)
5674 def __cmp__(self, *args):
5675 """__cmp__(GridIndexKD self, GridIndexKD arg2) -> int"""
5676 return _IMP_algebra.GridIndexKD___cmp__(self, *args)
5678 __swig_destroy__ = _IMP_algebra.delete_GridIndexKD
5679 __del__ =
lambda self :
None;
5680 GridIndexKD_swigregister = _IMP_algebra.GridIndexKD_swigregister
5681 GridIndexKD_swigregister(GridIndexKD)
5683 class ExtendedGridIndex1D(IMP.base._Value):
5684 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(1)> class"""
5685 __swig_setmethods__ = {}
5686 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5687 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndex1D, name, value)
5688 __swig_getmethods__ = {}
5689 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5690 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndex1D, name)
5691 def __init__(self, *args):
5693 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, IMP::Ints vals) -> ExtendedGridIndex1D
5694 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x) -> ExtendedGridIndex1D
5695 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y) -> ExtendedGridIndex1D
5696 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y, int z) -> ExtendedGridIndex1D
5697 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l) -> ExtendedGridIndex1D
5698 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex1D
5699 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex1D
5700 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self) -> ExtendedGridIndex1D
5702 this = _IMP_algebra.new_ExtendedGridIndex1D(*args)
5703 try: self.this.append(this)
5704 except: self.this = this
5705 def get_dimension(self):
5706 """get_dimension(ExtendedGridIndex1D self) -> unsigned int"""
5707 return _IMP_algebra.ExtendedGridIndex1D_get_dimension(self)
5709 def __eq__(self, *args):
5710 """__eq__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
5711 return _IMP_algebra.ExtendedGridIndex1D___eq__(self, *args)
5713 def __ne__(self, *args):
5714 """__ne__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
5715 return _IMP_algebra.ExtendedGridIndex1D___ne__(self, *args)
5717 def __lt__(self, *args):
5718 """__lt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
5719 return _IMP_algebra.ExtendedGridIndex1D___lt__(self, *args)
5721 def __gt__(self, *args):
5722 """__gt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
5723 return _IMP_algebra.ExtendedGridIndex1D___gt__(self, *args)
5725 def __ge__(self, *args):
5726 """__ge__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
5727 return _IMP_algebra.ExtendedGridIndex1D___ge__(self, *args)
5729 def __le__(self, *args):
5730 """__le__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
5731 return _IMP_algebra.ExtendedGridIndex1D___le__(self, *args)
5733 def __setitem__(self, *args):
5734 """__setitem__(ExtendedGridIndex1D self, unsigned int i, int const & v)"""
5735 return _IMP_algebra.ExtendedGridIndex1D___setitem__(self, *args)
5737 def __getitem__(self, *args):
5738 """__getitem__(ExtendedGridIndex1D self, unsigned int i) -> int const &"""
5739 return _IMP_algebra.ExtendedGridIndex1D___getitem__(self, *args)
5741 def show(self, *args):
5743 show(ExtendedGridIndex1D self, _ostream out=std::cout)
5744 show(ExtendedGridIndex1D self)
5746 return _IMP_algebra.ExtendedGridIndex1D_show(self, *args)
5749 """__len__(ExtendedGridIndex1D self) -> unsigned int"""
5750 return _IMP_algebra.ExtendedGridIndex1D___len__(self)
5753 """__hash__(ExtendedGridIndex1D self) -> std::size_t"""
5754 return _IMP_algebra.ExtendedGridIndex1D___hash__(self)
5756 def get_uniform_offset(self, *args):
5757 """get_uniform_offset(ExtendedGridIndex1D self, int ii) -> ExtendedGridIndex1D"""
5758 return _IMP_algebra.ExtendedGridIndex1D_get_uniform_offset(self, *args)
5760 def get_offset(self, *args):
5761 """get_offset(ExtendedGridIndex1D self, int i, int j, int k) -> ExtendedGridIndex1D"""
5762 return _IMP_algebra.ExtendedGridIndex1D_get_offset(self, *args)
5765 """__str__(ExtendedGridIndex1D self) -> std::string"""
5766 return _IMP_algebra.ExtendedGridIndex1D___str__(self)
5769 """__repr__(ExtendedGridIndex1D self) -> std::string"""
5770 return _IMP_algebra.ExtendedGridIndex1D___repr__(self)
5772 def __cmp__(self, *args):
5773 """__cmp__(ExtendedGridIndex1D self, ExtendedGridIndex1D arg2) -> int"""
5774 return _IMP_algebra.ExtendedGridIndex1D___cmp__(self, *args)
5776 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex1D
5777 __del__ =
lambda self :
None;
5778 ExtendedGridIndex1D_swigregister = _IMP_algebra.ExtendedGridIndex1D_swigregister
5779 ExtendedGridIndex1D_swigregister(ExtendedGridIndex1D)
5781 class ExtendedGridIndex2D(IMP.base._Value):
5782 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(2)> class"""
5783 __swig_setmethods__ = {}
5784 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5785 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndex2D, name, value)
5786 __swig_getmethods__ = {}
5787 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5788 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndex2D, name)
5789 def __init__(self, *args):
5791 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, IMP::Ints vals) -> ExtendedGridIndex2D
5792 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x) -> ExtendedGridIndex2D
5793 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y) -> ExtendedGridIndex2D
5794 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y, int z) -> ExtendedGridIndex2D
5795 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l) -> ExtendedGridIndex2D
5796 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex2D
5797 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex2D
5798 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self) -> ExtendedGridIndex2D
5800 this = _IMP_algebra.new_ExtendedGridIndex2D(*args)
5801 try: self.this.append(this)
5802 except: self.this = this
5803 def get_dimension(self):
5804 """get_dimension(ExtendedGridIndex2D self) -> unsigned int"""
5805 return _IMP_algebra.ExtendedGridIndex2D_get_dimension(self)
5807 def __eq__(self, *args):
5808 """__eq__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
5809 return _IMP_algebra.ExtendedGridIndex2D___eq__(self, *args)
5811 def __ne__(self, *args):
5812 """__ne__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
5813 return _IMP_algebra.ExtendedGridIndex2D___ne__(self, *args)
5815 def __lt__(self, *args):
5816 """__lt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
5817 return _IMP_algebra.ExtendedGridIndex2D___lt__(self, *args)
5819 def __gt__(self, *args):
5820 """__gt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
5821 return _IMP_algebra.ExtendedGridIndex2D___gt__(self, *args)
5823 def __ge__(self, *args):
5824 """__ge__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
5825 return _IMP_algebra.ExtendedGridIndex2D___ge__(self, *args)
5827 def __le__(self, *args):
5828 """__le__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
5829 return _IMP_algebra.ExtendedGridIndex2D___le__(self, *args)
5831 def __setitem__(self, *args):
5832 """__setitem__(ExtendedGridIndex2D self, unsigned int i, int const & v)"""
5833 return _IMP_algebra.ExtendedGridIndex2D___setitem__(self, *args)
5835 def __getitem__(self, *args):
5836 """__getitem__(ExtendedGridIndex2D self, unsigned int i) -> int const &"""
5837 return _IMP_algebra.ExtendedGridIndex2D___getitem__(self, *args)
5839 def show(self, *args):
5841 show(ExtendedGridIndex2D self, _ostream out=std::cout)
5842 show(ExtendedGridIndex2D self)
5844 return _IMP_algebra.ExtendedGridIndex2D_show(self, *args)
5847 """__len__(ExtendedGridIndex2D self) -> unsigned int"""
5848 return _IMP_algebra.ExtendedGridIndex2D___len__(self)
5851 """__hash__(ExtendedGridIndex2D self) -> std::size_t"""
5852 return _IMP_algebra.ExtendedGridIndex2D___hash__(self)
5854 def get_uniform_offset(self, *args):
5855 """get_uniform_offset(ExtendedGridIndex2D self, int ii) -> ExtendedGridIndex2D"""
5856 return _IMP_algebra.ExtendedGridIndex2D_get_uniform_offset(self, *args)
5858 def get_offset(self, *args):
5859 """get_offset(ExtendedGridIndex2D self, int i, int j, int k) -> ExtendedGridIndex2D"""
5860 return _IMP_algebra.ExtendedGridIndex2D_get_offset(self, *args)
5863 """__str__(ExtendedGridIndex2D self) -> std::string"""
5864 return _IMP_algebra.ExtendedGridIndex2D___str__(self)
5867 """__repr__(ExtendedGridIndex2D self) -> std::string"""
5868 return _IMP_algebra.ExtendedGridIndex2D___repr__(self)
5870 def __cmp__(self, *args):
5871 """__cmp__(ExtendedGridIndex2D self, ExtendedGridIndex2D arg2) -> int"""
5872 return _IMP_algebra.ExtendedGridIndex2D___cmp__(self, *args)
5874 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex2D
5875 __del__ =
lambda self :
None;
5876 ExtendedGridIndex2D_swigregister = _IMP_algebra.ExtendedGridIndex2D_swigregister
5877 ExtendedGridIndex2D_swigregister(ExtendedGridIndex2D)
5879 class ExtendedGridIndex3D(IMP.base._Value):
5880 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(3)> class"""
5881 __swig_setmethods__ = {}
5882 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5883 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndex3D, name, value)
5884 __swig_getmethods__ = {}
5885 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5886 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndex3D, name)
5887 def __init__(self, *args):
5889 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, IMP::Ints vals) -> ExtendedGridIndex3D
5890 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x) -> ExtendedGridIndex3D
5891 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y) -> ExtendedGridIndex3D
5892 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y, int z) -> ExtendedGridIndex3D
5893 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l) -> ExtendedGridIndex3D
5894 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex3D
5895 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex3D
5896 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self) -> ExtendedGridIndex3D
5898 this = _IMP_algebra.new_ExtendedGridIndex3D(*args)
5899 try: self.this.append(this)
5900 except: self.this = this
5901 def get_dimension(self):
5902 """get_dimension(ExtendedGridIndex3D self) -> unsigned int"""
5903 return _IMP_algebra.ExtendedGridIndex3D_get_dimension(self)
5905 def __eq__(self, *args):
5906 """__eq__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5907 return _IMP_algebra.ExtendedGridIndex3D___eq__(self, *args)
5909 def __ne__(self, *args):
5910 """__ne__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5911 return _IMP_algebra.ExtendedGridIndex3D___ne__(self, *args)
5913 def __lt__(self, *args):
5914 """__lt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5915 return _IMP_algebra.ExtendedGridIndex3D___lt__(self, *args)
5917 def __gt__(self, *args):
5918 """__gt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5919 return _IMP_algebra.ExtendedGridIndex3D___gt__(self, *args)
5921 def __ge__(self, *args):
5922 """__ge__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5923 return _IMP_algebra.ExtendedGridIndex3D___ge__(self, *args)
5925 def __le__(self, *args):
5926 """__le__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5927 return _IMP_algebra.ExtendedGridIndex3D___le__(self, *args)
5929 def __setitem__(self, *args):
5930 """__setitem__(ExtendedGridIndex3D self, unsigned int i, int const & v)"""
5931 return _IMP_algebra.ExtendedGridIndex3D___setitem__(self, *args)
5933 def __getitem__(self, *args):
5934 """__getitem__(ExtendedGridIndex3D self, unsigned int i) -> int const &"""
5935 return _IMP_algebra.ExtendedGridIndex3D___getitem__(self, *args)
5937 def show(self, *args):
5939 show(ExtendedGridIndex3D self, _ostream out=std::cout)
5940 show(ExtendedGridIndex3D self)
5942 return _IMP_algebra.ExtendedGridIndex3D_show(self, *args)
5945 """__len__(ExtendedGridIndex3D self) -> unsigned int"""
5946 return _IMP_algebra.ExtendedGridIndex3D___len__(self)
5949 """__hash__(ExtendedGridIndex3D self) -> std::size_t"""
5950 return _IMP_algebra.ExtendedGridIndex3D___hash__(self)
5952 def get_uniform_offset(self, *args):
5953 """get_uniform_offset(ExtendedGridIndex3D self, int ii) -> ExtendedGridIndex3D"""
5954 return _IMP_algebra.ExtendedGridIndex3D_get_uniform_offset(self, *args)
5956 def get_offset(self, *args):
5957 """get_offset(ExtendedGridIndex3D self, int i, int j, int k) -> ExtendedGridIndex3D"""
5958 return _IMP_algebra.ExtendedGridIndex3D_get_offset(self, *args)
5961 """__str__(ExtendedGridIndex3D self) -> std::string"""
5962 return _IMP_algebra.ExtendedGridIndex3D___str__(self)
5965 """__repr__(ExtendedGridIndex3D self) -> std::string"""
5966 return _IMP_algebra.ExtendedGridIndex3D___repr__(self)
5968 def __cmp__(self, *args):
5969 """__cmp__(ExtendedGridIndex3D self, ExtendedGridIndex3D arg2) -> int"""
5970 return _IMP_algebra.ExtendedGridIndex3D___cmp__(self, *args)
5972 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex3D
5973 __del__ =
lambda self :
None;
5974 ExtendedGridIndex3D_swigregister = _IMP_algebra.ExtendedGridIndex3D_swigregister
5975 ExtendedGridIndex3D_swigregister(ExtendedGridIndex3D)
5977 class ExtendedGridIndex4D(IMP.base._Value):
5978 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(4)> class"""
5979 __swig_setmethods__ = {}
5980 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5981 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndex4D, name, value)
5982 __swig_getmethods__ = {}
5983 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5984 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndex4D, name)
5985 def __init__(self, *args):
5987 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, IMP::Ints vals) -> ExtendedGridIndex4D
5988 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x) -> ExtendedGridIndex4D
5989 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y) -> ExtendedGridIndex4D
5990 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y, int z) -> ExtendedGridIndex4D
5991 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l) -> ExtendedGridIndex4D
5992 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex4D
5993 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex4D
5994 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self) -> ExtendedGridIndex4D
5996 this = _IMP_algebra.new_ExtendedGridIndex4D(*args)
5997 try: self.this.append(this)
5998 except: self.this = this
5999 def get_dimension(self):
6000 """get_dimension(ExtendedGridIndex4D self) -> unsigned int"""
6001 return _IMP_algebra.ExtendedGridIndex4D_get_dimension(self)
6003 def __eq__(self, *args):
6004 """__eq__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
6005 return _IMP_algebra.ExtendedGridIndex4D___eq__(self, *args)
6007 def __ne__(self, *args):
6008 """__ne__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
6009 return _IMP_algebra.ExtendedGridIndex4D___ne__(self, *args)
6011 def __lt__(self, *args):
6012 """__lt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
6013 return _IMP_algebra.ExtendedGridIndex4D___lt__(self, *args)
6015 def __gt__(self, *args):
6016 """__gt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
6017 return _IMP_algebra.ExtendedGridIndex4D___gt__(self, *args)
6019 def __ge__(self, *args):
6020 """__ge__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
6021 return _IMP_algebra.ExtendedGridIndex4D___ge__(self, *args)
6023 def __le__(self, *args):
6024 """__le__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
6025 return _IMP_algebra.ExtendedGridIndex4D___le__(self, *args)
6027 def __setitem__(self, *args):
6028 """__setitem__(ExtendedGridIndex4D self, unsigned int i, int const & v)"""
6029 return _IMP_algebra.ExtendedGridIndex4D___setitem__(self, *args)
6031 def __getitem__(self, *args):
6032 """__getitem__(ExtendedGridIndex4D self, unsigned int i) -> int const &"""
6033 return _IMP_algebra.ExtendedGridIndex4D___getitem__(self, *args)
6035 def show(self, *args):
6037 show(ExtendedGridIndex4D self, _ostream out=std::cout)
6038 show(ExtendedGridIndex4D self)
6040 return _IMP_algebra.ExtendedGridIndex4D_show(self, *args)
6043 """__len__(ExtendedGridIndex4D self) -> unsigned int"""
6044 return _IMP_algebra.ExtendedGridIndex4D___len__(self)
6047 """__hash__(ExtendedGridIndex4D self) -> std::size_t"""
6048 return _IMP_algebra.ExtendedGridIndex4D___hash__(self)
6050 def get_uniform_offset(self, *args):
6051 """get_uniform_offset(ExtendedGridIndex4D self, int ii) -> ExtendedGridIndex4D"""
6052 return _IMP_algebra.ExtendedGridIndex4D_get_uniform_offset(self, *args)
6054 def get_offset(self, *args):
6055 """get_offset(ExtendedGridIndex4D self, int i, int j, int k) -> ExtendedGridIndex4D"""
6056 return _IMP_algebra.ExtendedGridIndex4D_get_offset(self, *args)
6059 """__str__(ExtendedGridIndex4D self) -> std::string"""
6060 return _IMP_algebra.ExtendedGridIndex4D___str__(self)
6063 """__repr__(ExtendedGridIndex4D self) -> std::string"""
6064 return _IMP_algebra.ExtendedGridIndex4D___repr__(self)
6066 def __cmp__(self, *args):
6067 """__cmp__(ExtendedGridIndex4D self, ExtendedGridIndex4D arg2) -> int"""
6068 return _IMP_algebra.ExtendedGridIndex4D___cmp__(self, *args)
6070 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex4D
6071 __del__ =
lambda self :
None;
6072 ExtendedGridIndex4D_swigregister = _IMP_algebra.ExtendedGridIndex4D_swigregister
6073 ExtendedGridIndex4D_swigregister(ExtendedGridIndex4D)
6075 class ExtendedGridIndex5D(IMP.base._Value):
6076 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(5)> class"""
6077 __swig_setmethods__ = {}
6078 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6079 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndex5D, name, value)
6080 __swig_getmethods__ = {}
6081 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6082 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndex5D, name)
6083 def __init__(self, *args):
6085 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, IMP::Ints vals) -> ExtendedGridIndex5D
6086 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x) -> ExtendedGridIndex5D
6087 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y) -> ExtendedGridIndex5D
6088 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y, int z) -> ExtendedGridIndex5D
6089 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l) -> ExtendedGridIndex5D
6090 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex5D
6091 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex5D
6092 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self) -> ExtendedGridIndex5D
6094 this = _IMP_algebra.new_ExtendedGridIndex5D(*args)
6095 try: self.this.append(this)
6096 except: self.this = this
6097 def get_dimension(self):
6098 """get_dimension(ExtendedGridIndex5D self) -> unsigned int"""
6099 return _IMP_algebra.ExtendedGridIndex5D_get_dimension(self)
6101 def __eq__(self, *args):
6102 """__eq__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
6103 return _IMP_algebra.ExtendedGridIndex5D___eq__(self, *args)
6105 def __ne__(self, *args):
6106 """__ne__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
6107 return _IMP_algebra.ExtendedGridIndex5D___ne__(self, *args)
6109 def __lt__(self, *args):
6110 """__lt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
6111 return _IMP_algebra.ExtendedGridIndex5D___lt__(self, *args)
6113 def __gt__(self, *args):
6114 """__gt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
6115 return _IMP_algebra.ExtendedGridIndex5D___gt__(self, *args)
6117 def __ge__(self, *args):
6118 """__ge__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
6119 return _IMP_algebra.ExtendedGridIndex5D___ge__(self, *args)
6121 def __le__(self, *args):
6122 """__le__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
6123 return _IMP_algebra.ExtendedGridIndex5D___le__(self, *args)
6125 def __setitem__(self, *args):
6126 """__setitem__(ExtendedGridIndex5D self, unsigned int i, int const & v)"""
6127 return _IMP_algebra.ExtendedGridIndex5D___setitem__(self, *args)
6129 def __getitem__(self, *args):
6130 """__getitem__(ExtendedGridIndex5D self, unsigned int i) -> int const &"""
6131 return _IMP_algebra.ExtendedGridIndex5D___getitem__(self, *args)
6133 def show(self, *args):
6135 show(ExtendedGridIndex5D self, _ostream out=std::cout)
6136 show(ExtendedGridIndex5D self)
6138 return _IMP_algebra.ExtendedGridIndex5D_show(self, *args)
6141 """__len__(ExtendedGridIndex5D self) -> unsigned int"""
6142 return _IMP_algebra.ExtendedGridIndex5D___len__(self)
6145 """__hash__(ExtendedGridIndex5D self) -> std::size_t"""
6146 return _IMP_algebra.ExtendedGridIndex5D___hash__(self)
6148 def get_uniform_offset(self, *args):
6149 """get_uniform_offset(ExtendedGridIndex5D self, int ii) -> ExtendedGridIndex5D"""
6150 return _IMP_algebra.ExtendedGridIndex5D_get_uniform_offset(self, *args)
6152 def get_offset(self, *args):
6153 """get_offset(ExtendedGridIndex5D self, int i, int j, int k) -> ExtendedGridIndex5D"""
6154 return _IMP_algebra.ExtendedGridIndex5D_get_offset(self, *args)
6157 """__str__(ExtendedGridIndex5D self) -> std::string"""
6158 return _IMP_algebra.ExtendedGridIndex5D___str__(self)
6161 """__repr__(ExtendedGridIndex5D self) -> std::string"""
6162 return _IMP_algebra.ExtendedGridIndex5D___repr__(self)
6164 def __cmp__(self, *args):
6165 """__cmp__(ExtendedGridIndex5D self, ExtendedGridIndex5D arg2) -> int"""
6166 return _IMP_algebra.ExtendedGridIndex5D___cmp__(self, *args)
6168 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex5D
6169 __del__ =
lambda self :
None;
6170 ExtendedGridIndex5D_swigregister = _IMP_algebra.ExtendedGridIndex5D_swigregister
6171 ExtendedGridIndex5D_swigregister(ExtendedGridIndex5D)
6173 class ExtendedGridIndex6D(IMP.base._Value):
6174 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(6)> class"""
6175 __swig_setmethods__ = {}
6176 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6177 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndex6D, name, value)
6178 __swig_getmethods__ = {}
6179 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6180 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndex6D, name)
6181 def __init__(self, *args):
6183 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, IMP::Ints vals) -> ExtendedGridIndex6D
6184 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x) -> ExtendedGridIndex6D
6185 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y) -> ExtendedGridIndex6D
6186 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y, int z) -> ExtendedGridIndex6D
6187 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l) -> ExtendedGridIndex6D
6188 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex6D
6189 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex6D
6190 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self) -> ExtendedGridIndex6D
6192 this = _IMP_algebra.new_ExtendedGridIndex6D(*args)
6193 try: self.this.append(this)
6194 except: self.this = this
6195 def get_dimension(self):
6196 """get_dimension(ExtendedGridIndex6D self) -> unsigned int"""
6197 return _IMP_algebra.ExtendedGridIndex6D_get_dimension(self)
6199 def __eq__(self, *args):
6200 """__eq__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
6201 return _IMP_algebra.ExtendedGridIndex6D___eq__(self, *args)
6203 def __ne__(self, *args):
6204 """__ne__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
6205 return _IMP_algebra.ExtendedGridIndex6D___ne__(self, *args)
6207 def __lt__(self, *args):
6208 """__lt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
6209 return _IMP_algebra.ExtendedGridIndex6D___lt__(self, *args)
6211 def __gt__(self, *args):
6212 """__gt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
6213 return _IMP_algebra.ExtendedGridIndex6D___gt__(self, *args)
6215 def __ge__(self, *args):
6216 """__ge__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
6217 return _IMP_algebra.ExtendedGridIndex6D___ge__(self, *args)
6219 def __le__(self, *args):
6220 """__le__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
6221 return _IMP_algebra.ExtendedGridIndex6D___le__(self, *args)
6223 def __setitem__(self, *args):
6224 """__setitem__(ExtendedGridIndex6D self, unsigned int i, int const & v)"""
6225 return _IMP_algebra.ExtendedGridIndex6D___setitem__(self, *args)
6227 def __getitem__(self, *args):
6228 """__getitem__(ExtendedGridIndex6D self, unsigned int i) -> int const &"""
6229 return _IMP_algebra.ExtendedGridIndex6D___getitem__(self, *args)
6231 def show(self, *args):
6233 show(ExtendedGridIndex6D self, _ostream out=std::cout)
6234 show(ExtendedGridIndex6D self)
6236 return _IMP_algebra.ExtendedGridIndex6D_show(self, *args)
6239 """__len__(ExtendedGridIndex6D self) -> unsigned int"""
6240 return _IMP_algebra.ExtendedGridIndex6D___len__(self)
6243 """__hash__(ExtendedGridIndex6D self) -> std::size_t"""
6244 return _IMP_algebra.ExtendedGridIndex6D___hash__(self)
6246 def get_uniform_offset(self, *args):
6247 """get_uniform_offset(ExtendedGridIndex6D self, int ii) -> ExtendedGridIndex6D"""
6248 return _IMP_algebra.ExtendedGridIndex6D_get_uniform_offset(self, *args)
6250 def get_offset(self, *args):
6251 """get_offset(ExtendedGridIndex6D self, int i, int j, int k) -> ExtendedGridIndex6D"""
6252 return _IMP_algebra.ExtendedGridIndex6D_get_offset(self, *args)
6255 """__str__(ExtendedGridIndex6D self) -> std::string"""
6256 return _IMP_algebra.ExtendedGridIndex6D___str__(self)
6259 """__repr__(ExtendedGridIndex6D self) -> std::string"""
6260 return _IMP_algebra.ExtendedGridIndex6D___repr__(self)
6262 def __cmp__(self, *args):
6263 """__cmp__(ExtendedGridIndex6D self, ExtendedGridIndex6D arg2) -> int"""
6264 return _IMP_algebra.ExtendedGridIndex6D___cmp__(self, *args)
6266 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex6D
6267 __del__ =
lambda self :
None;
6268 ExtendedGridIndex6D_swigregister = _IMP_algebra.ExtendedGridIndex6D_swigregister
6269 ExtendedGridIndex6D_swigregister(ExtendedGridIndex6D)
6271 class ExtendedGridIndexKD(IMP.base._Value):
6272 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(-1)> class"""
6273 __swig_setmethods__ = {}
6274 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6275 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndexKD, name, value)
6276 __swig_getmethods__ = {}
6277 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6278 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndexKD, name)
6279 def __init__(self, *args):
6281 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, IMP::Ints vals) -> ExtendedGridIndexKD
6282 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x) -> ExtendedGridIndexKD
6283 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y) -> ExtendedGridIndexKD
6284 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y, int z) -> ExtendedGridIndexKD
6285 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l) -> ExtendedGridIndexKD
6286 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndexKD
6287 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndexKD
6288 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self) -> ExtendedGridIndexKD
6290 this = _IMP_algebra.new_ExtendedGridIndexKD(*args)
6291 try: self.this.append(this)
6292 except: self.this = this
6293 def get_dimension(self):
6294 """get_dimension(ExtendedGridIndexKD self) -> unsigned int"""
6295 return _IMP_algebra.ExtendedGridIndexKD_get_dimension(self)
6297 def __eq__(self, *args):
6298 """__eq__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
6299 return _IMP_algebra.ExtendedGridIndexKD___eq__(self, *args)
6301 def __ne__(self, *args):
6302 """__ne__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
6303 return _IMP_algebra.ExtendedGridIndexKD___ne__(self, *args)
6305 def __lt__(self, *args):
6306 """__lt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
6307 return _IMP_algebra.ExtendedGridIndexKD___lt__(self, *args)
6309 def __gt__(self, *args):
6310 """__gt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
6311 return _IMP_algebra.ExtendedGridIndexKD___gt__(self, *args)
6313 def __ge__(self, *args):
6314 """__ge__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
6315 return _IMP_algebra.ExtendedGridIndexKD___ge__(self, *args)
6317 def __le__(self, *args):
6318 """__le__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
6319 return _IMP_algebra.ExtendedGridIndexKD___le__(self, *args)
6321 def __setitem__(self, *args):
6322 """__setitem__(ExtendedGridIndexKD self, unsigned int i, int const & v)"""
6323 return _IMP_algebra.ExtendedGridIndexKD___setitem__(self, *args)
6325 def __getitem__(self, *args):
6326 """__getitem__(ExtendedGridIndexKD self, unsigned int i) -> int const &"""
6327 return _IMP_algebra.ExtendedGridIndexKD___getitem__(self, *args)
6329 def show(self, *args):
6331 show(ExtendedGridIndexKD self, _ostream out=std::cout)
6332 show(ExtendedGridIndexKD self)
6334 return _IMP_algebra.ExtendedGridIndexKD_show(self, *args)
6337 """__len__(ExtendedGridIndexKD self) -> unsigned int"""
6338 return _IMP_algebra.ExtendedGridIndexKD___len__(self)
6341 """__hash__(ExtendedGridIndexKD self) -> std::size_t"""
6342 return _IMP_algebra.ExtendedGridIndexKD___hash__(self)
6344 def get_uniform_offset(self, *args):
6345 """get_uniform_offset(ExtendedGridIndexKD self, int ii) -> ExtendedGridIndexKD"""
6346 return _IMP_algebra.ExtendedGridIndexKD_get_uniform_offset(self, *args)
6348 def get_offset(self, *args):
6349 """get_offset(ExtendedGridIndexKD self, int i, int j, int k) -> ExtendedGridIndexKD"""
6350 return _IMP_algebra.ExtendedGridIndexKD_get_offset(self, *args)
6353 """__str__(ExtendedGridIndexKD self) -> std::string"""
6354 return _IMP_algebra.ExtendedGridIndexKD___str__(self)
6357 """__repr__(ExtendedGridIndexKD self) -> std::string"""
6358 return _IMP_algebra.ExtendedGridIndexKD___repr__(self)
6360 def __cmp__(self, *args):
6361 """__cmp__(ExtendedGridIndexKD self, ExtendedGridIndexKD arg2) -> int"""
6362 return _IMP_algebra.ExtendedGridIndexKD___cmp__(self, *args)
6364 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndexKD
6365 __del__ =
lambda self :
None;
6366 ExtendedGridIndexKD_swigregister = _IMP_algebra.ExtendedGridIndexKD_swigregister
6367 ExtendedGridIndexKD_swigregister(ExtendedGridIndexKD)
6369 class BoundedGridRange1D(_object):
6370 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(1)> class"""
6371 __swig_setmethods__ = {}
6372 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRange1D, name, value)
6373 __swig_getmethods__ = {}
6374 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRange1D, name)
6375 def get_is_bounded():
6376 """get_is_bounded() -> bool"""
6377 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
6379 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6380 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6381 def __init__(self, *args):
6383 __init__(IMP::algebra::BoundedGridRangeD<(1)> self) -> BoundedGridRange1D
6384 __init__(IMP::algebra::BoundedGridRangeD<(1)> self, IMP::Ints const & counts) -> BoundedGridRange1D
6386 this = _IMP_algebra.new_BoundedGridRange1D(*args)
6387 try: self.this.append(this)
6388 except: self.this = this
6389 def get_number_of_voxels(self, *args):
6391 get_number_of_voxels(BoundedGridRange1D self, unsigned int i) -> unsigned int
6392 get_number_of_voxels(BoundedGridRange1D self) -> unsigned int
6394 return _IMP_algebra.BoundedGridRange1D_get_number_of_voxels(self, *args)
6396 def get_end_index(self):
6397 """get_end_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
6398 return _IMP_algebra.BoundedGridRange1D_get_end_index(self)
6400 def show(self, *args):
6402 show(BoundedGridRange1D self, _ostream out=std::cout)
6403 show(BoundedGridRange1D self)
6405 return _IMP_algebra.BoundedGridRange1D_show(self, *args)
6407 def get_all_indexes(self):
6408 """get_all_indexes(BoundedGridRange1D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 1 > >"""
6409 return _IMP_algebra.BoundedGridRange1D_get_all_indexes(self)
6412 """get_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 1 > >"""
6413 return _IMP_algebra.BoundedGridRange1D_get_indexes(self, *args)
6415 def get_extended_indexes(self, *args):
6416 """get_extended_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
6417 return _IMP_algebra.BoundedGridRange1D_get_extended_indexes(self, *args)
6420 """get_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> GridIndex1D"""
6421 return _IMP_algebra.BoundedGridRange1D_get_index(self, *args)
6423 def get_has_index(self, *args):
6424 """get_has_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> bool"""
6425 return _IMP_algebra.BoundedGridRange1D_get_has_index(self, *args)
6427 def get_minimum_extended_index(self):
6428 """get_minimum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
6429 return _IMP_algebra.BoundedGridRange1D_get_minimum_extended_index(self)
6431 def get_maximum_extended_index(self):
6432 """get_maximum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
6433 return _IMP_algebra.BoundedGridRange1D_get_maximum_extended_index(self)
6436 """__str__(BoundedGridRange1D self) -> std::string"""
6437 return _IMP_algebra.BoundedGridRange1D___str__(self)
6440 """__repr__(BoundedGridRange1D self) -> std::string"""
6441 return _IMP_algebra.BoundedGridRange1D___repr__(self)
6443 def __cmp__(self, *args):
6444 """__cmp__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> int"""
6445 return _IMP_algebra.BoundedGridRange1D___cmp__(self, *args)
6447 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange1D
6448 __del__ =
lambda self :
None;
6449 BoundedGridRange1D_swigregister = _IMP_algebra.BoundedGridRange1D_swigregister
6450 BoundedGridRange1D_swigregister(BoundedGridRange1D)
6452 def BoundedGridRange1D_get_is_bounded():
6453 """BoundedGridRange1D_get_is_bounded() -> bool"""
6454 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
6456 class BoundedGridRange2D(_object):
6457 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(2)> class"""
6458 __swig_setmethods__ = {}
6459 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRange2D, name, value)
6460 __swig_getmethods__ = {}
6461 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRange2D, name)
6462 def get_is_bounded():
6463 """get_is_bounded() -> bool"""
6464 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
6466 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6467 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6468 def __init__(self, *args):
6470 __init__(IMP::algebra::BoundedGridRangeD<(2)> self) -> BoundedGridRange2D
6471 __init__(IMP::algebra::BoundedGridRangeD<(2)> self, IMP::Ints const & counts) -> BoundedGridRange2D
6473 this = _IMP_algebra.new_BoundedGridRange2D(*args)
6474 try: self.this.append(this)
6475 except: self.this = this
6476 def get_number_of_voxels(self, *args):
6478 get_number_of_voxels(BoundedGridRange2D self, unsigned int i) -> unsigned int
6479 get_number_of_voxels(BoundedGridRange2D self) -> unsigned int
6481 return _IMP_algebra.BoundedGridRange2D_get_number_of_voxels(self, *args)
6483 def get_end_index(self):
6484 """get_end_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
6485 return _IMP_algebra.BoundedGridRange2D_get_end_index(self)
6487 def show(self, *args):
6489 show(BoundedGridRange2D self, _ostream out=std::cout)
6490 show(BoundedGridRange2D self)
6492 return _IMP_algebra.BoundedGridRange2D_show(self, *args)
6494 def get_all_indexes(self):
6495 """get_all_indexes(BoundedGridRange2D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 2 > >"""
6496 return _IMP_algebra.BoundedGridRange2D_get_all_indexes(self)
6499 """get_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 2 > >"""
6500 return _IMP_algebra.BoundedGridRange2D_get_indexes(self, *args)
6502 def get_extended_indexes(self, *args):
6503 """get_extended_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
6504 return _IMP_algebra.BoundedGridRange2D_get_extended_indexes(self, *args)
6507 """get_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> GridIndex2D"""
6508 return _IMP_algebra.BoundedGridRange2D_get_index(self, *args)
6510 def get_has_index(self, *args):
6511 """get_has_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> bool"""
6512 return _IMP_algebra.BoundedGridRange2D_get_has_index(self, *args)
6514 def get_minimum_extended_index(self):
6515 """get_minimum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
6516 return _IMP_algebra.BoundedGridRange2D_get_minimum_extended_index(self)
6518 def get_maximum_extended_index(self):
6519 """get_maximum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
6520 return _IMP_algebra.BoundedGridRange2D_get_maximum_extended_index(self)
6523 """__str__(BoundedGridRange2D self) -> std::string"""
6524 return _IMP_algebra.BoundedGridRange2D___str__(self)
6527 """__repr__(BoundedGridRange2D self) -> std::string"""
6528 return _IMP_algebra.BoundedGridRange2D___repr__(self)
6530 def __cmp__(self, *args):
6531 """__cmp__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> int"""
6532 return _IMP_algebra.BoundedGridRange2D___cmp__(self, *args)
6534 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange2D
6535 __del__ =
lambda self :
None;
6536 BoundedGridRange2D_swigregister = _IMP_algebra.BoundedGridRange2D_swigregister
6537 BoundedGridRange2D_swigregister(BoundedGridRange2D)
6539 def BoundedGridRange2D_get_is_bounded():
6540 """BoundedGridRange2D_get_is_bounded() -> bool"""
6541 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
6543 class BoundedGridRange3D(_object):
6544 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(3)> class"""
6545 __swig_setmethods__ = {}
6546 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRange3D, name, value)
6547 __swig_getmethods__ = {}
6548 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRange3D, name)
6549 def get_is_bounded():
6550 """get_is_bounded() -> bool"""
6551 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
6553 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6554 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6555 def __init__(self, *args):
6557 __init__(IMP::algebra::BoundedGridRangeD<(3)> self) -> BoundedGridRange3D
6558 __init__(IMP::algebra::BoundedGridRangeD<(3)> self, IMP::Ints const & counts) -> BoundedGridRange3D
6560 this = _IMP_algebra.new_BoundedGridRange3D(*args)
6561 try: self.this.append(this)
6562 except: self.this = this
6563 def get_number_of_voxels(self, *args):
6565 get_number_of_voxels(BoundedGridRange3D self, unsigned int i) -> unsigned int
6566 get_number_of_voxels(BoundedGridRange3D self) -> unsigned int
6568 return _IMP_algebra.BoundedGridRange3D_get_number_of_voxels(self, *args)
6570 def get_end_index(self):
6571 """get_end_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
6572 return _IMP_algebra.BoundedGridRange3D_get_end_index(self)
6574 def show(self, *args):
6576 show(BoundedGridRange3D self, _ostream out=std::cout)
6577 show(BoundedGridRange3D self)
6579 return _IMP_algebra.BoundedGridRange3D_show(self, *args)
6581 def get_all_indexes(self):
6582 """get_all_indexes(BoundedGridRange3D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
6583 return _IMP_algebra.BoundedGridRange3D_get_all_indexes(self)
6586 """get_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
6587 return _IMP_algebra.BoundedGridRange3D_get_indexes(self, *args)
6589 def get_extended_indexes(self, *args):
6590 """get_extended_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
6591 return _IMP_algebra.BoundedGridRange3D_get_extended_indexes(self, *args)
6594 """get_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6595 return _IMP_algebra.BoundedGridRange3D_get_index(self, *args)
6597 def get_has_index(self, *args):
6598 """get_has_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> bool"""
6599 return _IMP_algebra.BoundedGridRange3D_get_has_index(self, *args)
6601 def get_minimum_extended_index(self):
6602 """get_minimum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
6603 return _IMP_algebra.BoundedGridRange3D_get_minimum_extended_index(self)
6605 def get_maximum_extended_index(self):
6606 """get_maximum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
6607 return _IMP_algebra.BoundedGridRange3D_get_maximum_extended_index(self)
6610 """__str__(BoundedGridRange3D self) -> std::string"""
6611 return _IMP_algebra.BoundedGridRange3D___str__(self)
6614 """__repr__(BoundedGridRange3D self) -> std::string"""
6615 return _IMP_algebra.BoundedGridRange3D___repr__(self)
6617 def __cmp__(self, *args):
6618 """__cmp__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> int"""
6619 return _IMP_algebra.BoundedGridRange3D___cmp__(self, *args)
6621 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange3D
6622 __del__ =
lambda self :
None;
6623 BoundedGridRange3D_swigregister = _IMP_algebra.BoundedGridRange3D_swigregister
6624 BoundedGridRange3D_swigregister(BoundedGridRange3D)
6626 def BoundedGridRange3D_get_is_bounded():
6627 """BoundedGridRange3D_get_is_bounded() -> bool"""
6628 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
6630 class BoundedGridRange4D(_object):
6631 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(4)> class"""
6632 __swig_setmethods__ = {}
6633 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRange4D, name, value)
6634 __swig_getmethods__ = {}
6635 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRange4D, name)
6636 def get_is_bounded():
6637 """get_is_bounded() -> bool"""
6638 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
6640 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6641 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6642 def __init__(self, *args):
6644 __init__(IMP::algebra::BoundedGridRangeD<(4)> self) -> BoundedGridRange4D
6645 __init__(IMP::algebra::BoundedGridRangeD<(4)> self, IMP::Ints const & counts) -> BoundedGridRange4D
6647 this = _IMP_algebra.new_BoundedGridRange4D(*args)
6648 try: self.this.append(this)
6649 except: self.this = this
6650 def get_number_of_voxels(self, *args):
6652 get_number_of_voxels(BoundedGridRange4D self, unsigned int i) -> unsigned int
6653 get_number_of_voxels(BoundedGridRange4D self) -> unsigned int
6655 return _IMP_algebra.BoundedGridRange4D_get_number_of_voxels(self, *args)
6657 def get_end_index(self):
6658 """get_end_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
6659 return _IMP_algebra.BoundedGridRange4D_get_end_index(self)
6661 def show(self, *args):
6663 show(BoundedGridRange4D self, _ostream out=std::cout)
6664 show(BoundedGridRange4D self)
6666 return _IMP_algebra.BoundedGridRange4D_show(self, *args)
6668 def get_all_indexes(self):
6669 """get_all_indexes(BoundedGridRange4D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 4 > >"""
6670 return _IMP_algebra.BoundedGridRange4D_get_all_indexes(self)
6673 """get_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 4 > >"""
6674 return _IMP_algebra.BoundedGridRange4D_get_indexes(self, *args)
6676 def get_extended_indexes(self, *args):
6677 """get_extended_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
6678 return _IMP_algebra.BoundedGridRange4D_get_extended_indexes(self, *args)
6681 """get_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> GridIndex4D"""
6682 return _IMP_algebra.BoundedGridRange4D_get_index(self, *args)
6684 def get_has_index(self, *args):
6685 """get_has_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> bool"""
6686 return _IMP_algebra.BoundedGridRange4D_get_has_index(self, *args)
6688 def get_minimum_extended_index(self):
6689 """get_minimum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
6690 return _IMP_algebra.BoundedGridRange4D_get_minimum_extended_index(self)
6692 def get_maximum_extended_index(self):
6693 """get_maximum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
6694 return _IMP_algebra.BoundedGridRange4D_get_maximum_extended_index(self)
6697 """__str__(BoundedGridRange4D self) -> std::string"""
6698 return _IMP_algebra.BoundedGridRange4D___str__(self)
6701 """__repr__(BoundedGridRange4D self) -> std::string"""
6702 return _IMP_algebra.BoundedGridRange4D___repr__(self)
6704 def __cmp__(self, *args):
6705 """__cmp__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> int"""
6706 return _IMP_algebra.BoundedGridRange4D___cmp__(self, *args)
6708 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange4D
6709 __del__ =
lambda self :
None;
6710 BoundedGridRange4D_swigregister = _IMP_algebra.BoundedGridRange4D_swigregister
6711 BoundedGridRange4D_swigregister(BoundedGridRange4D)
6713 def BoundedGridRange4D_get_is_bounded():
6714 """BoundedGridRange4D_get_is_bounded() -> bool"""
6715 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
6717 class BoundedGridRange5D(_object):
6718 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(5)> class"""
6719 __swig_setmethods__ = {}
6720 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRange5D, name, value)
6721 __swig_getmethods__ = {}
6722 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRange5D, name)
6723 def get_is_bounded():
6724 """get_is_bounded() -> bool"""
6725 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
6727 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6728 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6729 def __init__(self, *args):
6731 __init__(IMP::algebra::BoundedGridRangeD<(5)> self) -> BoundedGridRange5D
6732 __init__(IMP::algebra::BoundedGridRangeD<(5)> self, IMP::Ints const & counts) -> BoundedGridRange5D
6734 this = _IMP_algebra.new_BoundedGridRange5D(*args)
6735 try: self.this.append(this)
6736 except: self.this = this
6737 def get_number_of_voxels(self, *args):
6739 get_number_of_voxels(BoundedGridRange5D self, unsigned int i) -> unsigned int
6740 get_number_of_voxels(BoundedGridRange5D self) -> unsigned int
6742 return _IMP_algebra.BoundedGridRange5D_get_number_of_voxels(self, *args)
6744 def get_end_index(self):
6745 """get_end_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
6746 return _IMP_algebra.BoundedGridRange5D_get_end_index(self)
6748 def show(self, *args):
6750 show(BoundedGridRange5D self, _ostream out=std::cout)
6751 show(BoundedGridRange5D self)
6753 return _IMP_algebra.BoundedGridRange5D_show(self, *args)
6755 def get_all_indexes(self):
6756 """get_all_indexes(BoundedGridRange5D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 5 > >"""
6757 return _IMP_algebra.BoundedGridRange5D_get_all_indexes(self)
6760 """get_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 5 > >"""
6761 return _IMP_algebra.BoundedGridRange5D_get_indexes(self, *args)
6763 def get_extended_indexes(self, *args):
6764 """get_extended_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
6765 return _IMP_algebra.BoundedGridRange5D_get_extended_indexes(self, *args)
6768 """get_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> GridIndex5D"""
6769 return _IMP_algebra.BoundedGridRange5D_get_index(self, *args)
6771 def get_has_index(self, *args):
6772 """get_has_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> bool"""
6773 return _IMP_algebra.BoundedGridRange5D_get_has_index(self, *args)
6775 def get_minimum_extended_index(self):
6776 """get_minimum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
6777 return _IMP_algebra.BoundedGridRange5D_get_minimum_extended_index(self)
6779 def get_maximum_extended_index(self):
6780 """get_maximum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
6781 return _IMP_algebra.BoundedGridRange5D_get_maximum_extended_index(self)
6784 """__str__(BoundedGridRange5D self) -> std::string"""
6785 return _IMP_algebra.BoundedGridRange5D___str__(self)
6788 """__repr__(BoundedGridRange5D self) -> std::string"""
6789 return _IMP_algebra.BoundedGridRange5D___repr__(self)
6791 def __cmp__(self, *args):
6792 """__cmp__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> int"""
6793 return _IMP_algebra.BoundedGridRange5D___cmp__(self, *args)
6795 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange5D
6796 __del__ =
lambda self :
None;
6797 BoundedGridRange5D_swigregister = _IMP_algebra.BoundedGridRange5D_swigregister
6798 BoundedGridRange5D_swigregister(BoundedGridRange5D)
6800 def BoundedGridRange5D_get_is_bounded():
6801 """BoundedGridRange5D_get_is_bounded() -> bool"""
6802 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
6804 class BoundedGridRange6D(_object):
6805 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(6)> class"""
6806 __swig_setmethods__ = {}
6807 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRange6D, name, value)
6808 __swig_getmethods__ = {}
6809 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRange6D, name)
6810 def get_is_bounded():
6811 """get_is_bounded() -> bool"""
6812 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
6814 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6815 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6816 def __init__(self, *args):
6818 __init__(IMP::algebra::BoundedGridRangeD<(6)> self) -> BoundedGridRange6D
6819 __init__(IMP::algebra::BoundedGridRangeD<(6)> self, IMP::Ints const & counts) -> BoundedGridRange6D
6821 this = _IMP_algebra.new_BoundedGridRange6D(*args)
6822 try: self.this.append(this)
6823 except: self.this = this
6824 def get_number_of_voxels(self, *args):
6826 get_number_of_voxels(BoundedGridRange6D self, unsigned int i) -> unsigned int
6827 get_number_of_voxels(BoundedGridRange6D self) -> unsigned int
6829 return _IMP_algebra.BoundedGridRange6D_get_number_of_voxels(self, *args)
6831 def get_end_index(self):
6832 """get_end_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
6833 return _IMP_algebra.BoundedGridRange6D_get_end_index(self)
6835 def show(self, *args):
6837 show(BoundedGridRange6D self, _ostream out=std::cout)
6838 show(BoundedGridRange6D self)
6840 return _IMP_algebra.BoundedGridRange6D_show(self, *args)
6842 def get_all_indexes(self):
6843 """get_all_indexes(BoundedGridRange6D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 6 > >"""
6844 return _IMP_algebra.BoundedGridRange6D_get_all_indexes(self)
6847 """get_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 6 > >"""
6848 return _IMP_algebra.BoundedGridRange6D_get_indexes(self, *args)
6850 def get_extended_indexes(self, *args):
6851 """get_extended_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
6852 return _IMP_algebra.BoundedGridRange6D_get_extended_indexes(self, *args)
6855 """get_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> GridIndex6D"""
6856 return _IMP_algebra.BoundedGridRange6D_get_index(self, *args)
6858 def get_has_index(self, *args):
6859 """get_has_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> bool"""
6860 return _IMP_algebra.BoundedGridRange6D_get_has_index(self, *args)
6862 def get_minimum_extended_index(self):
6863 """get_minimum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
6864 return _IMP_algebra.BoundedGridRange6D_get_minimum_extended_index(self)
6866 def get_maximum_extended_index(self):
6867 """get_maximum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
6868 return _IMP_algebra.BoundedGridRange6D_get_maximum_extended_index(self)
6871 """__str__(BoundedGridRange6D self) -> std::string"""
6872 return _IMP_algebra.BoundedGridRange6D___str__(self)
6875 """__repr__(BoundedGridRange6D self) -> std::string"""
6876 return _IMP_algebra.BoundedGridRange6D___repr__(self)
6878 def __cmp__(self, *args):
6879 """__cmp__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> int"""
6880 return _IMP_algebra.BoundedGridRange6D___cmp__(self, *args)
6882 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange6D
6883 __del__ =
lambda self :
None;
6884 BoundedGridRange6D_swigregister = _IMP_algebra.BoundedGridRange6D_swigregister
6885 BoundedGridRange6D_swigregister(BoundedGridRange6D)
6887 def BoundedGridRange6D_get_is_bounded():
6888 """BoundedGridRange6D_get_is_bounded() -> bool"""
6889 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
6891 class BoundedGridRangeKD(_object):
6892 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(-1)> class"""
6893 __swig_setmethods__ = {}
6894 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRangeKD, name, value)
6895 __swig_getmethods__ = {}
6896 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRangeKD, name)
6897 def get_is_bounded():
6898 """get_is_bounded() -> bool"""
6899 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
6901 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6902 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6903 def __init__(self, *args):
6905 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self) -> BoundedGridRangeKD
6906 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self, IMP::Ints const & counts) -> BoundedGridRangeKD
6908 this = _IMP_algebra.new_BoundedGridRangeKD(*args)
6909 try: self.this.append(this)
6910 except: self.this = this
6911 def get_number_of_voxels(self, *args):
6913 get_number_of_voxels(BoundedGridRangeKD self, unsigned int i) -> unsigned int
6914 get_number_of_voxels(BoundedGridRangeKD self) -> unsigned int
6916 return _IMP_algebra.BoundedGridRangeKD_get_number_of_voxels(self, *args)
6918 def get_end_index(self):
6919 """get_end_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
6920 return _IMP_algebra.BoundedGridRangeKD_get_end_index(self)
6922 def show(self, *args):
6924 show(BoundedGridRangeKD self, _ostream out=std::cout)
6925 show(BoundedGridRangeKD self)
6927 return _IMP_algebra.BoundedGridRangeKD_show(self, *args)
6929 def get_all_indexes(self):
6930 """get_all_indexes(BoundedGridRangeKD self) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
6931 return _IMP_algebra.BoundedGridRangeKD_get_all_indexes(self)
6934 """get_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
6935 return _IMP_algebra.BoundedGridRangeKD_get_indexes(self, *args)
6937 def get_extended_indexes(self, *args):
6938 """get_extended_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
6939 return _IMP_algebra.BoundedGridRangeKD_get_extended_indexes(self, *args)
6942 """get_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
6943 return _IMP_algebra.BoundedGridRangeKD_get_index(self, *args)
6945 def get_has_index(self, *args):
6946 """get_has_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> bool"""
6947 return _IMP_algebra.BoundedGridRangeKD_get_has_index(self, *args)
6949 def get_minimum_extended_index(self):
6950 """get_minimum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
6951 return _IMP_algebra.BoundedGridRangeKD_get_minimum_extended_index(self)
6953 def get_maximum_extended_index(self):
6954 """get_maximum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
6955 return _IMP_algebra.BoundedGridRangeKD_get_maximum_extended_index(self)
6958 """__str__(BoundedGridRangeKD self) -> std::string"""
6959 return _IMP_algebra.BoundedGridRangeKD___str__(self)
6962 """__repr__(BoundedGridRangeKD self) -> std::string"""
6963 return _IMP_algebra.BoundedGridRangeKD___repr__(self)
6965 def __cmp__(self, *args):
6966 """__cmp__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> int"""
6967 return _IMP_algebra.BoundedGridRangeKD___cmp__(self, *args)
6969 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRangeKD
6970 __del__ =
lambda self :
None;
6971 BoundedGridRangeKD_swigregister = _IMP_algebra.BoundedGridRangeKD_swigregister
6972 BoundedGridRangeKD_swigregister(BoundedGridRangeKD)
6974 def BoundedGridRangeKD_get_is_bounded():
6975 """BoundedGridRangeKD_get_is_bounded() -> bool"""
6976 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
6978 class UnboundedGridRange1D(_object):
6979 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(1)> class"""
6980 __swig_setmethods__ = {}
6981 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRange1D, name, value)
6982 __swig_getmethods__ = {}
6983 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRange1D, name)
6984 def __init__(self, *args):
6986 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self) -> UnboundedGridRange1D
6987 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self, IMP::Ints const & arg2) -> UnboundedGridRange1D
6989 this = _IMP_algebra.new_UnboundedGridRange1D(*args)
6990 try: self.this.append(this)
6991 except: self.this = this
6992 def set_number_of_voxels(self, *args):
6993 """set_number_of_voxels(UnboundedGridRange1D self, IMP::Ints arg2)"""
6994 return _IMP_algebra.UnboundedGridRange1D_set_number_of_voxels(self, *args)
6996 def get_number_of_voxels(self, *args):
6997 """get_number_of_voxels(UnboundedGridRange1D self, int arg2) -> unsigned int"""
6998 return _IMP_algebra.UnboundedGridRange1D_get_number_of_voxels(self, *args)
7000 def get_is_bounded():
7001 """get_is_bounded() -> bool"""
7002 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
7004 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
7005 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
7006 def get_has_index(self, *args):
7007 """get_has_index(UnboundedGridRange1D self, ExtendedGridIndex1D arg2) -> bool"""
7008 return _IMP_algebra.UnboundedGridRange1D_get_has_index(self, *args)
7010 def show(self, *args):
7012 show(UnboundedGridRange1D self, _ostream out=std::cout)
7013 show(UnboundedGridRange1D self)
7015 return _IMP_algebra.UnboundedGridRange1D_show(self, *args)
7017 def get_extended_indexes(self, *args):
7018 """get_extended_indexes(UnboundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
7019 return _IMP_algebra.UnboundedGridRange1D_get_extended_indexes(self, *args)
7022 """__str__(UnboundedGridRange1D self) -> std::string"""
7023 return _IMP_algebra.UnboundedGridRange1D___str__(self)
7026 """__repr__(UnboundedGridRange1D self) -> std::string"""
7027 return _IMP_algebra.UnboundedGridRange1D___repr__(self)
7029 def __cmp__(self, *args):
7030 """__cmp__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> int"""
7031 return _IMP_algebra.UnboundedGridRange1D___cmp__(self, *args)
7033 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange1D
7034 __del__ =
lambda self :
None;
7035 UnboundedGridRange1D_swigregister = _IMP_algebra.UnboundedGridRange1D_swigregister
7036 UnboundedGridRange1D_swigregister(UnboundedGridRange1D)
7038 def UnboundedGridRange1D_get_is_bounded():
7039 """UnboundedGridRange1D_get_is_bounded() -> bool"""
7040 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
7042 class UnboundedGridRange2D(_object):
7043 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(2)> class"""
7044 __swig_setmethods__ = {}
7045 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRange2D, name, value)
7046 __swig_getmethods__ = {}
7047 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRange2D, name)
7048 def __init__(self, *args):
7050 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self) -> UnboundedGridRange2D
7051 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self, IMP::Ints const & arg2) -> UnboundedGridRange2D
7053 this = _IMP_algebra.new_UnboundedGridRange2D(*args)
7054 try: self.this.append(this)
7055 except: self.this = this
7056 def set_number_of_voxels(self, *args):
7057 """set_number_of_voxels(UnboundedGridRange2D self, IMP::Ints arg2)"""
7058 return _IMP_algebra.UnboundedGridRange2D_set_number_of_voxels(self, *args)
7060 def get_number_of_voxels(self, *args):
7061 """get_number_of_voxels(UnboundedGridRange2D self, int arg2) -> unsigned int"""
7062 return _IMP_algebra.UnboundedGridRange2D_get_number_of_voxels(self, *args)
7064 def get_is_bounded():
7065 """get_is_bounded() -> bool"""
7066 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
7068 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
7069 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
7070 def get_has_index(self, *args):
7071 """get_has_index(UnboundedGridRange2D self, ExtendedGridIndex2D arg2) -> bool"""
7072 return _IMP_algebra.UnboundedGridRange2D_get_has_index(self, *args)
7074 def show(self, *args):
7076 show(UnboundedGridRange2D self, _ostream out=std::cout)
7077 show(UnboundedGridRange2D self)
7079 return _IMP_algebra.UnboundedGridRange2D_show(self, *args)
7081 def get_extended_indexes(self, *args):
7082 """get_extended_indexes(UnboundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
7083 return _IMP_algebra.UnboundedGridRange2D_get_extended_indexes(self, *args)
7086 """__str__(UnboundedGridRange2D self) -> std::string"""
7087 return _IMP_algebra.UnboundedGridRange2D___str__(self)
7090 """__repr__(UnboundedGridRange2D self) -> std::string"""
7091 return _IMP_algebra.UnboundedGridRange2D___repr__(self)
7093 def __cmp__(self, *args):
7094 """__cmp__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> int"""
7095 return _IMP_algebra.UnboundedGridRange2D___cmp__(self, *args)
7097 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange2D
7098 __del__ =
lambda self :
None;
7099 UnboundedGridRange2D_swigregister = _IMP_algebra.UnboundedGridRange2D_swigregister
7100 UnboundedGridRange2D_swigregister(UnboundedGridRange2D)
7102 def UnboundedGridRange2D_get_is_bounded():
7103 """UnboundedGridRange2D_get_is_bounded() -> bool"""
7104 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
7106 class UnboundedGridRange3D(_object):
7107 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(3)> class"""
7108 __swig_setmethods__ = {}
7109 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRange3D, name, value)
7110 __swig_getmethods__ = {}
7111 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRange3D, name)
7112 def __init__(self, *args):
7114 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self) -> UnboundedGridRange3D
7115 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self, IMP::Ints const & arg2) -> UnboundedGridRange3D
7117 this = _IMP_algebra.new_UnboundedGridRange3D(*args)
7118 try: self.this.append(this)
7119 except: self.this = this
7120 def set_number_of_voxels(self, *args):
7121 """set_number_of_voxels(UnboundedGridRange3D self, IMP::Ints arg2)"""
7122 return _IMP_algebra.UnboundedGridRange3D_set_number_of_voxels(self, *args)
7124 def get_number_of_voxels(self, *args):
7125 """get_number_of_voxels(UnboundedGridRange3D self, int arg2) -> unsigned int"""
7126 return _IMP_algebra.UnboundedGridRange3D_get_number_of_voxels(self, *args)
7128 def get_is_bounded():
7129 """get_is_bounded() -> bool"""
7130 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
7132 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
7133 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
7134 def get_has_index(self, *args):
7135 """get_has_index(UnboundedGridRange3D self, ExtendedGridIndex3D arg2) -> bool"""
7136 return _IMP_algebra.UnboundedGridRange3D_get_has_index(self, *args)
7138 def show(self, *args):
7140 show(UnboundedGridRange3D self, _ostream out=std::cout)
7141 show(UnboundedGridRange3D self)
7143 return _IMP_algebra.UnboundedGridRange3D_show(self, *args)
7145 def get_extended_indexes(self, *args):
7146 """get_extended_indexes(UnboundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
7147 return _IMP_algebra.UnboundedGridRange3D_get_extended_indexes(self, *args)
7150 """__str__(UnboundedGridRange3D self) -> std::string"""
7151 return _IMP_algebra.UnboundedGridRange3D___str__(self)
7154 """__repr__(UnboundedGridRange3D self) -> std::string"""
7155 return _IMP_algebra.UnboundedGridRange3D___repr__(self)
7157 def __cmp__(self, *args):
7158 """__cmp__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> int"""
7159 return _IMP_algebra.UnboundedGridRange3D___cmp__(self, *args)
7161 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange3D
7162 __del__ =
lambda self :
None;
7163 UnboundedGridRange3D_swigregister = _IMP_algebra.UnboundedGridRange3D_swigregister
7164 UnboundedGridRange3D_swigregister(UnboundedGridRange3D)
7166 def UnboundedGridRange3D_get_is_bounded():
7167 """UnboundedGridRange3D_get_is_bounded() -> bool"""
7168 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
7170 class UnboundedGridRange4D(_object):
7171 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(4)> class"""
7172 __swig_setmethods__ = {}
7173 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRange4D, name, value)
7174 __swig_getmethods__ = {}
7175 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRange4D, name)
7176 def __init__(self, *args):
7178 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self) -> UnboundedGridRange4D
7179 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self, IMP::Ints const & arg2) -> UnboundedGridRange4D
7181 this = _IMP_algebra.new_UnboundedGridRange4D(*args)
7182 try: self.this.append(this)
7183 except: self.this = this
7184 def set_number_of_voxels(self, *args):
7185 """set_number_of_voxels(UnboundedGridRange4D self, IMP::Ints arg2)"""
7186 return _IMP_algebra.UnboundedGridRange4D_set_number_of_voxels(self, *args)
7188 def get_number_of_voxels(self, *args):
7189 """get_number_of_voxels(UnboundedGridRange4D self, int arg2) -> unsigned int"""
7190 return _IMP_algebra.UnboundedGridRange4D_get_number_of_voxels(self, *args)
7192 def get_is_bounded():
7193 """get_is_bounded() -> bool"""
7194 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
7196 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
7197 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
7198 def get_has_index(self, *args):
7199 """get_has_index(UnboundedGridRange4D self, ExtendedGridIndex4D arg2) -> bool"""
7200 return _IMP_algebra.UnboundedGridRange4D_get_has_index(self, *args)
7202 def show(self, *args):
7204 show(UnboundedGridRange4D self, _ostream out=std::cout)
7205 show(UnboundedGridRange4D self)
7207 return _IMP_algebra.UnboundedGridRange4D_show(self, *args)
7209 def get_extended_indexes(self, *args):
7210 """get_extended_indexes(UnboundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
7211 return _IMP_algebra.UnboundedGridRange4D_get_extended_indexes(self, *args)
7214 """__str__(UnboundedGridRange4D self) -> std::string"""
7215 return _IMP_algebra.UnboundedGridRange4D___str__(self)
7218 """__repr__(UnboundedGridRange4D self) -> std::string"""
7219 return _IMP_algebra.UnboundedGridRange4D___repr__(self)
7221 def __cmp__(self, *args):
7222 """__cmp__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> int"""
7223 return _IMP_algebra.UnboundedGridRange4D___cmp__(self, *args)
7225 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange4D
7226 __del__ =
lambda self :
None;
7227 UnboundedGridRange4D_swigregister = _IMP_algebra.UnboundedGridRange4D_swigregister
7228 UnboundedGridRange4D_swigregister(UnboundedGridRange4D)
7230 def UnboundedGridRange4D_get_is_bounded():
7231 """UnboundedGridRange4D_get_is_bounded() -> bool"""
7232 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
7234 class UnboundedGridRange5D(_object):
7235 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(5)> class"""
7236 __swig_setmethods__ = {}
7237 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRange5D, name, value)
7238 __swig_getmethods__ = {}
7239 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRange5D, name)
7240 def __init__(self, *args):
7242 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self) -> UnboundedGridRange5D
7243 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self, IMP::Ints const & arg2) -> UnboundedGridRange5D
7245 this = _IMP_algebra.new_UnboundedGridRange5D(*args)
7246 try: self.this.append(this)
7247 except: self.this = this
7248 def set_number_of_voxels(self, *args):
7249 """set_number_of_voxels(UnboundedGridRange5D self, IMP::Ints arg2)"""
7250 return _IMP_algebra.UnboundedGridRange5D_set_number_of_voxels(self, *args)
7252 def get_number_of_voxels(self, *args):
7253 """get_number_of_voxels(UnboundedGridRange5D self, int arg2) -> unsigned int"""
7254 return _IMP_algebra.UnboundedGridRange5D_get_number_of_voxels(self, *args)
7256 def get_is_bounded():
7257 """get_is_bounded() -> bool"""
7258 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
7260 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
7261 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
7262 def get_has_index(self, *args):
7263 """get_has_index(UnboundedGridRange5D self, ExtendedGridIndex5D arg2) -> bool"""
7264 return _IMP_algebra.UnboundedGridRange5D_get_has_index(self, *args)
7266 def show(self, *args):
7268 show(UnboundedGridRange5D self, _ostream out=std::cout)
7269 show(UnboundedGridRange5D self)
7271 return _IMP_algebra.UnboundedGridRange5D_show(self, *args)
7273 def get_extended_indexes(self, *args):
7274 """get_extended_indexes(UnboundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
7275 return _IMP_algebra.UnboundedGridRange5D_get_extended_indexes(self, *args)
7278 """__str__(UnboundedGridRange5D self) -> std::string"""
7279 return _IMP_algebra.UnboundedGridRange5D___str__(self)
7282 """__repr__(UnboundedGridRange5D self) -> std::string"""
7283 return _IMP_algebra.UnboundedGridRange5D___repr__(self)
7285 def __cmp__(self, *args):
7286 """__cmp__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> int"""
7287 return _IMP_algebra.UnboundedGridRange5D___cmp__(self, *args)
7289 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange5D
7290 __del__ =
lambda self :
None;
7291 UnboundedGridRange5D_swigregister = _IMP_algebra.UnboundedGridRange5D_swigregister
7292 UnboundedGridRange5D_swigregister(UnboundedGridRange5D)
7294 def UnboundedGridRange5D_get_is_bounded():
7295 """UnboundedGridRange5D_get_is_bounded() -> bool"""
7296 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
7298 class UnboundedGridRange6D(_object):
7299 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(6)> class"""
7300 __swig_setmethods__ = {}
7301 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRange6D, name, value)
7302 __swig_getmethods__ = {}
7303 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRange6D, name)
7304 def __init__(self, *args):
7306 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self) -> UnboundedGridRange6D
7307 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self, IMP::Ints const & arg2) -> UnboundedGridRange6D
7309 this = _IMP_algebra.new_UnboundedGridRange6D(*args)
7310 try: self.this.append(this)
7311 except: self.this = this
7312 def set_number_of_voxels(self, *args):
7313 """set_number_of_voxels(UnboundedGridRange6D self, IMP::Ints arg2)"""
7314 return _IMP_algebra.UnboundedGridRange6D_set_number_of_voxels(self, *args)
7316 def get_number_of_voxels(self, *args):
7317 """get_number_of_voxels(UnboundedGridRange6D self, int arg2) -> unsigned int"""
7318 return _IMP_algebra.UnboundedGridRange6D_get_number_of_voxels(self, *args)
7320 def get_is_bounded():
7321 """get_is_bounded() -> bool"""
7322 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
7324 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
7325 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
7326 def get_has_index(self, *args):
7327 """get_has_index(UnboundedGridRange6D self, ExtendedGridIndex6D arg2) -> bool"""
7328 return _IMP_algebra.UnboundedGridRange6D_get_has_index(self, *args)
7330 def show(self, *args):
7332 show(UnboundedGridRange6D self, _ostream out=std::cout)
7333 show(UnboundedGridRange6D self)
7335 return _IMP_algebra.UnboundedGridRange6D_show(self, *args)
7337 def get_extended_indexes(self, *args):
7338 """get_extended_indexes(UnboundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
7339 return _IMP_algebra.UnboundedGridRange6D_get_extended_indexes(self, *args)
7342 """__str__(UnboundedGridRange6D self) -> std::string"""
7343 return _IMP_algebra.UnboundedGridRange6D___str__(self)
7346 """__repr__(UnboundedGridRange6D self) -> std::string"""
7347 return _IMP_algebra.UnboundedGridRange6D___repr__(self)
7349 def __cmp__(self, *args):
7350 """__cmp__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> int"""
7351 return _IMP_algebra.UnboundedGridRange6D___cmp__(self, *args)
7353 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange6D
7354 __del__ =
lambda self :
None;
7355 UnboundedGridRange6D_swigregister = _IMP_algebra.UnboundedGridRange6D_swigregister
7356 UnboundedGridRange6D_swigregister(UnboundedGridRange6D)
7358 def UnboundedGridRange6D_get_is_bounded():
7359 """UnboundedGridRange6D_get_is_bounded() -> bool"""
7360 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
7362 class UnboundedGridRangeKD(_object):
7363 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(-1)> class"""
7364 __swig_setmethods__ = {}
7365 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRangeKD, name, value)
7366 __swig_getmethods__ = {}
7367 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRangeKD, name)
7368 def __init__(self, *args):
7370 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self) -> UnboundedGridRangeKD
7371 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self, IMP::Ints const & arg2) -> UnboundedGridRangeKD
7373 this = _IMP_algebra.new_UnboundedGridRangeKD(*args)
7374 try: self.this.append(this)
7375 except: self.this = this
7376 def set_number_of_voxels(self, *args):
7377 """set_number_of_voxels(UnboundedGridRangeKD self, IMP::Ints arg2)"""
7378 return _IMP_algebra.UnboundedGridRangeKD_set_number_of_voxels(self, *args)
7380 def get_number_of_voxels(self, *args):
7381 """get_number_of_voxels(UnboundedGridRangeKD self, int arg2) -> unsigned int"""
7382 return _IMP_algebra.UnboundedGridRangeKD_get_number_of_voxels(self, *args)
7384 def get_is_bounded():
7385 """get_is_bounded() -> bool"""
7386 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
7388 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
7389 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
7390 def get_has_index(self, *args):
7391 """get_has_index(UnboundedGridRangeKD self, ExtendedGridIndexKD arg2) -> bool"""
7392 return _IMP_algebra.UnboundedGridRangeKD_get_has_index(self, *args)
7394 def show(self, *args):
7396 show(UnboundedGridRangeKD self, _ostream out=std::cout)
7397 show(UnboundedGridRangeKD self)
7399 return _IMP_algebra.UnboundedGridRangeKD_show(self, *args)
7401 def get_extended_indexes(self, *args):
7402 """get_extended_indexes(UnboundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
7403 return _IMP_algebra.UnboundedGridRangeKD_get_extended_indexes(self, *args)
7406 """__str__(UnboundedGridRangeKD self) -> std::string"""
7407 return _IMP_algebra.UnboundedGridRangeKD___str__(self)
7410 """__repr__(UnboundedGridRangeKD self) -> std::string"""
7411 return _IMP_algebra.UnboundedGridRangeKD___repr__(self)
7413 def __cmp__(self, *args):
7414 """__cmp__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> int"""
7415 return _IMP_algebra.UnboundedGridRangeKD___cmp__(self, *args)
7417 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRangeKD
7418 __del__ =
lambda self :
None;
7419 UnboundedGridRangeKD_swigregister = _IMP_algebra.UnboundedGridRangeKD_swigregister
7420 UnboundedGridRangeKD_swigregister(UnboundedGridRangeKD)
7422 def UnboundedGridRangeKD_get_is_bounded():
7423 """UnboundedGridRangeKD_get_is_bounded() -> bool"""
7424 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
7426 class DefaultEmbedding1D(_object):
7427 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(1)> class"""
7428 __swig_setmethods__ = {}
7429 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbedding1D, name, value)
7430 __swig_getmethods__ = {}
7431 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbedding1D, name)
7432 def __init__(self, *args):
7434 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self, Vector1D origin, Vector1D cell) -> DefaultEmbedding1D
7435 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self) -> DefaultEmbedding1D
7437 this = _IMP_algebra.new_DefaultEmbedding1D(*args)
7438 try: self.this.append(this)
7439 except: self.this = this
7440 def set_origin(self, *args):
7441 """set_origin(DefaultEmbedding1D self, Vector1D o)"""
7442 return _IMP_algebra.DefaultEmbedding1D_set_origin(self, *args)
7444 def get_origin(self):
7445 """get_origin(DefaultEmbedding1D self) -> Vector1D"""
7446 return _IMP_algebra.DefaultEmbedding1D_get_origin(self)
7448 def get_dimension(self):
7449 """get_dimension(DefaultEmbedding1D self) -> unsigned int"""
7450 return _IMP_algebra.DefaultEmbedding1D_get_dimension(self)
7452 def set_unit_cell(self, *args):
7453 """set_unit_cell(DefaultEmbedding1D self, Vector1D o)"""
7454 return _IMP_algebra.DefaultEmbedding1D_set_unit_cell(self, *args)
7456 def get_inverse_unit_cell(self):
7457 """get_inverse_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
7458 return _IMP_algebra.DefaultEmbedding1D_get_inverse_unit_cell(self)
7460 def get_unit_cell(self):
7461 """get_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
7462 return _IMP_algebra.DefaultEmbedding1D_get_unit_cell(self)
7464 def get_extended_index(self, *args):
7465 """get_extended_index(DefaultEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
7466 return _IMP_algebra.DefaultEmbedding1D_get_extended_index(self, *args)
7469 """get_index(DefaultEmbedding1D self, Vector1D o) -> GridIndex1D"""
7470 return _IMP_algebra.DefaultEmbedding1D_get_index(self, *args)
7472 def get_center(self, *args):
7474 get_center(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
7475 get_center(DefaultEmbedding1D self, GridIndex1D ei) -> Vector1D
7477 return _IMP_algebra.DefaultEmbedding1D_get_center(self, *args)
7481 get_bounding_box(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
7482 get_bounding_box(DefaultEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
7484 return _IMP_algebra.DefaultEmbedding1D_get_bounding_box(self, *args)
7486 def show(self, *args):
7488 show(DefaultEmbedding1D self, _ostream out=std::cout)
7489 show(DefaultEmbedding1D self)
7491 return _IMP_algebra.DefaultEmbedding1D_show(self, *args)
7494 """__str__(DefaultEmbedding1D self) -> std::string"""
7495 return _IMP_algebra.DefaultEmbedding1D___str__(self)
7498 """__repr__(DefaultEmbedding1D self) -> std::string"""
7499 return _IMP_algebra.DefaultEmbedding1D___repr__(self)
7501 def __cmp__(self, *args):
7502 """__cmp__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> int"""
7503 return _IMP_algebra.DefaultEmbedding1D___cmp__(self, *args)
7505 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding1D
7506 __del__ =
lambda self :
None;
7507 DefaultEmbedding1D_swigregister = _IMP_algebra.DefaultEmbedding1D_swigregister
7508 DefaultEmbedding1D_swigregister(DefaultEmbedding1D)
7510 class DefaultEmbedding2D(_object):
7511 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(2)> class"""
7512 __swig_setmethods__ = {}
7513 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbedding2D, name, value)
7514 __swig_getmethods__ = {}
7515 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbedding2D, name)
7516 def __init__(self, *args):
7518 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self, Vector2D origin, Vector2D cell) -> DefaultEmbedding2D
7519 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self) -> DefaultEmbedding2D
7521 this = _IMP_algebra.new_DefaultEmbedding2D(*args)
7522 try: self.this.append(this)
7523 except: self.this = this
7524 def set_origin(self, *args):
7525 """set_origin(DefaultEmbedding2D self, Vector2D o)"""
7526 return _IMP_algebra.DefaultEmbedding2D_set_origin(self, *args)
7528 def get_origin(self):
7529 """get_origin(DefaultEmbedding2D self) -> Vector2D"""
7530 return _IMP_algebra.DefaultEmbedding2D_get_origin(self)
7532 def get_dimension(self):
7533 """get_dimension(DefaultEmbedding2D self) -> unsigned int"""
7534 return _IMP_algebra.DefaultEmbedding2D_get_dimension(self)
7536 def set_unit_cell(self, *args):
7537 """set_unit_cell(DefaultEmbedding2D self, Vector2D o)"""
7538 return _IMP_algebra.DefaultEmbedding2D_set_unit_cell(self, *args)
7540 def get_inverse_unit_cell(self):
7541 """get_inverse_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
7542 return _IMP_algebra.DefaultEmbedding2D_get_inverse_unit_cell(self)
7544 def get_unit_cell(self):
7545 """get_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
7546 return _IMP_algebra.DefaultEmbedding2D_get_unit_cell(self)
7548 def get_extended_index(self, *args):
7549 """get_extended_index(DefaultEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
7550 return _IMP_algebra.DefaultEmbedding2D_get_extended_index(self, *args)
7553 """get_index(DefaultEmbedding2D self, Vector2D o) -> GridIndex2D"""
7554 return _IMP_algebra.DefaultEmbedding2D_get_index(self, *args)
7556 def get_center(self, *args):
7558 get_center(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
7559 get_center(DefaultEmbedding2D self, GridIndex2D ei) -> Vector2D
7561 return _IMP_algebra.DefaultEmbedding2D_get_center(self, *args)
7565 get_bounding_box(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
7566 get_bounding_box(DefaultEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
7568 return _IMP_algebra.DefaultEmbedding2D_get_bounding_box(self, *args)
7570 def show(self, *args):
7572 show(DefaultEmbedding2D self, _ostream out=std::cout)
7573 show(DefaultEmbedding2D self)
7575 return _IMP_algebra.DefaultEmbedding2D_show(self, *args)
7578 """__str__(DefaultEmbedding2D self) -> std::string"""
7579 return _IMP_algebra.DefaultEmbedding2D___str__(self)
7582 """__repr__(DefaultEmbedding2D self) -> std::string"""
7583 return _IMP_algebra.DefaultEmbedding2D___repr__(self)
7585 def __cmp__(self, *args):
7586 """__cmp__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> int"""
7587 return _IMP_algebra.DefaultEmbedding2D___cmp__(self, *args)
7589 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding2D
7590 __del__ =
lambda self :
None;
7591 DefaultEmbedding2D_swigregister = _IMP_algebra.DefaultEmbedding2D_swigregister
7592 DefaultEmbedding2D_swigregister(DefaultEmbedding2D)
7594 class DefaultEmbedding3D(_object):
7595 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(3)> class"""
7596 __swig_setmethods__ = {}
7597 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbedding3D, name, value)
7598 __swig_getmethods__ = {}
7599 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbedding3D, name)
7600 def __init__(self, *args):
7602 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self, Vector3D origin, Vector3D cell) -> DefaultEmbedding3D
7603 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self) -> DefaultEmbedding3D
7605 this = _IMP_algebra.new_DefaultEmbedding3D(*args)
7606 try: self.this.append(this)
7607 except: self.this = this
7608 def set_origin(self, *args):
7609 """set_origin(DefaultEmbedding3D self, Vector3D o)"""
7610 return _IMP_algebra.DefaultEmbedding3D_set_origin(self, *args)
7612 def get_origin(self):
7613 """get_origin(DefaultEmbedding3D self) -> Vector3D"""
7614 return _IMP_algebra.DefaultEmbedding3D_get_origin(self)
7616 def get_dimension(self):
7617 """get_dimension(DefaultEmbedding3D self) -> unsigned int"""
7618 return _IMP_algebra.DefaultEmbedding3D_get_dimension(self)
7620 def set_unit_cell(self, *args):
7621 """set_unit_cell(DefaultEmbedding3D self, Vector3D o)"""
7622 return _IMP_algebra.DefaultEmbedding3D_set_unit_cell(self, *args)
7624 def get_inverse_unit_cell(self):
7625 """get_inverse_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
7626 return _IMP_algebra.DefaultEmbedding3D_get_inverse_unit_cell(self)
7628 def get_unit_cell(self):
7629 """get_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
7630 return _IMP_algebra.DefaultEmbedding3D_get_unit_cell(self)
7632 def get_extended_index(self, *args):
7633 """get_extended_index(DefaultEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
7634 return _IMP_algebra.DefaultEmbedding3D_get_extended_index(self, *args)
7637 """get_index(DefaultEmbedding3D self, Vector3D o) -> GridIndex3D"""
7638 return _IMP_algebra.DefaultEmbedding3D_get_index(self, *args)
7640 def get_center(self, *args):
7642 get_center(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
7643 get_center(DefaultEmbedding3D self, GridIndex3D ei) -> Vector3D
7645 return _IMP_algebra.DefaultEmbedding3D_get_center(self, *args)
7649 get_bounding_box(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
7650 get_bounding_box(DefaultEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
7652 return _IMP_algebra.DefaultEmbedding3D_get_bounding_box(self, *args)
7654 def show(self, *args):
7656 show(DefaultEmbedding3D self, _ostream out=std::cout)
7657 show(DefaultEmbedding3D self)
7659 return _IMP_algebra.DefaultEmbedding3D_show(self, *args)
7662 """__str__(DefaultEmbedding3D self) -> std::string"""
7663 return _IMP_algebra.DefaultEmbedding3D___str__(self)
7666 """__repr__(DefaultEmbedding3D self) -> std::string"""
7667 return _IMP_algebra.DefaultEmbedding3D___repr__(self)
7669 def __cmp__(self, *args):
7670 """__cmp__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> int"""
7671 return _IMP_algebra.DefaultEmbedding3D___cmp__(self, *args)
7673 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding3D
7674 __del__ =
lambda self :
None;
7675 DefaultEmbedding3D_swigregister = _IMP_algebra.DefaultEmbedding3D_swigregister
7676 DefaultEmbedding3D_swigregister(DefaultEmbedding3D)
7678 class DefaultEmbedding4D(_object):
7679 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(4)> class"""
7680 __swig_setmethods__ = {}
7681 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbedding4D, name, value)
7682 __swig_getmethods__ = {}
7683 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbedding4D, name)
7684 def __init__(self, *args):
7686 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self, Vector4D origin, Vector4D cell) -> DefaultEmbedding4D
7687 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self) -> DefaultEmbedding4D
7689 this = _IMP_algebra.new_DefaultEmbedding4D(*args)
7690 try: self.this.append(this)
7691 except: self.this = this
7692 def set_origin(self, *args):
7693 """set_origin(DefaultEmbedding4D self, Vector4D o)"""
7694 return _IMP_algebra.DefaultEmbedding4D_set_origin(self, *args)
7696 def get_origin(self):
7697 """get_origin(DefaultEmbedding4D self) -> Vector4D"""
7698 return _IMP_algebra.DefaultEmbedding4D_get_origin(self)
7700 def get_dimension(self):
7701 """get_dimension(DefaultEmbedding4D self) -> unsigned int"""
7702 return _IMP_algebra.DefaultEmbedding4D_get_dimension(self)
7704 def set_unit_cell(self, *args):
7705 """set_unit_cell(DefaultEmbedding4D self, Vector4D o)"""
7706 return _IMP_algebra.DefaultEmbedding4D_set_unit_cell(self, *args)
7708 def get_inverse_unit_cell(self):
7709 """get_inverse_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
7710 return _IMP_algebra.DefaultEmbedding4D_get_inverse_unit_cell(self)
7712 def get_unit_cell(self):
7713 """get_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
7714 return _IMP_algebra.DefaultEmbedding4D_get_unit_cell(self)
7716 def get_extended_index(self, *args):
7717 """get_extended_index(DefaultEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
7718 return _IMP_algebra.DefaultEmbedding4D_get_extended_index(self, *args)
7721 """get_index(DefaultEmbedding4D self, Vector4D o) -> GridIndex4D"""
7722 return _IMP_algebra.DefaultEmbedding4D_get_index(self, *args)
7724 def get_center(self, *args):
7726 get_center(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
7727 get_center(DefaultEmbedding4D self, GridIndex4D ei) -> Vector4D
7729 return _IMP_algebra.DefaultEmbedding4D_get_center(self, *args)
7733 get_bounding_box(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
7734 get_bounding_box(DefaultEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
7736 return _IMP_algebra.DefaultEmbedding4D_get_bounding_box(self, *args)
7738 def show(self, *args):
7740 show(DefaultEmbedding4D self, _ostream out=std::cout)
7741 show(DefaultEmbedding4D self)
7743 return _IMP_algebra.DefaultEmbedding4D_show(self, *args)
7746 """__str__(DefaultEmbedding4D self) -> std::string"""
7747 return _IMP_algebra.DefaultEmbedding4D___str__(self)
7750 """__repr__(DefaultEmbedding4D self) -> std::string"""
7751 return _IMP_algebra.DefaultEmbedding4D___repr__(self)
7753 def __cmp__(self, *args):
7754 """__cmp__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> int"""
7755 return _IMP_algebra.DefaultEmbedding4D___cmp__(self, *args)
7757 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding4D
7758 __del__ =
lambda self :
None;
7759 DefaultEmbedding4D_swigregister = _IMP_algebra.DefaultEmbedding4D_swigregister
7760 DefaultEmbedding4D_swigregister(DefaultEmbedding4D)
7762 class DefaultEmbedding5D(_object):
7763 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(5)> class"""
7764 __swig_setmethods__ = {}
7765 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbedding5D, name, value)
7766 __swig_getmethods__ = {}
7767 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbedding5D, name)
7768 def __init__(self, *args):
7770 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self, Vector5D origin, Vector5D cell) -> DefaultEmbedding5D
7771 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self) -> DefaultEmbedding5D
7773 this = _IMP_algebra.new_DefaultEmbedding5D(*args)
7774 try: self.this.append(this)
7775 except: self.this = this
7776 def set_origin(self, *args):
7777 """set_origin(DefaultEmbedding5D self, Vector5D o)"""
7778 return _IMP_algebra.DefaultEmbedding5D_set_origin(self, *args)
7780 def get_origin(self):
7781 """get_origin(DefaultEmbedding5D self) -> Vector5D"""
7782 return _IMP_algebra.DefaultEmbedding5D_get_origin(self)
7784 def get_dimension(self):
7785 """get_dimension(DefaultEmbedding5D self) -> unsigned int"""
7786 return _IMP_algebra.DefaultEmbedding5D_get_dimension(self)
7788 def set_unit_cell(self, *args):
7789 """set_unit_cell(DefaultEmbedding5D self, Vector5D o)"""
7790 return _IMP_algebra.DefaultEmbedding5D_set_unit_cell(self, *args)
7792 def get_inverse_unit_cell(self):
7793 """get_inverse_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
7794 return _IMP_algebra.DefaultEmbedding5D_get_inverse_unit_cell(self)
7796 def get_unit_cell(self):
7797 """get_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
7798 return _IMP_algebra.DefaultEmbedding5D_get_unit_cell(self)
7800 def get_extended_index(self, *args):
7801 """get_extended_index(DefaultEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
7802 return _IMP_algebra.DefaultEmbedding5D_get_extended_index(self, *args)
7805 """get_index(DefaultEmbedding5D self, Vector5D o) -> GridIndex5D"""
7806 return _IMP_algebra.DefaultEmbedding5D_get_index(self, *args)
7808 def get_center(self, *args):
7810 get_center(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
7811 get_center(DefaultEmbedding5D self, GridIndex5D ei) -> Vector5D
7813 return _IMP_algebra.DefaultEmbedding5D_get_center(self, *args)
7817 get_bounding_box(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
7818 get_bounding_box(DefaultEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
7820 return _IMP_algebra.DefaultEmbedding5D_get_bounding_box(self, *args)
7822 def show(self, *args):
7824 show(DefaultEmbedding5D self, _ostream out=std::cout)
7825 show(DefaultEmbedding5D self)
7827 return _IMP_algebra.DefaultEmbedding5D_show(self, *args)
7830 """__str__(DefaultEmbedding5D self) -> std::string"""
7831 return _IMP_algebra.DefaultEmbedding5D___str__(self)
7834 """__repr__(DefaultEmbedding5D self) -> std::string"""
7835 return _IMP_algebra.DefaultEmbedding5D___repr__(self)
7837 def __cmp__(self, *args):
7838 """__cmp__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> int"""
7839 return _IMP_algebra.DefaultEmbedding5D___cmp__(self, *args)
7841 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding5D
7842 __del__ =
lambda self :
None;
7843 DefaultEmbedding5D_swigregister = _IMP_algebra.DefaultEmbedding5D_swigregister
7844 DefaultEmbedding5D_swigregister(DefaultEmbedding5D)
7846 class DefaultEmbedding6D(_object):
7847 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(6)> class"""
7848 __swig_setmethods__ = {}
7849 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbedding6D, name, value)
7850 __swig_getmethods__ = {}
7851 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbedding6D, name)
7852 def __init__(self, *args):
7854 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self, Vector6D origin, Vector6D cell) -> DefaultEmbedding6D
7855 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self) -> DefaultEmbedding6D
7857 this = _IMP_algebra.new_DefaultEmbedding6D(*args)
7858 try: self.this.append(this)
7859 except: self.this = this
7860 def set_origin(self, *args):
7861 """set_origin(DefaultEmbedding6D self, Vector6D o)"""
7862 return _IMP_algebra.DefaultEmbedding6D_set_origin(self, *args)
7864 def get_origin(self):
7865 """get_origin(DefaultEmbedding6D self) -> Vector6D"""
7866 return _IMP_algebra.DefaultEmbedding6D_get_origin(self)
7868 def get_dimension(self):
7869 """get_dimension(DefaultEmbedding6D self) -> unsigned int"""
7870 return _IMP_algebra.DefaultEmbedding6D_get_dimension(self)
7872 def set_unit_cell(self, *args):
7873 """set_unit_cell(DefaultEmbedding6D self, Vector6D o)"""
7874 return _IMP_algebra.DefaultEmbedding6D_set_unit_cell(self, *args)
7876 def get_inverse_unit_cell(self):
7877 """get_inverse_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
7878 return _IMP_algebra.DefaultEmbedding6D_get_inverse_unit_cell(self)
7880 def get_unit_cell(self):
7881 """get_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
7882 return _IMP_algebra.DefaultEmbedding6D_get_unit_cell(self)
7884 def get_extended_index(self, *args):
7885 """get_extended_index(DefaultEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
7886 return _IMP_algebra.DefaultEmbedding6D_get_extended_index(self, *args)
7889 """get_index(DefaultEmbedding6D self, Vector6D o) -> GridIndex6D"""
7890 return _IMP_algebra.DefaultEmbedding6D_get_index(self, *args)
7892 def get_center(self, *args):
7894 get_center(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
7895 get_center(DefaultEmbedding6D self, GridIndex6D ei) -> Vector6D
7897 return _IMP_algebra.DefaultEmbedding6D_get_center(self, *args)
7901 get_bounding_box(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
7902 get_bounding_box(DefaultEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
7904 return _IMP_algebra.DefaultEmbedding6D_get_bounding_box(self, *args)
7906 def show(self, *args):
7908 show(DefaultEmbedding6D self, _ostream out=std::cout)
7909 show(DefaultEmbedding6D self)
7911 return _IMP_algebra.DefaultEmbedding6D_show(self, *args)
7914 """__str__(DefaultEmbedding6D self) -> std::string"""
7915 return _IMP_algebra.DefaultEmbedding6D___str__(self)
7918 """__repr__(DefaultEmbedding6D self) -> std::string"""
7919 return _IMP_algebra.DefaultEmbedding6D___repr__(self)
7921 def __cmp__(self, *args):
7922 """__cmp__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> int"""
7923 return _IMP_algebra.DefaultEmbedding6D___cmp__(self, *args)
7925 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding6D
7926 __del__ =
lambda self :
None;
7927 DefaultEmbedding6D_swigregister = _IMP_algebra.DefaultEmbedding6D_swigregister
7928 DefaultEmbedding6D_swigregister(DefaultEmbedding6D)
7930 class DefaultEmbeddingKD(_object):
7931 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(-1)> class"""
7932 __swig_setmethods__ = {}
7933 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbeddingKD, name, value)
7934 __swig_getmethods__ = {}
7935 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbeddingKD, name)
7936 def __init__(self, *args):
7938 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell) -> DefaultEmbeddingKD
7939 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self) -> DefaultEmbeddingKD
7941 this = _IMP_algebra.new_DefaultEmbeddingKD(*args)
7942 try: self.this.append(this)
7943 except: self.this = this
7944 def set_origin(self, *args):
7945 """set_origin(DefaultEmbeddingKD self, VectorKD o)"""
7946 return _IMP_algebra.DefaultEmbeddingKD_set_origin(self, *args)
7948 def get_origin(self):
7949 """get_origin(DefaultEmbeddingKD self) -> VectorKD"""
7950 return _IMP_algebra.DefaultEmbeddingKD_get_origin(self)
7952 def get_dimension(self):
7953 """get_dimension(DefaultEmbeddingKD self) -> unsigned int"""
7954 return _IMP_algebra.DefaultEmbeddingKD_get_dimension(self)
7956 def set_unit_cell(self, *args):
7957 """set_unit_cell(DefaultEmbeddingKD self, VectorKD o)"""
7958 return _IMP_algebra.DefaultEmbeddingKD_set_unit_cell(self, *args)
7960 def get_inverse_unit_cell(self):
7961 """get_inverse_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
7962 return _IMP_algebra.DefaultEmbeddingKD_get_inverse_unit_cell(self)
7964 def get_unit_cell(self):
7965 """get_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
7966 return _IMP_algebra.DefaultEmbeddingKD_get_unit_cell(self)
7968 def get_extended_index(self, *args):
7969 """get_extended_index(DefaultEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
7970 return _IMP_algebra.DefaultEmbeddingKD_get_extended_index(self, *args)
7973 """get_index(DefaultEmbeddingKD self, VectorKD o) -> GridIndexKD"""
7974 return _IMP_algebra.DefaultEmbeddingKD_get_index(self, *args)
7976 def get_center(self, *args):
7978 get_center(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
7979 get_center(DefaultEmbeddingKD self, GridIndexKD ei) -> VectorKD
7981 return _IMP_algebra.DefaultEmbeddingKD_get_center(self, *args)
7985 get_bounding_box(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
7986 get_bounding_box(DefaultEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
7988 return _IMP_algebra.DefaultEmbeddingKD_get_bounding_box(self, *args)
7990 def show(self, *args):
7992 show(DefaultEmbeddingKD self, _ostream out=std::cout)
7993 show(DefaultEmbeddingKD self)
7995 return _IMP_algebra.DefaultEmbeddingKD_show(self, *args)
7998 """__str__(DefaultEmbeddingKD self) -> std::string"""
7999 return _IMP_algebra.DefaultEmbeddingKD___str__(self)
8002 """__repr__(DefaultEmbeddingKD self) -> std::string"""
8003 return _IMP_algebra.DefaultEmbeddingKD___repr__(self)
8005 def __cmp__(self, *args):
8006 """__cmp__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> int"""
8007 return _IMP_algebra.DefaultEmbeddingKD___cmp__(self, *args)
8009 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbeddingKD
8010 __del__ =
lambda self :
None;
8011 DefaultEmbeddingKD_swigregister = _IMP_algebra.DefaultEmbeddingKD_swigregister
8012 DefaultEmbeddingKD_swigregister(DefaultEmbeddingKD)
8014 class LogEmbedding1D(_object):
8015 """Proxy of C++ IMP::algebra::LogEmbeddingD<(1)> class"""
8016 __swig_setmethods__ = {}
8017 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbedding1D, name, value)
8018 __swig_getmethods__ = {}
8019 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbedding1D, name)
8020 def __init__(self, *args):
8022 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D origin, Vector1D cell, Vector1D base) -> LogEmbedding1D
8023 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding1D
8024 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts) -> LogEmbedding1D
8025 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D arg2, Vector1D arg3) -> LogEmbedding1D
8026 __init__(IMP::algebra::LogEmbeddingD<(1)> self) -> LogEmbedding1D
8028 this = _IMP_algebra.new_LogEmbedding1D(*args)
8029 try: self.this.append(this)
8030 except: self.this = this
8031 def set_origin(self, *args):
8032 """set_origin(LogEmbedding1D self, Vector1D o)"""
8033 return _IMP_algebra.LogEmbedding1D_set_origin(self, *args)
8035 def get_origin(self):
8036 """get_origin(LogEmbedding1D self) -> Vector1D"""
8037 return _IMP_algebra.LogEmbedding1D_get_origin(self)
8039 def get_dimension(self):
8040 """get_dimension(LogEmbedding1D self) -> unsigned int"""
8041 return _IMP_algebra.LogEmbedding1D_get_dimension(self)
8043 def set_unit_cell(self, *args):
8045 set_unit_cell(LogEmbedding1D self, Vector1D o, Vector1D base)
8046 set_unit_cell(LogEmbedding1D self, Vector1D o)
8048 return _IMP_algebra.LogEmbedding1D_set_unit_cell(self, *args)
8050 def get_unit_cell(self):
8051 """get_unit_cell(LogEmbedding1D self) -> Vector1D"""
8052 return _IMP_algebra.LogEmbedding1D_get_unit_cell(self)
8054 def get_extended_index(self, *args):
8055 """get_extended_index(LogEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
8056 return _IMP_algebra.LogEmbedding1D_get_extended_index(self, *args)
8059 """get_index(LogEmbedding1D self, Vector1D o) -> GridIndex1D"""
8060 return _IMP_algebra.LogEmbedding1D_get_index(self, *args)
8062 def get_center(self, *args):
8064 get_center(LogEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
8065 get_center(LogEmbedding1D self, GridIndex1D ei) -> Vector1D
8067 return _IMP_algebra.LogEmbedding1D_get_center(self, *args)
8071 get_bounding_box(LogEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
8072 get_bounding_box(LogEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
8074 return _IMP_algebra.LogEmbedding1D_get_bounding_box(self, *args)
8076 def show(self, *args):
8078 show(LogEmbedding1D self, _ostream out=std::cout)
8079 show(LogEmbedding1D self)
8081 return _IMP_algebra.LogEmbedding1D_show(self, *args)
8084 """__str__(LogEmbedding1D self) -> std::string"""
8085 return _IMP_algebra.LogEmbedding1D___str__(self)
8088 """__repr__(LogEmbedding1D self) -> std::string"""
8089 return _IMP_algebra.LogEmbedding1D___repr__(self)
8091 def __cmp__(self, *args):
8092 """__cmp__(LogEmbedding1D self, LogEmbedding1D arg2) -> int"""
8093 return _IMP_algebra.LogEmbedding1D___cmp__(self, *args)
8095 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding1D
8096 __del__ =
lambda self :
None;
8097 LogEmbedding1D_swigregister = _IMP_algebra.LogEmbedding1D_swigregister
8098 LogEmbedding1D_swigregister(LogEmbedding1D)
8100 class LogEmbedding2D(_object):
8101 """Proxy of C++ IMP::algebra::LogEmbeddingD<(2)> class"""
8102 __swig_setmethods__ = {}
8103 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbedding2D, name, value)
8104 __swig_getmethods__ = {}
8105 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbedding2D, name)
8106 def __init__(self, *args):
8108 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D origin, Vector2D cell, Vector2D base) -> LogEmbedding2D
8109 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding2D
8110 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts) -> LogEmbedding2D
8111 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D arg2, Vector2D arg3) -> LogEmbedding2D
8112 __init__(IMP::algebra::LogEmbeddingD<(2)> self) -> LogEmbedding2D
8114 this = _IMP_algebra.new_LogEmbedding2D(*args)
8115 try: self.this.append(this)
8116 except: self.this = this
8117 def set_origin(self, *args):
8118 """set_origin(LogEmbedding2D self, Vector2D o)"""
8119 return _IMP_algebra.LogEmbedding2D_set_origin(self, *args)
8121 def get_origin(self):
8122 """get_origin(LogEmbedding2D self) -> Vector2D"""
8123 return _IMP_algebra.LogEmbedding2D_get_origin(self)
8125 def get_dimension(self):
8126 """get_dimension(LogEmbedding2D self) -> unsigned int"""
8127 return _IMP_algebra.LogEmbedding2D_get_dimension(self)
8129 def set_unit_cell(self, *args):
8131 set_unit_cell(LogEmbedding2D self, Vector2D o, Vector2D base)
8132 set_unit_cell(LogEmbedding2D self, Vector2D o)
8134 return _IMP_algebra.LogEmbedding2D_set_unit_cell(self, *args)
8136 def get_unit_cell(self):
8137 """get_unit_cell(LogEmbedding2D self) -> Vector2D"""
8138 return _IMP_algebra.LogEmbedding2D_get_unit_cell(self)
8140 def get_extended_index(self, *args):
8141 """get_extended_index(LogEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
8142 return _IMP_algebra.LogEmbedding2D_get_extended_index(self, *args)
8145 """get_index(LogEmbedding2D self, Vector2D o) -> GridIndex2D"""
8146 return _IMP_algebra.LogEmbedding2D_get_index(self, *args)
8148 def get_center(self, *args):
8150 get_center(LogEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
8151 get_center(LogEmbedding2D self, GridIndex2D ei) -> Vector2D
8153 return _IMP_algebra.LogEmbedding2D_get_center(self, *args)
8157 get_bounding_box(LogEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
8158 get_bounding_box(LogEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
8160 return _IMP_algebra.LogEmbedding2D_get_bounding_box(self, *args)
8162 def show(self, *args):
8164 show(LogEmbedding2D self, _ostream out=std::cout)
8165 show(LogEmbedding2D self)
8167 return _IMP_algebra.LogEmbedding2D_show(self, *args)
8170 """__str__(LogEmbedding2D self) -> std::string"""
8171 return _IMP_algebra.LogEmbedding2D___str__(self)
8174 """__repr__(LogEmbedding2D self) -> std::string"""
8175 return _IMP_algebra.LogEmbedding2D___repr__(self)
8177 def __cmp__(self, *args):
8178 """__cmp__(LogEmbedding2D self, LogEmbedding2D arg2) -> int"""
8179 return _IMP_algebra.LogEmbedding2D___cmp__(self, *args)
8181 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding2D
8182 __del__ =
lambda self :
None;
8183 LogEmbedding2D_swigregister = _IMP_algebra.LogEmbedding2D_swigregister
8184 LogEmbedding2D_swigregister(LogEmbedding2D)
8186 class LogEmbedding4D(_object):
8187 """Proxy of C++ IMP::algebra::LogEmbeddingD<(4)> class"""
8188 __swig_setmethods__ = {}
8189 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbedding4D, name, value)
8190 __swig_getmethods__ = {}
8191 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbedding4D, name)
8192 def __init__(self, *args):
8194 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D origin, Vector4D cell, Vector4D base) -> LogEmbedding4D
8195 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding4D
8196 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts) -> LogEmbedding4D
8197 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D arg2, Vector4D arg3) -> LogEmbedding4D
8198 __init__(IMP::algebra::LogEmbeddingD<(4)> self) -> LogEmbedding4D
8200 this = _IMP_algebra.new_LogEmbedding4D(*args)
8201 try: self.this.append(this)
8202 except: self.this = this
8203 def set_origin(self, *args):
8204 """set_origin(LogEmbedding4D self, Vector4D o)"""
8205 return _IMP_algebra.LogEmbedding4D_set_origin(self, *args)
8207 def get_origin(self):
8208 """get_origin(LogEmbedding4D self) -> Vector4D"""
8209 return _IMP_algebra.LogEmbedding4D_get_origin(self)
8211 def get_dimension(self):
8212 """get_dimension(LogEmbedding4D self) -> unsigned int"""
8213 return _IMP_algebra.LogEmbedding4D_get_dimension(self)
8215 def set_unit_cell(self, *args):
8217 set_unit_cell(LogEmbedding4D self, Vector4D o, Vector4D base)
8218 set_unit_cell(LogEmbedding4D self, Vector4D o)
8220 return _IMP_algebra.LogEmbedding4D_set_unit_cell(self, *args)
8222 def get_unit_cell(self):
8223 """get_unit_cell(LogEmbedding4D self) -> Vector4D"""
8224 return _IMP_algebra.LogEmbedding4D_get_unit_cell(self)
8226 def get_extended_index(self, *args):
8227 """get_extended_index(LogEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
8228 return _IMP_algebra.LogEmbedding4D_get_extended_index(self, *args)
8231 """get_index(LogEmbedding4D self, Vector4D o) -> GridIndex4D"""
8232 return _IMP_algebra.LogEmbedding4D_get_index(self, *args)
8234 def get_center(self, *args):
8236 get_center(LogEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
8237 get_center(LogEmbedding4D self, GridIndex4D ei) -> Vector4D
8239 return _IMP_algebra.LogEmbedding4D_get_center(self, *args)
8243 get_bounding_box(LogEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
8244 get_bounding_box(LogEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
8246 return _IMP_algebra.LogEmbedding4D_get_bounding_box(self, *args)
8248 def show(self, *args):
8250 show(LogEmbedding4D self, _ostream out=std::cout)
8251 show(LogEmbedding4D self)
8253 return _IMP_algebra.LogEmbedding4D_show(self, *args)
8256 """__str__(LogEmbedding4D self) -> std::string"""
8257 return _IMP_algebra.LogEmbedding4D___str__(self)
8260 """__repr__(LogEmbedding4D self) -> std::string"""
8261 return _IMP_algebra.LogEmbedding4D___repr__(self)
8263 def __cmp__(self, *args):
8264 """__cmp__(LogEmbedding4D self, LogEmbedding4D arg2) -> int"""
8265 return _IMP_algebra.LogEmbedding4D___cmp__(self, *args)
8267 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding4D
8268 __del__ =
lambda self :
None;
8269 LogEmbedding4D_swigregister = _IMP_algebra.LogEmbedding4D_swigregister
8270 LogEmbedding4D_swigregister(LogEmbedding4D)
8272 class LogEmbedding5D(_object):
8273 """Proxy of C++ IMP::algebra::LogEmbeddingD<(5)> class"""
8274 __swig_setmethods__ = {}
8275 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbedding5D, name, value)
8276 __swig_getmethods__ = {}
8277 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbedding5D, name)
8278 def __init__(self, *args):
8280 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D origin, Vector5D cell, Vector5D base) -> LogEmbedding5D
8281 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding5D
8282 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts) -> LogEmbedding5D
8283 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D arg2, Vector5D arg3) -> LogEmbedding5D
8284 __init__(IMP::algebra::LogEmbeddingD<(5)> self) -> LogEmbedding5D
8286 this = _IMP_algebra.new_LogEmbedding5D(*args)
8287 try: self.this.append(this)
8288 except: self.this = this
8289 def set_origin(self, *args):
8290 """set_origin(LogEmbedding5D self, Vector5D o)"""
8291 return _IMP_algebra.LogEmbedding5D_set_origin(self, *args)
8293 def get_origin(self):
8294 """get_origin(LogEmbedding5D self) -> Vector5D"""
8295 return _IMP_algebra.LogEmbedding5D_get_origin(self)
8297 def get_dimension(self):
8298 """get_dimension(LogEmbedding5D self) -> unsigned int"""
8299 return _IMP_algebra.LogEmbedding5D_get_dimension(self)
8301 def set_unit_cell(self, *args):
8303 set_unit_cell(LogEmbedding5D self, Vector5D o, Vector5D base)
8304 set_unit_cell(LogEmbedding5D self, Vector5D o)
8306 return _IMP_algebra.LogEmbedding5D_set_unit_cell(self, *args)
8308 def get_unit_cell(self):
8309 """get_unit_cell(LogEmbedding5D self) -> Vector5D"""
8310 return _IMP_algebra.LogEmbedding5D_get_unit_cell(self)
8312 def get_extended_index(self, *args):
8313 """get_extended_index(LogEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
8314 return _IMP_algebra.LogEmbedding5D_get_extended_index(self, *args)
8317 """get_index(LogEmbedding5D self, Vector5D o) -> GridIndex5D"""
8318 return _IMP_algebra.LogEmbedding5D_get_index(self, *args)
8320 def get_center(self, *args):
8322 get_center(LogEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
8323 get_center(LogEmbedding5D self, GridIndex5D ei) -> Vector5D
8325 return _IMP_algebra.LogEmbedding5D_get_center(self, *args)
8329 get_bounding_box(LogEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
8330 get_bounding_box(LogEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
8332 return _IMP_algebra.LogEmbedding5D_get_bounding_box(self, *args)
8334 def show(self, *args):
8336 show(LogEmbedding5D self, _ostream out=std::cout)
8337 show(LogEmbedding5D self)
8339 return _IMP_algebra.LogEmbedding5D_show(self, *args)
8342 """__str__(LogEmbedding5D self) -> std::string"""
8343 return _IMP_algebra.LogEmbedding5D___str__(self)
8346 """__repr__(LogEmbedding5D self) -> std::string"""
8347 return _IMP_algebra.LogEmbedding5D___repr__(self)
8349 def __cmp__(self, *args):
8350 """__cmp__(LogEmbedding5D self, LogEmbedding5D arg2) -> int"""
8351 return _IMP_algebra.LogEmbedding5D___cmp__(self, *args)
8353 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding5D
8354 __del__ =
lambda self :
None;
8355 LogEmbedding5D_swigregister = _IMP_algebra.LogEmbedding5D_swigregister
8356 LogEmbedding5D_swigregister(LogEmbedding5D)
8358 class LogEmbedding6D(_object):
8359 """Proxy of C++ IMP::algebra::LogEmbeddingD<(6)> class"""
8360 __swig_setmethods__ = {}
8361 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbedding6D, name, value)
8362 __swig_getmethods__ = {}
8363 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbedding6D, name)
8364 def __init__(self, *args):
8366 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D origin, Vector6D cell, Vector6D base) -> LogEmbedding6D
8367 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding6D
8368 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts) -> LogEmbedding6D
8369 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D arg2, Vector6D arg3) -> LogEmbedding6D
8370 __init__(IMP::algebra::LogEmbeddingD<(6)> self) -> LogEmbedding6D
8372 this = _IMP_algebra.new_LogEmbedding6D(*args)
8373 try: self.this.append(this)
8374 except: self.this = this
8375 def set_origin(self, *args):
8376 """set_origin(LogEmbedding6D self, Vector6D o)"""
8377 return _IMP_algebra.LogEmbedding6D_set_origin(self, *args)
8379 def get_origin(self):
8380 """get_origin(LogEmbedding6D self) -> Vector6D"""
8381 return _IMP_algebra.LogEmbedding6D_get_origin(self)
8383 def get_dimension(self):
8384 """get_dimension(LogEmbedding6D self) -> unsigned int"""
8385 return _IMP_algebra.LogEmbedding6D_get_dimension(self)
8387 def set_unit_cell(self, *args):
8389 set_unit_cell(LogEmbedding6D self, Vector6D o, Vector6D base)
8390 set_unit_cell(LogEmbedding6D self, Vector6D o)
8392 return _IMP_algebra.LogEmbedding6D_set_unit_cell(self, *args)
8394 def get_unit_cell(self):
8395 """get_unit_cell(LogEmbedding6D self) -> Vector6D"""
8396 return _IMP_algebra.LogEmbedding6D_get_unit_cell(self)
8398 def get_extended_index(self, *args):
8399 """get_extended_index(LogEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
8400 return _IMP_algebra.LogEmbedding6D_get_extended_index(self, *args)
8403 """get_index(LogEmbedding6D self, Vector6D o) -> GridIndex6D"""
8404 return _IMP_algebra.LogEmbedding6D_get_index(self, *args)
8406 def get_center(self, *args):
8408 get_center(LogEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
8409 get_center(LogEmbedding6D self, GridIndex6D ei) -> Vector6D
8411 return _IMP_algebra.LogEmbedding6D_get_center(self, *args)
8415 get_bounding_box(LogEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
8416 get_bounding_box(LogEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
8418 return _IMP_algebra.LogEmbedding6D_get_bounding_box(self, *args)
8420 def show(self, *args):
8422 show(LogEmbedding6D self, _ostream out=std::cout)
8423 show(LogEmbedding6D self)
8425 return _IMP_algebra.LogEmbedding6D_show(self, *args)
8428 """__str__(LogEmbedding6D self) -> std::string"""
8429 return _IMP_algebra.LogEmbedding6D___str__(self)
8432 """__repr__(LogEmbedding6D self) -> std::string"""
8433 return _IMP_algebra.LogEmbedding6D___repr__(self)
8435 def __cmp__(self, *args):
8436 """__cmp__(LogEmbedding6D self, LogEmbedding6D arg2) -> int"""
8437 return _IMP_algebra.LogEmbedding6D___cmp__(self, *args)
8439 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding6D
8440 __del__ =
lambda self :
None;
8441 LogEmbedding6D_swigregister = _IMP_algebra.LogEmbedding6D_swigregister
8442 LogEmbedding6D_swigregister(LogEmbedding6D)
8444 class SpherePatch3D(_GeometricPrimitive3D):
8445 """Proxy of C++ IMP::algebra::SpherePatch3D class"""
8446 __swig_setmethods__ = {}
8447 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8448 __setattr__ =
lambda self, name, value: _swig_setattr(self, SpherePatch3D, name, value)
8449 __swig_getmethods__ = {}
8450 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8451 __getattr__ =
lambda self, name: _swig_getattr(self, SpherePatch3D, name)
8452 def __init__(self, *args):
8454 __init__(IMP::algebra::SpherePatch3D self) -> SpherePatch3D
8455 __init__(IMP::algebra::SpherePatch3D self, Sphere3D sph, Plane3D crossing_plane) -> SpherePatch3D
8457 this = _IMP_algebra.new_SpherePatch3D(*args)
8458 try: self.this.append(this)
8459 except: self.this = this
8460 def get_contains(self, *args):
8461 """get_contains(SpherePatch3D self, Vector3D p) -> bool"""
8462 return _IMP_algebra.SpherePatch3D_get_contains(self, *args)
8464 def get_plane(self):
8465 """get_plane(SpherePatch3D self) -> Plane3D"""
8466 return _IMP_algebra.SpherePatch3D_get_plane(self)
8468 def get_sphere(self):
8469 """get_sphere(SpherePatch3D self) -> Sphere3D"""
8470 return _IMP_algebra.SpherePatch3D_get_sphere(self)
8472 def show(self, *args):
8474 show(SpherePatch3D self, _ostream out=std::cout)
8475 show(SpherePatch3D self)
8477 return _IMP_algebra.SpherePatch3D_show(self, *args)
8479 def get_boundary_point(self):
8480 """get_boundary_point(SpherePatch3D self) -> Vector3D"""
8481 return _IMP_algebra.SpherePatch3D_get_boundary_point(self)
8484 """__str__(SpherePatch3D self) -> std::string"""
8485 return _IMP_algebra.SpherePatch3D___str__(self)
8488 """__repr__(SpherePatch3D self) -> std::string"""
8489 return _IMP_algebra.SpherePatch3D___repr__(self)
8491 __swig_destroy__ = _IMP_algebra.delete_SpherePatch3D
8492 __del__ =
lambda self :
None;
8493 SpherePatch3D_swigregister = _IMP_algebra.SpherePatch3D_swigregister
8494 SpherePatch3D_swigregister(SpherePatch3D)
8499 get_area(Plane3D g) -> double
8500 get_area(SpherePatch3D g) -> double
8502 return _IMP_algebra.get_area(*args)
8505 """get_sphere_patch_3d_geometry(SpherePatch3D g) -> SpherePatch3D"""
8506 return _IMP_algebra.get_sphere_patch_3d_geometry(*args)
8507 class Cone3D(_GeometricPrimitive3D):
8508 """Proxy of C++ IMP::algebra::Cone3D class"""
8509 __swig_setmethods__ = {}
8510 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8511 __setattr__ =
lambda self, name, value: _swig_setattr(self, Cone3D, name, value)
8512 __swig_getmethods__ = {}
8513 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8514 __getattr__ =
lambda self, name: _swig_getattr(self, Cone3D, name)
8515 def __init__(self, *args):
8517 __init__(IMP::algebra::Cone3D self) -> Cone3D
8518 __init__(IMP::algebra::Cone3D self, Segment3D s, double radius) -> Cone3D
8520 this = _IMP_algebra.new_Cone3D(*args)
8521 try: self.this.append(this)
8522 except: self.this = this
8524 """get_tip(Cone3D self) -> Vector3D"""
8525 return _IMP_algebra.Cone3D_get_tip(self)
8527 def get_direction(self):
8528 """get_direction(Cone3D self) -> Vector3D"""
8529 return _IMP_algebra.Cone3D_get_direction(self)
8531 def get_height(self):
8532 """get_height(Cone3D self) -> double"""
8533 return _IMP_algebra.Cone3D_get_height(self)
8535 def get_angle(self):
8536 """get_angle(Cone3D self) -> double"""
8537 return _IMP_algebra.Cone3D_get_angle(self)
8539 def get_radius(self):
8540 """get_radius(Cone3D self) -> double"""
8541 return _IMP_algebra.Cone3D_get_radius(self)
8543 def get_contains(self, *args):
8544 """get_contains(Cone3D self, Vector3D v) -> bool"""
8545 return _IMP_algebra.Cone3D_get_contains(self, *args)
8547 def get_base_plane(self):
8548 """get_base_plane(Cone3D self) -> Plane3D"""
8549 return _IMP_algebra.Cone3D_get_base_plane(self)
8551 def show(self, *args):
8553 show(Cone3D self, _ostream out=std::cout)
8556 return _IMP_algebra.Cone3D_show(self, *args)
8559 """__str__(Cone3D self) -> std::string"""
8560 return _IMP_algebra.Cone3D___str__(self)
8563 """__repr__(Cone3D self) -> std::string"""
8564 return _IMP_algebra.Cone3D___repr__(self)
8566 __swig_destroy__ = _IMP_algebra.delete_Cone3D
8567 __del__ =
lambda self :
None;
8568 Cone3D_swigregister = _IMP_algebra.Cone3D_swigregister
8569 Cone3D_swigregister(Cone3D)
8574 get_surface_area(BoundingBox3D g) -> double
8575 get_surface_area(Sphere3D g) -> double
8576 get_surface_area(Cylinder3D g) -> double
8577 get_surface_area(Ellipsoid3D g) -> double
8578 get_surface_area(Cone3D g) -> double
8580 return _IMP_algebra.get_surface_area(*args)
8584 get_volume(BoundingBox3D g) -> double
8585 get_volume(Sphere3D g) -> double
8586 get_volume(Cylinder3D g) -> double
8587 get_volume(Ellipsoid3D g) -> double
8588 get_volume(Cone3D g) -> double
8590 return _IMP_algebra.get_volume(*args)
8593 """get_cone_3d_geometry(Cone3D g) -> Cone3D"""
8594 return _IMP_algebra.get_cone_3d_geometry(*args)
8597 """write_pts(IMP::algebra::Vector3Ds const & vs, TextOutput out)"""
8598 return _IMP_algebra.write_pts(*args)
8601 """read_pts(TextInput input) -> IMP::algebra::Vector3Ds"""
8602 return _IMP_algebra.read_pts(*args)
8605 """write_spheres(IMP::algebra::Sphere3Ds const & vs, TextOutput out)"""
8606 return _IMP_algebra.write_spheres(*args)
8609 """read_spheres(TextInput input) -> IMP::algebra::Sphere3Ds"""
8610 return _IMP_algebra.read_spheres(*args)
8613 """get_random_vector_on_unit_sphere() -> Vector3D"""
8614 return _IMP_algebra.get_random_vector_on_unit_sphere()
8617 """get_grid_surface_cover(Cylinder3D cyl, int number_of_cycles, int number_of_points_on_cycle) -> IMP::algebra::Vector3Ds"""
8618 return _IMP_algebra.get_grid_surface_cover(*args)
8622 get_random_chain(unsigned int n, double r, Vector3D start=IMP::algebra::Vector3D(0, 0, 0), IMP::algebra::Sphere3Ds const & obstacles=IMP::algebra::Sphere3Ds()) -> IMP::algebra::Vector3Ds
8623 get_random_chain(unsigned int n, double r, Vector3D start=IMP::algebra::Vector3D(0, 0, 0)) -> IMP::algebra::Vector3Ds
8624 get_random_chain(unsigned int n, double r) -> IMP::algebra::Vector3Ds
8626 return _IMP_algebra.get_random_chain(*args)
8629 """reversed_read(void * dest, size_t size, size_t nitems, std::ifstream & f, bool reverse)"""
8630 return _IMP_algebra.reversed_read(*args)
8634 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f, bool reverse=False)
8635 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f)
8637 return _IMP_algebra.reversed_write(*args)
8640 """get_is_big_endian() -> bool"""
8641 return _IMP_algebra.get_is_big_endian()
8644 """get_is_little_endian() -> bool"""
8645 return _IMP_algebra.get_is_little_endian()
8649 get_shortest_segment(Segment3D s, Vector3D p) -> Segment3D
8650 get_shortest_segment(Segment3D sa, Segment3D sb) -> Segment3D
8652 return _IMP_algebra.get_shortest_segment(*args)
8654 """Proxy of C++ IMP::algebra::DynamicNearestNeighbor3D class"""
8655 __swig_setmethods__ = {}
8656 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8657 __setattr__ =
lambda self, name, value: _swig_setattr(self, DynamicNearestNeighbor3D, name, value)
8658 __swig_getmethods__ = {}
8659 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8660 __getattr__ =
lambda self, name: _swig_getattr(self, DynamicNearestNeighbor3D, name)
8661 def __init__(self, *args):
8663 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs, double query_estimate=1) -> DynamicNearestNeighbor3D
8664 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs) -> DynamicNearestNeighbor3D
8666 this = _IMP_algebra.new_DynamicNearestNeighbor3D(*args)
8667 try: self.this.append(this)
8668 except: self.this = this
8669 def get_in_ball(self, *args):
8670 """get_in_ball(DynamicNearestNeighbor3D self, int id, double distance) -> IMP::Ints"""
8671 return _IMP_algebra.DynamicNearestNeighbor3D_get_in_ball(self, *args)
8673 def set_coordinates(self, *args):
8674 """set_coordinates(DynamicNearestNeighbor3D self, int id, Vector3D nc)"""
8675 return _IMP_algebra.DynamicNearestNeighbor3D_set_coordinates(self, *args)
8677 def get_version_info(self):
8678 """get_version_info(DynamicNearestNeighbor3D self) -> VersionInfo"""
8679 return _IMP_algebra.DynamicNearestNeighbor3D_get_version_info(self)
8682 """__str__(DynamicNearestNeighbor3D self) -> std::string"""
8683 return _IMP_algebra.DynamicNearestNeighbor3D___str__(self)
8686 """__repr__(DynamicNearestNeighbor3D self) -> std::string"""
8687 return _IMP_algebra.DynamicNearestNeighbor3D___repr__(self)
8690 return _object_cast_to_DynamicNearestNeighbor3D(o)
8691 get_from = staticmethod(get_from)
8693 DynamicNearestNeighbor3D_swigregister = _IMP_algebra.DynamicNearestNeighbor3D_swigregister
8694 DynamicNearestNeighbor3D_swigregister(DynamicNearestNeighbor3D)
8697 """Proxy of C++ IMP::algebra::VectorKDMetric class"""
8698 __swig_setmethods__ = {}
8699 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8700 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorKDMetric, name, value)
8701 __swig_getmethods__ = {}
8702 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8703 __getattr__ =
lambda self, name: _swig_getattr(self, VectorKDMetric, name)
8704 def __init__(self, *args):
8705 """__init__(IMP::algebra::VectorKDMetric self, std::string name) -> VectorKDMetric"""
8706 if self.__class__ == VectorKDMetric:
8710 this = _IMP_algebra.new_VectorKDMetric(_self, *args)
8711 try: self.this.append(this)
8712 except: self.this = this
8713 if self.__class__ != VectorKDMetric:
8715 IMP.base._director_objects.register(self)
8720 """get_distance(VectorKDMetric self, VectorKD a, VectorKD b) -> double"""
8721 return _IMP_algebra.VectorKDMetric_get_distance(self, *args)
8724 """get_centroid(VectorKDMetric self, IMP::algebra::VectorKDs const & vs) -> VectorKD"""
8725 return _IMP_algebra.VectorKDMetric_get_centroid(self, *args)
8728 """__str__(VectorKDMetric self) -> std::string"""
8729 return _IMP_algebra.VectorKDMetric___str__(self)
8732 """__repr__(VectorKDMetric self) -> std::string"""
8733 return _IMP_algebra.VectorKDMetric___repr__(self)
8736 return _object_cast_to_VectorKDMetric(o)
8737 get_from = staticmethod(get_from)
8739 def get_type_name(self):
8740 return self.__class__.__name__
8741 def do_show(self, out):
8743 def get_version_info(self):
8744 if"IMP::algebra" ==
"IMP":
8745 return VersionInfo(
"python",
"0")
8747 return IMP.VersionInfo(
"python",
"0")
8749 return _object_cast_to_VectorKDMetric(o)
8750 get_from = staticmethod(get_from)
8752 __swig_destroy__ = _IMP_algebra.delete_VectorKDMetric
8753 __del__ =
lambda self :
None;
8754 def __disown__(self):
8756 _IMP_algebra.disown_VectorKDMetric(self)
8757 return weakref_proxy(self)
8758 def do_destroy(self):
8759 """do_destroy(VectorKDMetric self)"""
8760 return _IMP_algebra.VectorKDMetric_do_destroy(self)
8762 VectorKDMetric_swigregister = _IMP_algebra.VectorKDMetric_swigregister
8763 VectorKDMetric_swigregister(VectorKDMetric)
8765 class EuclideanVectorKDMetric(VectorKDMetric):
8766 """Proxy of C++ IMP::algebra::EuclideanVectorKDMetric class"""
8767 __swig_setmethods__ = {}
8768 for _s
in [VectorKDMetric]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8769 __setattr__ =
lambda self, name, value: _swig_setattr(self, EuclideanVectorKDMetric, name, value)
8770 __swig_getmethods__ = {}
8771 for _s
in [VectorKDMetric]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8772 __getattr__ =
lambda self, name: _swig_getattr(self, EuclideanVectorKDMetric, name)
8773 def __init__(self, name="EuclideanVectorKDMetric%1%"):
8775 __init__(IMP::algebra::EuclideanVectorKDMetric self, std::string name="EuclideanVectorKDMetric%1%") -> EuclideanVectorKDMetric
8776 __init__(IMP::algebra::EuclideanVectorKDMetric self) -> EuclideanVectorKDMetric
8778 this = _IMP_algebra.new_EuclideanVectorKDMetric(name)
8779 try: self.this.append(this)
8780 except: self.this = this
8781 def get_version_info(self):
8782 """get_version_info(EuclideanVectorKDMetric self) -> VersionInfo"""
8783 return _IMP_algebra.EuclideanVectorKDMetric_get_version_info(self)
8786 """__str__(EuclideanVectorKDMetric self) -> std::string"""
8787 return _IMP_algebra.EuclideanVectorKDMetric___str__(self)
8790 """__repr__(EuclideanVectorKDMetric self) -> std::string"""
8791 return _IMP_algebra.EuclideanVectorKDMetric___repr__(self)
8794 return _object_cast_to_EuclideanVectorKDMetric(o)
8795 get_from = staticmethod(get_from)
8797 EuclideanVectorKDMetric_swigregister = _IMP_algebra.EuclideanVectorKDMetric_swigregister
8798 EuclideanVectorKDMetric_swigregister(EuclideanVectorKDMetric)
8800 class MaxVectorKDMetric(VectorKDMetric):
8801 """Proxy of C++ IMP::algebra::MaxVectorKDMetric class"""
8802 __swig_setmethods__ = {}
8803 for _s
in [VectorKDMetric]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8804 __setattr__ =
lambda self, name, value: _swig_setattr(self, MaxVectorKDMetric, name, value)
8805 __swig_getmethods__ = {}
8806 for _s
in [VectorKDMetric]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8807 __getattr__ =
lambda self, name: _swig_getattr(self, MaxVectorKDMetric, name)
8808 def __init__(self, name="MaxVectorKDMetric%1%"):
8810 __init__(IMP::algebra::MaxVectorKDMetric self, std::string name="MaxVectorKDMetric%1%") -> MaxVectorKDMetric
8811 __init__(IMP::algebra::MaxVectorKDMetric self) -> MaxVectorKDMetric
8813 this = _IMP_algebra.new_MaxVectorKDMetric(name)
8814 try: self.this.append(this)
8815 except: self.this = this
8816 def get_version_info(self):
8817 """get_version_info(MaxVectorKDMetric self) -> VersionInfo"""
8818 return _IMP_algebra.MaxVectorKDMetric_get_version_info(self)
8821 """__str__(MaxVectorKDMetric self) -> std::string"""
8822 return _IMP_algebra.MaxVectorKDMetric___str__(self)
8825 """__repr__(MaxVectorKDMetric self) -> std::string"""
8826 return _IMP_algebra.MaxVectorKDMetric___repr__(self)
8829 return _object_cast_to_MaxVectorKDMetric(o)
8830 get_from = staticmethod(get_from)
8832 MaxVectorKDMetric_swigregister = _IMP_algebra.MaxVectorKDMetric_swigregister
8833 MaxVectorKDMetric_swigregister(MaxVectorKDMetric)
8835 class Gaussian3D(_GeometricPrimitive3D):
8836 """Proxy of C++ IMP::algebra::Gaussian3D class"""
8837 __swig_setmethods__ = {}
8838 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8839 __setattr__ =
lambda self, name, value: _swig_setattr(self, Gaussian3D, name, value)
8840 __swig_getmethods__ = {}
8841 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8842 __getattr__ =
lambda self, name: _swig_getattr(self, Gaussian3D, name)
8843 def __init__(self, *args):
8845 __init__(IMP::algebra::Gaussian3D self) -> Gaussian3D
8846 __init__(IMP::algebra::Gaussian3D self, ReferenceFrame3D tr, Vector3D variances) -> Gaussian3D
8848 this = _IMP_algebra.new_Gaussian3D(*args)
8849 try: self.this.append(this)
8850 except: self.this = this
8851 def get_reference_frame(self):
8852 """get_reference_frame(Gaussian3D self) -> ReferenceFrame3D"""
8853 return _IMP_algebra.Gaussian3D_get_reference_frame(self)
8855 def get_variances(self):
8856 """get_variances(Gaussian3D self) -> Vector3D"""
8857 return _IMP_algebra.Gaussian3D_get_variances(self)
8859 def get_center(self):
8860 """get_center(Gaussian3D self) -> Vector3D"""
8861 return _IMP_algebra.Gaussian3D_get_center(self)
8863 def show(self, *args):
8865 show(Gaussian3D self, _ostream out=std::cout)
8866 show(Gaussian3D self)
8868 return _IMP_algebra.Gaussian3D_show(self, *args)
8871 """__str__(Gaussian3D self) -> std::string"""
8872 return _IMP_algebra.Gaussian3D___str__(self)
8875 """__repr__(Gaussian3D self) -> std::string"""
8876 return _IMP_algebra.Gaussian3D___repr__(self)
8878 __swig_destroy__ = _IMP_algebra.delete_Gaussian3D
8879 __del__ =
lambda self :
None;
8880 Gaussian3D_swigregister = _IMP_algebra.Gaussian3D_swigregister
8881 Gaussian3D_swigregister(Gaussian3D)
8885 """get_covariance(Gaussian3D g) -> IMP_Eigen::Matrix3d"""
8886 return _IMP_algebra.get_covariance(*args)
8889 """get_gaussian_from_covariance(IMP_Eigen::Matrix3d const & covariance, Vector3D center) -> Gaussian3D"""
8890 return _IMP_algebra.get_gaussian_from_covariance(*args)
8894 get_rasterized(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width,
8895 BoundingBox3D bb) -> DenseFloatGrid3D
8897 return _IMP_algebra.get_rasterized(*args)
8899 def _pass_matrix_xf(*args):
8900 """_pass_matrix_xf(IMP_Eigen::MatrixXf const & m) -> IMP_Eigen::MatrixXf"""
8901 return _IMP_algebra._pass_matrix_xf(*args)
8903 def _pass_matrix_xd(*args):
8904 """_pass_matrix_xd(IMP_Eigen::MatrixXd const & m) -> IMP_Eigen::MatrixXd"""
8905 return _IMP_algebra._pass_matrix_xd(*args)
8907 def _pass_matrix_3d(*args):
8908 """_pass_matrix_3d(IMP_Eigen::Matrix3d const & m) -> IMP_Eigen::Matrix3d"""
8909 return _IMP_algebra._pass_matrix_3d(*args)
8911 def _pass_array_xd(*args):
8912 """_pass_array_xd(IMP_Eigen::ArrayXXd const & m) -> IMP_Eigen::ArrayXXd"""
8913 return _IMP_algebra._pass_array_xd(*args)
8915 def _pass_vector_xd(*args):
8916 """_pass_vector_xd(IMP_Eigen::VectorXd const & m) -> IMP_Eigen::VectorXd"""
8917 return _IMP_algebra._pass_vector_xd(*args)
8919 """Proxy of C++ IMP::algebra::NearestNeighborD<(1)> class"""
8920 __swig_setmethods__ = {}
8921 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8922 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighbor1D, name, value)
8923 __swig_getmethods__ = {}
8924 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8925 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighbor1D, name)
8926 def __init__(self, *args):
8928 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & vs, double epsilon=0) -> NearestNeighbor1D
8929 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & vs) -> NearestNeighbor1D
8931 this = _IMP_algebra.new_NearestNeighbor1D(*args)
8932 try: self.this.append(this)
8933 except: self.this = this
8934 def set_query_log(self, *args):
8935 """set_query_log(NearestNeighbor1D self, std::string fname)"""
8936 return _IMP_algebra.NearestNeighbor1D_set_query_log(self, *args)
8938 def get_nearest_neighbor(self, *args):
8940 get_nearest_neighbor(NearestNeighbor1D self, Vector1D q) -> unsigned int
8941 get_nearest_neighbor(NearestNeighbor1D self, unsigned int i) -> unsigned int
8943 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbor(self, *args)
8945 def get_nearest_neighbors(self, *args):
8947 get_nearest_neighbors(NearestNeighbor1D self, unsigned int i, unsigned int k) -> IMP::Ints
8948 get_nearest_neighbors(NearestNeighbor1D self, Vector1D v, unsigned int k) -> IMP::Ints
8950 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbors(self, *args)
8952 def get_in_ball(self, *args):
8954 get_in_ball(NearestNeighbor1D self, unsigned int i, double distance) -> IMP::Ints
8955 get_in_ball(NearestNeighbor1D self, Vector1D pt, double distance) -> IMP::Ints
8957 return _IMP_algebra.NearestNeighbor1D_get_in_ball(self, *args)
8959 def get_version_info(self):
8960 """get_version_info(NearestNeighbor1D self) -> VersionInfo"""
8961 return _IMP_algebra.NearestNeighbor1D_get_version_info(self)
8964 """__str__(NearestNeighbor1D self) -> std::string"""
8965 return _IMP_algebra.NearestNeighbor1D___str__(self)
8968 """__repr__(NearestNeighbor1D self) -> std::string"""
8969 return _IMP_algebra.NearestNeighbor1D___repr__(self)
8972 return _object_cast_to_NearestNeighborD(o)
8973 get_from = staticmethod(get_from)
8975 NearestNeighbor1D_swigregister = _IMP_algebra.NearestNeighbor1D_swigregister
8976 NearestNeighbor1D_swigregister(NearestNeighbor1D)
8979 """Proxy of C++ IMP::algebra::NearestNeighborD<(2)> class"""
8980 __swig_setmethods__ = {}
8981 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8982 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighbor2D, name, value)
8983 __swig_getmethods__ = {}
8984 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8985 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighbor2D, name)
8986 def __init__(self, *args):
8988 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & vs, double epsilon=0) -> NearestNeighbor2D
8989 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & vs) -> NearestNeighbor2D
8991 this = _IMP_algebra.new_NearestNeighbor2D(*args)
8992 try: self.this.append(this)
8993 except: self.this = this
8994 def set_query_log(self, *args):
8995 """set_query_log(NearestNeighbor2D self, std::string fname)"""
8996 return _IMP_algebra.NearestNeighbor2D_set_query_log(self, *args)
8998 def get_nearest_neighbor(self, *args):
9000 get_nearest_neighbor(NearestNeighbor2D self, Vector2D q) -> unsigned int
9001 get_nearest_neighbor(NearestNeighbor2D self, unsigned int i) -> unsigned int
9003 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbor(self, *args)
9005 def get_nearest_neighbors(self, *args):
9007 get_nearest_neighbors(NearestNeighbor2D self, unsigned int i, unsigned int k) -> IMP::Ints
9008 get_nearest_neighbors(NearestNeighbor2D self, Vector2D v, unsigned int k) -> IMP::Ints
9010 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbors(self, *args)
9012 def get_in_ball(self, *args):
9014 get_in_ball(NearestNeighbor2D self, unsigned int i, double distance) -> IMP::Ints
9015 get_in_ball(NearestNeighbor2D self, Vector2D pt, double distance) -> IMP::Ints
9017 return _IMP_algebra.NearestNeighbor2D_get_in_ball(self, *args)
9019 def get_version_info(self):
9020 """get_version_info(NearestNeighbor2D self) -> VersionInfo"""
9021 return _IMP_algebra.NearestNeighbor2D_get_version_info(self)
9024 """__str__(NearestNeighbor2D self) -> std::string"""
9025 return _IMP_algebra.NearestNeighbor2D___str__(self)
9028 """__repr__(NearestNeighbor2D self) -> std::string"""
9029 return _IMP_algebra.NearestNeighbor2D___repr__(self)
9032 return _object_cast_to_NearestNeighborD(o)
9033 get_from = staticmethod(get_from)
9035 NearestNeighbor2D_swigregister = _IMP_algebra.NearestNeighbor2D_swigregister
9036 NearestNeighbor2D_swigregister(NearestNeighbor2D)
9039 """Proxy of C++ IMP::algebra::NearestNeighborD<(3)> class"""
9040 __swig_setmethods__ = {}
9041 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9042 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighbor3D, name, value)
9043 __swig_getmethods__ = {}
9044 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9045 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighbor3D, name)
9046 def __init__(self, *args):
9048 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & vs, double epsilon=0) -> NearestNeighbor3D
9049 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & vs) -> NearestNeighbor3D
9051 this = _IMP_algebra.new_NearestNeighbor3D(*args)
9052 try: self.this.append(this)
9053 except: self.this = this
9054 def set_query_log(self, *args):
9055 """set_query_log(NearestNeighbor3D self, std::string fname)"""
9056 return _IMP_algebra.NearestNeighbor3D_set_query_log(self, *args)
9058 def get_nearest_neighbor(self, *args):
9060 get_nearest_neighbor(NearestNeighbor3D self, Vector3D q) -> unsigned int
9061 get_nearest_neighbor(NearestNeighbor3D self, unsigned int i) -> unsigned int
9063 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbor(self, *args)
9065 def get_nearest_neighbors(self, *args):
9067 get_nearest_neighbors(NearestNeighbor3D self, unsigned int i, unsigned int k) -> IMP::Ints
9068 get_nearest_neighbors(NearestNeighbor3D self, Vector3D v, unsigned int k) -> IMP::Ints
9070 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbors(self, *args)
9072 def get_in_ball(self, *args):
9074 get_in_ball(NearestNeighbor3D self, unsigned int i, double distance) -> IMP::Ints
9075 get_in_ball(NearestNeighbor3D self, Vector3D pt, double distance) -> IMP::Ints
9077 return _IMP_algebra.NearestNeighbor3D_get_in_ball(self, *args)
9079 def get_version_info(self):
9080 """get_version_info(NearestNeighbor3D self) -> VersionInfo"""
9081 return _IMP_algebra.NearestNeighbor3D_get_version_info(self)
9084 """__str__(NearestNeighbor3D self) -> std::string"""
9085 return _IMP_algebra.NearestNeighbor3D___str__(self)
9088 """__repr__(NearestNeighbor3D self) -> std::string"""
9089 return _IMP_algebra.NearestNeighbor3D___repr__(self)
9092 return _object_cast_to_NearestNeighborD(o)
9093 get_from = staticmethod(get_from)
9095 NearestNeighbor3D_swigregister = _IMP_algebra.NearestNeighbor3D_swigregister
9096 NearestNeighbor3D_swigregister(NearestNeighbor3D)
9099 """Proxy of C++ IMP::algebra::NearestNeighborD<(4)> class"""
9100 __swig_setmethods__ = {}
9101 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9102 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighbor4D, name, value)
9103 __swig_getmethods__ = {}
9104 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9105 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighbor4D, name)
9106 def __init__(self, *args):
9108 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & vs, double epsilon=0) -> NearestNeighbor4D
9109 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & vs) -> NearestNeighbor4D
9111 this = _IMP_algebra.new_NearestNeighbor4D(*args)
9112 try: self.this.append(this)
9113 except: self.this = this
9114 def set_query_log(self, *args):
9115 """set_query_log(NearestNeighbor4D self, std::string fname)"""
9116 return _IMP_algebra.NearestNeighbor4D_set_query_log(self, *args)
9118 def get_nearest_neighbor(self, *args):
9120 get_nearest_neighbor(NearestNeighbor4D self, Vector4D q) -> unsigned int
9121 get_nearest_neighbor(NearestNeighbor4D self, unsigned int i) -> unsigned int
9123 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbor(self, *args)
9125 def get_nearest_neighbors(self, *args):
9127 get_nearest_neighbors(NearestNeighbor4D self, unsigned int i, unsigned int k) -> IMP::Ints
9128 get_nearest_neighbors(NearestNeighbor4D self, Vector4D v, unsigned int k) -> IMP::Ints
9130 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbors(self, *args)
9132 def get_in_ball(self, *args):
9134 get_in_ball(NearestNeighbor4D self, unsigned int i, double distance) -> IMP::Ints
9135 get_in_ball(NearestNeighbor4D self, Vector4D pt, double distance) -> IMP::Ints
9137 return _IMP_algebra.NearestNeighbor4D_get_in_ball(self, *args)
9139 def get_version_info(self):
9140 """get_version_info(NearestNeighbor4D self) -> VersionInfo"""
9141 return _IMP_algebra.NearestNeighbor4D_get_version_info(self)
9144 """__str__(NearestNeighbor4D self) -> std::string"""
9145 return _IMP_algebra.NearestNeighbor4D___str__(self)
9148 """__repr__(NearestNeighbor4D self) -> std::string"""
9149 return _IMP_algebra.NearestNeighbor4D___repr__(self)
9152 return _object_cast_to_NearestNeighborD(o)
9153 get_from = staticmethod(get_from)
9155 NearestNeighbor4D_swigregister = _IMP_algebra.NearestNeighbor4D_swigregister
9156 NearestNeighbor4D_swigregister(NearestNeighbor4D)
9159 """Proxy of C++ IMP::algebra::NearestNeighborD<(5)> class"""
9160 __swig_setmethods__ = {}
9161 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9162 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighbor5D, name, value)
9163 __swig_getmethods__ = {}
9164 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9165 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighbor5D, name)
9166 def __init__(self, *args):
9168 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & vs, double epsilon=0) -> NearestNeighbor5D
9169 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & vs) -> NearestNeighbor5D
9171 this = _IMP_algebra.new_NearestNeighbor5D(*args)
9172 try: self.this.append(this)
9173 except: self.this = this
9174 def set_query_log(self, *args):
9175 """set_query_log(NearestNeighbor5D self, std::string fname)"""
9176 return _IMP_algebra.NearestNeighbor5D_set_query_log(self, *args)
9178 def get_nearest_neighbor(self, *args):
9180 get_nearest_neighbor(NearestNeighbor5D self, Vector5D q) -> unsigned int
9181 get_nearest_neighbor(NearestNeighbor5D self, unsigned int i) -> unsigned int
9183 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbor(self, *args)
9185 def get_nearest_neighbors(self, *args):
9187 get_nearest_neighbors(NearestNeighbor5D self, unsigned int i, unsigned int k) -> IMP::Ints
9188 get_nearest_neighbors(NearestNeighbor5D self, Vector5D v, unsigned int k) -> IMP::Ints
9190 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbors(self, *args)
9192 def get_in_ball(self, *args):
9194 get_in_ball(NearestNeighbor5D self, unsigned int i, double distance) -> IMP::Ints
9195 get_in_ball(NearestNeighbor5D self, Vector5D pt, double distance) -> IMP::Ints
9197 return _IMP_algebra.NearestNeighbor5D_get_in_ball(self, *args)
9199 def get_version_info(self):
9200 """get_version_info(NearestNeighbor5D self) -> VersionInfo"""
9201 return _IMP_algebra.NearestNeighbor5D_get_version_info(self)
9204 """__str__(NearestNeighbor5D self) -> std::string"""
9205 return _IMP_algebra.NearestNeighbor5D___str__(self)
9208 """__repr__(NearestNeighbor5D self) -> std::string"""
9209 return _IMP_algebra.NearestNeighbor5D___repr__(self)
9212 return _object_cast_to_NearestNeighborD(o)
9213 get_from = staticmethod(get_from)
9215 NearestNeighbor5D_swigregister = _IMP_algebra.NearestNeighbor5D_swigregister
9216 NearestNeighbor5D_swigregister(NearestNeighbor5D)
9219 """Proxy of C++ IMP::algebra::NearestNeighborD<(6)> class"""
9220 __swig_setmethods__ = {}
9221 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9222 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighbor6D, name, value)
9223 __swig_getmethods__ = {}
9224 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9225 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighbor6D, name)
9226 def __init__(self, *args):
9228 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & vs, double epsilon=0) -> NearestNeighbor6D
9229 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & vs) -> NearestNeighbor6D
9231 this = _IMP_algebra.new_NearestNeighbor6D(*args)
9232 try: self.this.append(this)
9233 except: self.this = this
9234 def set_query_log(self, *args):
9235 """set_query_log(NearestNeighbor6D self, std::string fname)"""
9236 return _IMP_algebra.NearestNeighbor6D_set_query_log(self, *args)
9238 def get_nearest_neighbor(self, *args):
9240 get_nearest_neighbor(NearestNeighbor6D self, Vector6D q) -> unsigned int
9241 get_nearest_neighbor(NearestNeighbor6D self, unsigned int i) -> unsigned int
9243 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbor(self, *args)
9245 def get_nearest_neighbors(self, *args):
9247 get_nearest_neighbors(NearestNeighbor6D self, unsigned int i, unsigned int k) -> IMP::Ints
9248 get_nearest_neighbors(NearestNeighbor6D self, Vector6D v, unsigned int k) -> IMP::Ints
9250 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbors(self, *args)
9252 def get_in_ball(self, *args):
9254 get_in_ball(NearestNeighbor6D self, unsigned int i, double distance) -> IMP::Ints
9255 get_in_ball(NearestNeighbor6D self, Vector6D pt, double distance) -> IMP::Ints
9257 return _IMP_algebra.NearestNeighbor6D_get_in_ball(self, *args)
9259 def get_version_info(self):
9260 """get_version_info(NearestNeighbor6D self) -> VersionInfo"""
9261 return _IMP_algebra.NearestNeighbor6D_get_version_info(self)
9264 """__str__(NearestNeighbor6D self) -> std::string"""
9265 return _IMP_algebra.NearestNeighbor6D___str__(self)
9268 """__repr__(NearestNeighbor6D self) -> std::string"""
9269 return _IMP_algebra.NearestNeighbor6D___repr__(self)
9272 return _object_cast_to_NearestNeighborD(o)
9273 get_from = staticmethod(get_from)
9275 NearestNeighbor6D_swigregister = _IMP_algebra.NearestNeighbor6D_swigregister
9276 NearestNeighbor6D_swigregister(NearestNeighbor6D)
9279 """Proxy of C++ IMP::algebra::NearestNeighborD<(-1)> class"""
9280 __swig_setmethods__ = {}
9281 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9282 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighborKD, name, value)
9283 __swig_getmethods__ = {}
9284 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9285 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighborKD, name)
9286 def __init__(self, *args):
9288 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & vs, double epsilon=0) -> NearestNeighborKD
9289 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & vs) -> NearestNeighborKD
9291 this = _IMP_algebra.new_NearestNeighborKD(*args)
9292 try: self.this.append(this)
9293 except: self.this = this
9294 def set_query_log(self, *args):
9295 """set_query_log(NearestNeighborKD self, std::string fname)"""
9296 return _IMP_algebra.NearestNeighborKD_set_query_log(self, *args)
9298 def get_nearest_neighbor(self, *args):
9300 get_nearest_neighbor(NearestNeighborKD self, VectorKD q) -> unsigned int
9301 get_nearest_neighbor(NearestNeighborKD self, unsigned int i) -> unsigned int
9303 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbor(self, *args)
9305 def get_nearest_neighbors(self, *args):
9307 get_nearest_neighbors(NearestNeighborKD self, unsigned int i, unsigned int k) -> IMP::Ints
9308 get_nearest_neighbors(NearestNeighborKD self, VectorKD v, unsigned int k) -> IMP::Ints
9310 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbors(self, *args)
9312 def get_in_ball(self, *args):
9314 get_in_ball(NearestNeighborKD self, unsigned int i, double distance) -> IMP::Ints
9315 get_in_ball(NearestNeighborKD self, VectorKD pt, double distance) -> IMP::Ints
9317 return _IMP_algebra.NearestNeighborKD_get_in_ball(self, *args)
9319 def get_version_info(self):
9320 """get_version_info(NearestNeighborKD self) -> VersionInfo"""
9321 return _IMP_algebra.NearestNeighborKD_get_version_info(self)
9324 """__str__(NearestNeighborKD self) -> std::string"""
9325 return _IMP_algebra.NearestNeighborKD___str__(self)
9328 """__repr__(NearestNeighborKD self) -> std::string"""
9329 return _IMP_algebra.NearestNeighborKD___repr__(self)
9332 return _object_cast_to_NearestNeighborD(o)
9333 get_from = staticmethod(get_from)
9335 NearestNeighborKD_swigregister = _IMP_algebra.NearestNeighborKD_swigregister
9336 NearestNeighborKD_swigregister(NearestNeighborKD)
9340 """get_transformation_aligning_pair(IMP::algebra::Vector2Ds const & set_from, IMP::algebra::Vector2Ds const & set_to) -> Transformation2D"""
9341 return _IMP_algebra.get_transformation_aligning_pair(*args)
9342 class PrincipalComponentAnalysis1D(_GeometricPrimitive1D):
9343 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(1)> class"""
9344 __swig_setmethods__ = {}
9345 for _s
in [_GeometricPrimitive1D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9346 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis1D, name, value)
9347 __swig_getmethods__ = {}
9348 for _s
in [_GeometricPrimitive1D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9349 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis1D, name)
9350 def __init__(self, *args):
9352 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self) -> PrincipalComponentAnalysis1D
9353 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & pcs, Vector1D values, Vector1D centroid) -> PrincipalComponentAnalysis1D
9355 this = _IMP_algebra.new_PrincipalComponentAnalysis1D(*args)
9356 try: self.this.append(this)
9357 except: self.this = this
9359 """get_principal_components(PrincipalComponentAnalysis1D self) -> IMP::base::Vector< IMP::algebra::VectorD< 1 > >"""
9360 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_components(self)
9362 def get_principal_component(self, *args):
9363 """get_principal_component(PrincipalComponentAnalysis1D self, unsigned int i) -> Vector1D"""
9364 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_component(self, *args)
9366 def get_principal_values(self):
9367 """get_principal_values(PrincipalComponentAnalysis1D self) -> Vector1D"""
9368 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_values(self)
9370 def get_principal_value(self, *args):
9371 """get_principal_value(PrincipalComponentAnalysis1D self, unsigned int i) -> double"""
9372 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_value(self, *args)
9375 """get_centroid(PrincipalComponentAnalysis1D self) -> Vector1D"""
9376 return _IMP_algebra.PrincipalComponentAnalysis1D_get_centroid(self)
9378 def set_centroid(self, *args):
9379 """set_centroid(PrincipalComponentAnalysis1D self, Vector1D cntr)"""
9380 return _IMP_algebra.PrincipalComponentAnalysis1D_set_centroid(self, *args)
9382 def show(self, *args):
9384 show(PrincipalComponentAnalysis1D self, _ostream out=std::cout)
9385 show(PrincipalComponentAnalysis1D self)
9387 return _IMP_algebra.PrincipalComponentAnalysis1D_show(self, *args)
9389 def __eq__(self, *args):
9390 """__eq__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
9391 return _IMP_algebra.PrincipalComponentAnalysis1D___eq__(self, *args)
9393 def __ne__(self, *args):
9394 """__ne__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
9395 return _IMP_algebra.PrincipalComponentAnalysis1D___ne__(self, *args)
9397 def __lt__(self, *args):
9398 """__lt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
9399 return _IMP_algebra.PrincipalComponentAnalysis1D___lt__(self, *args)
9401 def __gt__(self, *args):
9402 """__gt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
9403 return _IMP_algebra.PrincipalComponentAnalysis1D___gt__(self, *args)
9405 def __ge__(self, *args):
9406 """__ge__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
9407 return _IMP_algebra.PrincipalComponentAnalysis1D___ge__(self, *args)
9409 def __le__(self, *args):
9410 """__le__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
9411 return _IMP_algebra.PrincipalComponentAnalysis1D___le__(self, *args)
9414 """__str__(PrincipalComponentAnalysis1D self) -> std::string"""
9415 return _IMP_algebra.PrincipalComponentAnalysis1D___str__(self)
9418 """__repr__(PrincipalComponentAnalysis1D self) -> std::string"""
9419 return _IMP_algebra.PrincipalComponentAnalysis1D___repr__(self)
9421 def __cmp__(self, *args):
9422 """__cmp__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D arg2) -> int"""
9423 return _IMP_algebra.PrincipalComponentAnalysis1D___cmp__(self, *args)
9425 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis1D
9426 __del__ =
lambda self :
None;
9427 PrincipalComponentAnalysis1D_swigregister = _IMP_algebra.PrincipalComponentAnalysis1D_swigregister
9428 PrincipalComponentAnalysis1D_swigregister(PrincipalComponentAnalysis1D)
9430 class PrincipalComponentAnalysis2D(_GeometricPrimitive2D):
9431 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(2)> class"""
9432 __swig_setmethods__ = {}
9433 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9434 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis2D, name, value)
9435 __swig_getmethods__ = {}
9436 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9437 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis2D, name)
9438 def __init__(self, *args):
9440 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self) -> PrincipalComponentAnalysis2D
9441 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & pcs, Vector2D values, Vector2D centroid) -> PrincipalComponentAnalysis2D
9443 this = _IMP_algebra.new_PrincipalComponentAnalysis2D(*args)
9444 try: self.this.append(this)
9445 except: self.this = this
9447 """get_principal_components(PrincipalComponentAnalysis2D self) -> IMP::base::Vector< IMP::algebra::VectorD< 2 > >"""
9448 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_components(self)
9450 def get_principal_component(self, *args):
9451 """get_principal_component(PrincipalComponentAnalysis2D self, unsigned int i) -> Vector2D"""
9452 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_component(self, *args)
9454 def get_principal_values(self):
9455 """get_principal_values(PrincipalComponentAnalysis2D self) -> Vector2D"""
9456 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_values(self)
9458 def get_principal_value(self, *args):
9459 """get_principal_value(PrincipalComponentAnalysis2D self, unsigned int i) -> double"""
9460 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_value(self, *args)
9463 """get_centroid(PrincipalComponentAnalysis2D self) -> Vector2D"""
9464 return _IMP_algebra.PrincipalComponentAnalysis2D_get_centroid(self)
9466 def set_centroid(self, *args):
9467 """set_centroid(PrincipalComponentAnalysis2D self, Vector2D cntr)"""
9468 return _IMP_algebra.PrincipalComponentAnalysis2D_set_centroid(self, *args)
9470 def show(self, *args):
9472 show(PrincipalComponentAnalysis2D self, _ostream out=std::cout)
9473 show(PrincipalComponentAnalysis2D self)
9475 return _IMP_algebra.PrincipalComponentAnalysis2D_show(self, *args)
9477 def __eq__(self, *args):
9478 """__eq__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
9479 return _IMP_algebra.PrincipalComponentAnalysis2D___eq__(self, *args)
9481 def __ne__(self, *args):
9482 """__ne__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
9483 return _IMP_algebra.PrincipalComponentAnalysis2D___ne__(self, *args)
9485 def __lt__(self, *args):
9486 """__lt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
9487 return _IMP_algebra.PrincipalComponentAnalysis2D___lt__(self, *args)
9489 def __gt__(self, *args):
9490 """__gt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
9491 return _IMP_algebra.PrincipalComponentAnalysis2D___gt__(self, *args)
9493 def __ge__(self, *args):
9494 """__ge__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
9495 return _IMP_algebra.PrincipalComponentAnalysis2D___ge__(self, *args)
9497 def __le__(self, *args):
9498 """__le__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
9499 return _IMP_algebra.PrincipalComponentAnalysis2D___le__(self, *args)
9502 """__str__(PrincipalComponentAnalysis2D self) -> std::string"""
9503 return _IMP_algebra.PrincipalComponentAnalysis2D___str__(self)
9506 """__repr__(PrincipalComponentAnalysis2D self) -> std::string"""
9507 return _IMP_algebra.PrincipalComponentAnalysis2D___repr__(self)
9509 def __cmp__(self, *args):
9510 """__cmp__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D arg2) -> int"""
9511 return _IMP_algebra.PrincipalComponentAnalysis2D___cmp__(self, *args)
9513 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis2D
9514 __del__ =
lambda self :
None;
9515 PrincipalComponentAnalysis2D_swigregister = _IMP_algebra.PrincipalComponentAnalysis2D_swigregister
9516 PrincipalComponentAnalysis2D_swigregister(PrincipalComponentAnalysis2D)
9518 class PrincipalComponentAnalysis3D(_GeometricPrimitive3D):
9519 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(3)> class"""
9520 __swig_setmethods__ = {}
9521 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9522 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis3D, name, value)
9523 __swig_getmethods__ = {}
9524 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9525 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis3D, name)
9526 def __init__(self, *args):
9528 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self) -> PrincipalComponentAnalysis3D
9529 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & pcs, Vector3D values, Vector3D centroid) -> PrincipalComponentAnalysis3D
9531 this = _IMP_algebra.new_PrincipalComponentAnalysis3D(*args)
9532 try: self.this.append(this)
9533 except: self.this = this
9535 """get_principal_components(PrincipalComponentAnalysis3D self) -> IMP::base::Vector< IMP::algebra::VectorD< 3 > >"""
9536 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_components(self)
9538 def get_principal_component(self, *args):
9539 """get_principal_component(PrincipalComponentAnalysis3D self, unsigned int i) -> Vector3D"""
9540 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_component(self, *args)
9542 def get_principal_values(self):
9543 """get_principal_values(PrincipalComponentAnalysis3D self) -> Vector3D"""
9544 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_values(self)
9546 def get_principal_value(self, *args):
9547 """get_principal_value(PrincipalComponentAnalysis3D self, unsigned int i) -> double"""
9548 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_value(self, *args)
9551 """get_centroid(PrincipalComponentAnalysis3D self) -> Vector3D"""
9552 return _IMP_algebra.PrincipalComponentAnalysis3D_get_centroid(self)
9554 def set_centroid(self, *args):
9555 """set_centroid(PrincipalComponentAnalysis3D self, Vector3D cntr)"""
9556 return _IMP_algebra.PrincipalComponentAnalysis3D_set_centroid(self, *args)
9558 def show(self, *args):
9560 show(PrincipalComponentAnalysis3D self, _ostream out=std::cout)
9561 show(PrincipalComponentAnalysis3D self)
9563 return _IMP_algebra.PrincipalComponentAnalysis3D_show(self, *args)
9565 def __eq__(self, *args):
9566 """__eq__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
9567 return _IMP_algebra.PrincipalComponentAnalysis3D___eq__(self, *args)
9569 def __ne__(self, *args):
9570 """__ne__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
9571 return _IMP_algebra.PrincipalComponentAnalysis3D___ne__(self, *args)
9573 def __lt__(self, *args):
9574 """__lt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
9575 return _IMP_algebra.PrincipalComponentAnalysis3D___lt__(self, *args)
9577 def __gt__(self, *args):
9578 """__gt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
9579 return _IMP_algebra.PrincipalComponentAnalysis3D___gt__(self, *args)
9581 def __ge__(self, *args):
9582 """__ge__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
9583 return _IMP_algebra.PrincipalComponentAnalysis3D___ge__(self, *args)
9585 def __le__(self, *args):
9586 """__le__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
9587 return _IMP_algebra.PrincipalComponentAnalysis3D___le__(self, *args)
9590 """__str__(PrincipalComponentAnalysis3D self) -> std::string"""
9591 return _IMP_algebra.PrincipalComponentAnalysis3D___str__(self)
9594 """__repr__(PrincipalComponentAnalysis3D self) -> std::string"""
9595 return _IMP_algebra.PrincipalComponentAnalysis3D___repr__(self)
9597 def __cmp__(self, *args):
9598 """__cmp__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D arg2) -> int"""
9599 return _IMP_algebra.PrincipalComponentAnalysis3D___cmp__(self, *args)
9601 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis3D
9602 __del__ =
lambda self :
None;
9603 PrincipalComponentAnalysis3D_swigregister = _IMP_algebra.PrincipalComponentAnalysis3D_swigregister
9604 PrincipalComponentAnalysis3D_swigregister(PrincipalComponentAnalysis3D)
9606 class PrincipalComponentAnalysis4D(_GeometricPrimitive4D):
9607 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(4)> class"""
9608 __swig_setmethods__ = {}
9609 for _s
in [_GeometricPrimitive4D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9610 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis4D, name, value)
9611 __swig_getmethods__ = {}
9612 for _s
in [_GeometricPrimitive4D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9613 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis4D, name)
9614 def __init__(self, *args):
9616 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self) -> PrincipalComponentAnalysis4D
9617 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & pcs, Vector4D values, Vector4D centroid) -> PrincipalComponentAnalysis4D
9619 this = _IMP_algebra.new_PrincipalComponentAnalysis4D(*args)
9620 try: self.this.append(this)
9621 except: self.this = this
9623 """get_principal_components(PrincipalComponentAnalysis4D self) -> IMP::base::Vector< IMP::algebra::VectorD< 4 > >"""
9624 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_components(self)
9626 def get_principal_component(self, *args):
9627 """get_principal_component(PrincipalComponentAnalysis4D self, unsigned int i) -> Vector4D"""
9628 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_component(self, *args)
9630 def get_principal_values(self):
9631 """get_principal_values(PrincipalComponentAnalysis4D self) -> Vector4D"""
9632 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_values(self)
9634 def get_principal_value(self, *args):
9635 """get_principal_value(PrincipalComponentAnalysis4D self, unsigned int i) -> double"""
9636 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_value(self, *args)
9639 """get_centroid(PrincipalComponentAnalysis4D self) -> Vector4D"""
9640 return _IMP_algebra.PrincipalComponentAnalysis4D_get_centroid(self)
9642 def set_centroid(self, *args):
9643 """set_centroid(PrincipalComponentAnalysis4D self, Vector4D cntr)"""
9644 return _IMP_algebra.PrincipalComponentAnalysis4D_set_centroid(self, *args)
9646 def show(self, *args):
9648 show(PrincipalComponentAnalysis4D self, _ostream out=std::cout)
9649 show(PrincipalComponentAnalysis4D self)
9651 return _IMP_algebra.PrincipalComponentAnalysis4D_show(self, *args)
9653 def __eq__(self, *args):
9654 """__eq__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
9655 return _IMP_algebra.PrincipalComponentAnalysis4D___eq__(self, *args)
9657 def __ne__(self, *args):
9658 """__ne__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
9659 return _IMP_algebra.PrincipalComponentAnalysis4D___ne__(self, *args)
9661 def __lt__(self, *args):
9662 """__lt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
9663 return _IMP_algebra.PrincipalComponentAnalysis4D___lt__(self, *args)
9665 def __gt__(self, *args):
9666 """__gt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
9667 return _IMP_algebra.PrincipalComponentAnalysis4D___gt__(self, *args)
9669 def __ge__(self, *args):
9670 """__ge__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
9671 return _IMP_algebra.PrincipalComponentAnalysis4D___ge__(self, *args)
9673 def __le__(self, *args):
9674 """__le__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
9675 return _IMP_algebra.PrincipalComponentAnalysis4D___le__(self, *args)
9678 """__str__(PrincipalComponentAnalysis4D self) -> std::string"""
9679 return _IMP_algebra.PrincipalComponentAnalysis4D___str__(self)
9682 """__repr__(PrincipalComponentAnalysis4D self) -> std::string"""
9683 return _IMP_algebra.PrincipalComponentAnalysis4D___repr__(self)
9685 def __cmp__(self, *args):
9686 """__cmp__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D arg2) -> int"""
9687 return _IMP_algebra.PrincipalComponentAnalysis4D___cmp__(self, *args)
9689 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis4D
9690 __del__ =
lambda self :
None;
9691 PrincipalComponentAnalysis4D_swigregister = _IMP_algebra.PrincipalComponentAnalysis4D_swigregister
9692 PrincipalComponentAnalysis4D_swigregister(PrincipalComponentAnalysis4D)
9694 class PrincipalComponentAnalysis5D(_GeometricPrimitive5D):
9695 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(5)> class"""
9696 __swig_setmethods__ = {}
9697 for _s
in [_GeometricPrimitive5D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9698 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis5D, name, value)
9699 __swig_getmethods__ = {}
9700 for _s
in [_GeometricPrimitive5D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9701 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis5D, name)
9702 def __init__(self, *args):
9704 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self) -> PrincipalComponentAnalysis5D
9705 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & pcs, Vector5D values, Vector5D centroid) -> PrincipalComponentAnalysis5D
9707 this = _IMP_algebra.new_PrincipalComponentAnalysis5D(*args)
9708 try: self.this.append(this)
9709 except: self.this = this
9711 """get_principal_components(PrincipalComponentAnalysis5D self) -> IMP::base::Vector< IMP::algebra::VectorD< 5 > >"""
9712 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_components(self)
9714 def get_principal_component(self, *args):
9715 """get_principal_component(PrincipalComponentAnalysis5D self, unsigned int i) -> Vector5D"""
9716 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_component(self, *args)
9718 def get_principal_values(self):
9719 """get_principal_values(PrincipalComponentAnalysis5D self) -> Vector5D"""
9720 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_values(self)
9722 def get_principal_value(self, *args):
9723 """get_principal_value(PrincipalComponentAnalysis5D self, unsigned int i) -> double"""
9724 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_value(self, *args)
9727 """get_centroid(PrincipalComponentAnalysis5D self) -> Vector5D"""
9728 return _IMP_algebra.PrincipalComponentAnalysis5D_get_centroid(self)
9730 def set_centroid(self, *args):
9731 """set_centroid(PrincipalComponentAnalysis5D self, Vector5D cntr)"""
9732 return _IMP_algebra.PrincipalComponentAnalysis5D_set_centroid(self, *args)
9734 def show(self, *args):
9736 show(PrincipalComponentAnalysis5D self, _ostream out=std::cout)
9737 show(PrincipalComponentAnalysis5D self)
9739 return _IMP_algebra.PrincipalComponentAnalysis5D_show(self, *args)
9741 def __eq__(self, *args):
9742 """__eq__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
9743 return _IMP_algebra.PrincipalComponentAnalysis5D___eq__(self, *args)
9745 def __ne__(self, *args):
9746 """__ne__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
9747 return _IMP_algebra.PrincipalComponentAnalysis5D___ne__(self, *args)
9749 def __lt__(self, *args):
9750 """__lt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
9751 return _IMP_algebra.PrincipalComponentAnalysis5D___lt__(self, *args)
9753 def __gt__(self, *args):
9754 """__gt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
9755 return _IMP_algebra.PrincipalComponentAnalysis5D___gt__(self, *args)
9757 def __ge__(self, *args):
9758 """__ge__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
9759 return _IMP_algebra.PrincipalComponentAnalysis5D___ge__(self, *args)
9761 def __le__(self, *args):
9762 """__le__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
9763 return _IMP_algebra.PrincipalComponentAnalysis5D___le__(self, *args)
9766 """__str__(PrincipalComponentAnalysis5D self) -> std::string"""
9767 return _IMP_algebra.PrincipalComponentAnalysis5D___str__(self)
9770 """__repr__(PrincipalComponentAnalysis5D self) -> std::string"""
9771 return _IMP_algebra.PrincipalComponentAnalysis5D___repr__(self)
9773 def __cmp__(self, *args):
9774 """__cmp__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D arg2) -> int"""
9775 return _IMP_algebra.PrincipalComponentAnalysis5D___cmp__(self, *args)
9777 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis5D
9778 __del__ =
lambda self :
None;
9779 PrincipalComponentAnalysis5D_swigregister = _IMP_algebra.PrincipalComponentAnalysis5D_swigregister
9780 PrincipalComponentAnalysis5D_swigregister(PrincipalComponentAnalysis5D)
9782 class PrincipalComponentAnalysis6D(_GeometricPrimitive6D):
9783 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(6)> class"""
9784 __swig_setmethods__ = {}
9785 for _s
in [_GeometricPrimitive6D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9786 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis6D, name, value)
9787 __swig_getmethods__ = {}
9788 for _s
in [_GeometricPrimitive6D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9789 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis6D, name)
9790 def __init__(self, *args):
9792 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self) -> PrincipalComponentAnalysis6D
9793 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & pcs, Vector6D values, Vector6D centroid) -> PrincipalComponentAnalysis6D
9795 this = _IMP_algebra.new_PrincipalComponentAnalysis6D(*args)
9796 try: self.this.append(this)
9797 except: self.this = this
9799 """get_principal_components(PrincipalComponentAnalysis6D self) -> IMP::base::Vector< IMP::algebra::VectorD< 6 > >"""
9800 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_components(self)
9802 def get_principal_component(self, *args):
9803 """get_principal_component(PrincipalComponentAnalysis6D self, unsigned int i) -> Vector6D"""
9804 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_component(self, *args)
9806 def get_principal_values(self):
9807 """get_principal_values(PrincipalComponentAnalysis6D self) -> Vector6D"""
9808 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_values(self)
9810 def get_principal_value(self, *args):
9811 """get_principal_value(PrincipalComponentAnalysis6D self, unsigned int i) -> double"""
9812 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_value(self, *args)
9815 """get_centroid(PrincipalComponentAnalysis6D self) -> Vector6D"""
9816 return _IMP_algebra.PrincipalComponentAnalysis6D_get_centroid(self)
9818 def set_centroid(self, *args):
9819 """set_centroid(PrincipalComponentAnalysis6D self, Vector6D cntr)"""
9820 return _IMP_algebra.PrincipalComponentAnalysis6D_set_centroid(self, *args)
9822 def show(self, *args):
9824 show(PrincipalComponentAnalysis6D self, _ostream out=std::cout)
9825 show(PrincipalComponentAnalysis6D self)
9827 return _IMP_algebra.PrincipalComponentAnalysis6D_show(self, *args)
9829 def __eq__(self, *args):
9830 """__eq__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9831 return _IMP_algebra.PrincipalComponentAnalysis6D___eq__(self, *args)
9833 def __ne__(self, *args):
9834 """__ne__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9835 return _IMP_algebra.PrincipalComponentAnalysis6D___ne__(self, *args)
9837 def __lt__(self, *args):
9838 """__lt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9839 return _IMP_algebra.PrincipalComponentAnalysis6D___lt__(self, *args)
9841 def __gt__(self, *args):
9842 """__gt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9843 return _IMP_algebra.PrincipalComponentAnalysis6D___gt__(self, *args)
9845 def __ge__(self, *args):
9846 """__ge__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9847 return _IMP_algebra.PrincipalComponentAnalysis6D___ge__(self, *args)
9849 def __le__(self, *args):
9850 """__le__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9851 return _IMP_algebra.PrincipalComponentAnalysis6D___le__(self, *args)
9854 """__str__(PrincipalComponentAnalysis6D self) -> std::string"""
9855 return _IMP_algebra.PrincipalComponentAnalysis6D___str__(self)
9858 """__repr__(PrincipalComponentAnalysis6D self) -> std::string"""
9859 return _IMP_algebra.PrincipalComponentAnalysis6D___repr__(self)
9861 def __cmp__(self, *args):
9862 """__cmp__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D arg2) -> int"""
9863 return _IMP_algebra.PrincipalComponentAnalysis6D___cmp__(self, *args)
9865 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis6D
9866 __del__ =
lambda self :
None;
9867 PrincipalComponentAnalysis6D_swigregister = _IMP_algebra.PrincipalComponentAnalysis6D_swigregister
9868 PrincipalComponentAnalysis6D_swigregister(PrincipalComponentAnalysis6D)
9870 class PrincipalComponentAnalysisKD(_GeometricPrimitiveKD):
9871 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(-1)> class"""
9872 __swig_setmethods__ = {}
9873 for _s
in [_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9874 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysisKD, name, value)
9875 __swig_getmethods__ = {}
9876 for _s
in [_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9877 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysisKD, name)
9878 def __init__(self, *args):
9880 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self) -> PrincipalComponentAnalysisKD
9881 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & pcs, VectorKD values, VectorKD centroid) -> PrincipalComponentAnalysisKD
9883 this = _IMP_algebra.new_PrincipalComponentAnalysisKD(*args)
9884 try: self.this.append(this)
9885 except: self.this = this
9887 """get_principal_components(PrincipalComponentAnalysisKD self) -> IMP::base::Vector< IMP::algebra::VectorD< -1 > >"""
9888 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_components(self)
9890 def get_principal_component(self, *args):
9891 """get_principal_component(PrincipalComponentAnalysisKD self, unsigned int i) -> VectorKD"""
9892 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_component(self, *args)
9894 def get_principal_values(self):
9895 """get_principal_values(PrincipalComponentAnalysisKD self) -> VectorKD"""
9896 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_values(self)
9898 def get_principal_value(self, *args):
9899 """get_principal_value(PrincipalComponentAnalysisKD self, unsigned int i) -> double"""
9900 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_value(self, *args)
9903 """get_centroid(PrincipalComponentAnalysisKD self) -> VectorKD"""
9904 return _IMP_algebra.PrincipalComponentAnalysisKD_get_centroid(self)
9906 def set_centroid(self, *args):
9907 """set_centroid(PrincipalComponentAnalysisKD self, VectorKD cntr)"""
9908 return _IMP_algebra.PrincipalComponentAnalysisKD_set_centroid(self, *args)
9910 def show(self, *args):
9912 show(PrincipalComponentAnalysisKD self, _ostream out=std::cout)
9913 show(PrincipalComponentAnalysisKD self)
9915 return _IMP_algebra.PrincipalComponentAnalysisKD_show(self, *args)
9917 def __eq__(self, *args):
9918 """__eq__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9919 return _IMP_algebra.PrincipalComponentAnalysisKD___eq__(self, *args)
9921 def __ne__(self, *args):
9922 """__ne__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9923 return _IMP_algebra.PrincipalComponentAnalysisKD___ne__(self, *args)
9925 def __lt__(self, *args):
9926 """__lt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9927 return _IMP_algebra.PrincipalComponentAnalysisKD___lt__(self, *args)
9929 def __gt__(self, *args):
9930 """__gt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9931 return _IMP_algebra.PrincipalComponentAnalysisKD___gt__(self, *args)
9933 def __ge__(self, *args):
9934 """__ge__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9935 return _IMP_algebra.PrincipalComponentAnalysisKD___ge__(self, *args)
9937 def __le__(self, *args):
9938 """__le__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9939 return _IMP_algebra.PrincipalComponentAnalysisKD___le__(self, *args)
9942 """__str__(PrincipalComponentAnalysisKD self) -> std::string"""
9943 return _IMP_algebra.PrincipalComponentAnalysisKD___str__(self)
9946 """__repr__(PrincipalComponentAnalysisKD self) -> std::string"""
9947 return _IMP_algebra.PrincipalComponentAnalysisKD___repr__(self)
9949 def __cmp__(self, *args):
9950 """__cmp__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD arg2) -> int"""
9951 return _IMP_algebra.PrincipalComponentAnalysisKD___cmp__(self, *args)
9953 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysisKD
9954 __del__ =
lambda self :
None;
9955 PrincipalComponentAnalysisKD_swigregister = _IMP_algebra.PrincipalComponentAnalysisKD_swigregister
9956 PrincipalComponentAnalysisKD_swigregister(PrincipalComponentAnalysisKD)
9961 get_principal_components(IMP::base::Vector< IMP::algebra::Vector1D > const & a) -> PrincipalComponentAnalysis1D
9962 get_principal_components(IMP::base::Vector< IMP::algebra::Vector2D > const & a) -> PrincipalComponentAnalysis2D
9963 get_principal_components(IMP::base::Vector< IMP::algebra::Vector3D > const & a) -> PrincipalComponentAnalysis3D
9964 get_principal_components(IMP::base::Vector< IMP::algebra::Vector4D > const & a) -> PrincipalComponentAnalysis4D
9965 get_principal_components(IMP::base::Vector< IMP::algebra::Vector5D > const & a) -> PrincipalComponentAnalysis5D
9966 get_principal_components(IMP::base::Vector< IMP::algebra::Vector6D > const & a) -> PrincipalComponentAnalysis6D
9967 get_principal_components(IMP::base::Vector< IMP::algebra::VectorKD > const & a) -> PrincipalComponentAnalysisKD
9969 return _IMP_algebra.get_principal_components(*args)
9973 get_vertices(BoundingBox1D a) -> IMP::base::Vector< IMP::algebra::Vector1D >
9974 get_vertices(BoundingBox2D a) -> IMP::base::Vector< IMP::algebra::Vector2D >
9975 get_vertices(BoundingBox3D a) -> IMP::base::Vector< IMP::algebra::Vector3D >
9976 get_vertices(BoundingBox4D a) -> IMP::base::Vector< IMP::algebra::Vector4D >
9977 get_vertices(BoundingBox5D a) -> IMP::base::Vector< IMP::algebra::Vector5D >
9978 get_vertices(BoundingBox6D a) -> IMP::base::Vector< IMP::algebra::Vector6D >
9979 get_vertices(BoundingBoxKD a) -> IMP::base::Vector< IMP::algebra::VectorKD >
9981 return _IMP_algebra.get_vertices(*args)
9985 get_distance(Rotation3D r0, Rotation3D r1) -> double
9986 get_distance(Segment3D s, Vector3D p) -> double
9987 get_distance(Segment3D a, Segment3D b) -> double
9988 get_distance(Plane3D pln, Vector3D p) -> double
9989 get_distance(Vector1D a, Vector1D b) -> double
9990 get_distance(Vector2D a, Vector2D b) -> double
9991 get_distance(Vector3D a, Vector3D b) -> double
9992 get_distance(Vector4D a, Vector4D b) -> double
9993 get_distance(Vector5D a, Vector5D b) -> double
9994 get_distance(Vector6D a, Vector6D b) -> double
9995 get_distance(VectorKD a, VectorKD b) -> double
9996 get_distance(Sphere1D a, Sphere1D b) -> double
9997 get_distance(Sphere2D a, Sphere2D b) -> double
9998 get_distance(Sphere3D a, Sphere3D b) -> double
9999 get_distance(Sphere4D a, Sphere4D b) -> double
10000 get_distance(Sphere5D a, Sphere5D b) -> double
10001 get_distance(Sphere6D a, Sphere6D b) -> double
10002 get_distance(SphereKD a, SphereKD b) -> double
10004 return _IMP_algebra.get_distance(*args)
10008 get_squared_distance(Vector1D a, Vector1D b) -> double
10009 get_squared_distance(Vector2D a, Vector2D b) -> double
10010 get_squared_distance(Vector3D a, Vector3D b) -> double
10011 get_squared_distance(Vector4D a, Vector4D b) -> double
10012 get_squared_distance(Vector5D a, Vector5D b) -> double
10013 get_squared_distance(Vector6D a, Vector6D b) -> double
10014 get_squared_distance(VectorKD a, VectorKD b) -> double
10016 return _IMP_algebra.get_squared_distance(*args)
10018 def get_basis_vector_1d(*args):
10019 """get_basis_vector_1d(unsigned int coordinate) -> Vector1D"""
10020 return _IMP_algebra.get_basis_vector_1d(*args)
10022 def get_basis_vector_2d(*args):
10023 """get_basis_vector_2d(unsigned int coordinate) -> Vector2D"""
10024 return _IMP_algebra.get_basis_vector_2d(*args)
10026 def get_basis_vector_3d(*args):
10027 """get_basis_vector_3d(unsigned int coordinate) -> Vector3D"""
10028 return _IMP_algebra.get_basis_vector_3d(*args)
10030 def get_basis_vector_4d(*args):
10031 """get_basis_vector_4d(unsigned int coordinate) -> Vector4D"""
10032 return _IMP_algebra.get_basis_vector_4d(*args)
10034 def get_basis_vector_5d(*args):
10035 """get_basis_vector_5d(unsigned int coordinate) -> Vector5D"""
10036 return _IMP_algebra.get_basis_vector_5d(*args)
10038 def get_basis_vector_6d(*args):
10039 """get_basis_vector_6d(unsigned int coordinate) -> Vector6D"""
10040 return _IMP_algebra.get_basis_vector_6d(*args)
10042 def get_zero_vector_1d():
10043 """get_zero_vector_1d() -> Vector1D"""
10044 return _IMP_algebra.get_zero_vector_1d()
10046 def get_zero_vector_2d():
10047 """get_zero_vector_2d() -> Vector2D"""
10048 return _IMP_algebra.get_zero_vector_2d()
10050 def get_zero_vector_3d():
10051 """get_zero_vector_3d() -> Vector3D"""
10052 return _IMP_algebra.get_zero_vector_3d()
10054 def get_zero_vector_4d():
10055 """get_zero_vector_4d() -> Vector4D"""
10056 return _IMP_algebra.get_zero_vector_4d()
10058 def get_zero_vector_5d():
10059 """get_zero_vector_5d() -> Vector5D"""
10060 return _IMP_algebra.get_zero_vector_5d()
10062 def get_zero_vector_6d():
10063 """get_zero_vector_6d() -> Vector6D"""
10064 return _IMP_algebra.get_zero_vector_6d()
10066 def get_ones_vector_1d(v=1):
10068 get_ones_vector_1d(double v=1) -> Vector1D
10069 get_ones_vector_1d() -> Vector1D
10071 return _IMP_algebra.get_ones_vector_1d(v)
10073 def get_ones_vector_2d(v=1):
10075 get_ones_vector_2d(double v=1) -> Vector2D
10076 get_ones_vector_2d() -> Vector2D
10078 return _IMP_algebra.get_ones_vector_2d(v)
10080 def get_ones_vector_3d(v=1):
10082 get_ones_vector_3d(double v=1) -> Vector3D
10083 get_ones_vector_3d() -> Vector3D
10085 return _IMP_algebra.get_ones_vector_3d(v)
10087 def get_ones_vector_4d(v=1):
10089 get_ones_vector_4d(double v=1) -> Vector4D
10090 get_ones_vector_4d() -> Vector4D
10092 return _IMP_algebra.get_ones_vector_4d(v)
10094 def get_ones_vector_5d(v=1):
10096 get_ones_vector_5d(double v=1) -> Vector5D
10097 get_ones_vector_5d() -> Vector5D
10099 return _IMP_algebra.get_ones_vector_5d(v)
10101 def get_ones_vector_6d(v=1):
10103 get_ones_vector_6d(double v=1) -> Vector6D
10104 get_ones_vector_6d() -> Vector6D
10106 return _IMP_algebra.get_ones_vector_6d(v)
10108 def get_unit_bounding_box_1d():
10109 """get_unit_bounding_box_1d() -> BoundingBox1D"""
10110 return _IMP_algebra.get_unit_bounding_box_1d()
10112 def get_unit_bounding_box_2d():
10113 """get_unit_bounding_box_2d() -> BoundingBox2D"""
10114 return _IMP_algebra.get_unit_bounding_box_2d()
10116 def get_unit_bounding_box_3d():
10117 """get_unit_bounding_box_3d() -> BoundingBox3D"""
10118 return _IMP_algebra.get_unit_bounding_box_3d()
10120 def get_unit_bounding_box_4d():
10121 """get_unit_bounding_box_4d() -> BoundingBox4D"""
10122 return _IMP_algebra.get_unit_bounding_box_4d()
10124 def get_unit_bounding_box_5d():
10125 """get_unit_bounding_box_5d() -> BoundingBox5D"""
10126 return _IMP_algebra.get_unit_bounding_box_5d()
10128 def get_unit_bounding_box_6d():
10129 """get_unit_bounding_box_6d() -> BoundingBox6D"""
10130 return _IMP_algebra.get_unit_bounding_box_6d()
10132 def get_cube_1d(*args):
10133 """get_cube_1d(double radius) -> BoundingBox1D"""
10134 return _IMP_algebra.get_cube_1d(*args)
10136 def get_cube_2d(*args):
10137 """get_cube_2d(double radius) -> BoundingBox2D"""
10138 return _IMP_algebra.get_cube_2d(*args)
10140 def get_cube_3d(*args):
10141 """get_cube_3d(double radius) -> BoundingBox3D"""
10142 return _IMP_algebra.get_cube_3d(*args)
10144 def get_cube_4d(*args):
10145 """get_cube_4d(double radius) -> BoundingBox4D"""
10146 return _IMP_algebra.get_cube_4d(*args)
10148 def get_cube_5d(*args):
10149 """get_cube_5d(double radius) -> BoundingBox5D"""
10150 return _IMP_algebra.get_cube_5d(*args)
10152 def get_cube_6d(*args):
10153 """get_cube_6d(double radius) -> BoundingBox6D"""
10154 return _IMP_algebra.get_cube_6d(*args)
10156 def get_unit_sphere_1d():
10157 """get_unit_sphere_1d() -> Sphere1D"""
10158 return _IMP_algebra.get_unit_sphere_1d()
10160 def get_unit_sphere_2d():
10161 """get_unit_sphere_2d() -> Sphere2D"""
10162 return _IMP_algebra.get_unit_sphere_2d()
10164 def get_unit_sphere_3d():
10165 """get_unit_sphere_3d() -> Sphere3D"""
10166 return _IMP_algebra.get_unit_sphere_3d()
10168 def get_unit_sphere_4d():
10169 """get_unit_sphere_4d() -> Sphere4D"""
10170 return _IMP_algebra.get_unit_sphere_4d()
10172 def get_unit_sphere_5d():
10173 """get_unit_sphere_5d() -> Sphere5D"""
10174 return _IMP_algebra.get_unit_sphere_5d()
10176 def get_unit_sphere_6d():
10177 """get_unit_sphere_6d() -> Sphere6D"""
10178 return _IMP_algebra.get_unit_sphere_6d()
10182 get_interiors_intersect(Sphere1D a, Sphere1D b) -> bool
10183 get_interiors_intersect(Sphere2D a, Sphere2D b) -> bool
10184 get_interiors_intersect(Sphere3D a, Sphere3D b) -> bool
10185 get_interiors_intersect(Sphere4D a, Sphere4D b) -> bool
10186 get_interiors_intersect(Sphere5D a, Sphere5D b) -> bool
10187 get_interiors_intersect(Sphere6D a, Sphere6D b) -> bool
10188 get_interiors_intersect(SphereKD a, SphereKD b) -> bool
10189 get_interiors_intersect(BoundingBox1D a, BoundingBox1D b) -> bool
10190 get_interiors_intersect(BoundingBox2D a, BoundingBox2D b) -> bool
10191 get_interiors_intersect(BoundingBox3D a, BoundingBox3D b) -> bool
10192 get_interiors_intersect(BoundingBox4D a, BoundingBox4D b) -> bool
10193 get_interiors_intersect(BoundingBox5D a, BoundingBox5D b) -> bool
10194 get_interiors_intersect(BoundingBox6D a, BoundingBox6D b) -> bool
10195 get_interiors_intersect(BoundingBoxKD a, BoundingBoxKD b) -> bool
10197 return _IMP_algebra.get_interiors_intersect(*args)
10201 get_random_vector_on(Sphere1D a) -> Vector1D
10202 get_random_vector_on(Sphere2D a) -> Vector2D
10203 get_random_vector_on(Sphere3D a) -> Vector3D
10204 get_random_vector_on(Sphere4D a) -> Vector4D
10205 get_random_vector_on(Sphere5D a) -> Vector5D
10206 get_random_vector_on(Sphere6D a) -> Vector6D
10207 get_random_vector_on(SphereKD a) -> VectorKD
10208 get_random_vector_on(BoundingBox1D a) -> Vector1D
10209 get_random_vector_on(BoundingBox2D a) -> Vector2D
10210 get_random_vector_on(BoundingBox3D a) -> Vector3D
10211 get_random_vector_on(BoundingBox4D a) -> Vector4D
10212 get_random_vector_on(BoundingBox5D a) -> Vector5D
10213 get_random_vector_on(BoundingBox6D a) -> Vector6D
10214 get_random_vector_on(BoundingBoxKD a) -> VectorKD
10216 return _IMP_algebra.get_random_vector_on(*args)
10220 get_random_vector_in(Cylinder3D c) -> Vector3D
10221 get_random_vector_in(Sphere1D a) -> Vector1D
10222 get_random_vector_in(Sphere2D a) -> Vector2D
10223 get_random_vector_in(Sphere3D a) -> Vector3D
10224 get_random_vector_in(Sphere4D a) -> Vector4D
10225 get_random_vector_in(Sphere5D a) -> Vector5D
10226 get_random_vector_in(Sphere6D a) -> Vector6D
10227 get_random_vector_in(SphereKD a) -> VectorKD
10228 get_random_vector_in(BoundingBox1D a) -> Vector1D
10229 get_random_vector_in(BoundingBox2D a) -> Vector2D
10230 get_random_vector_in(BoundingBox3D a) -> Vector3D
10231 get_random_vector_in(BoundingBox4D a) -> Vector4D
10232 get_random_vector_in(BoundingBox5D a) -> Vector5D
10233 get_random_vector_in(BoundingBox6D a) -> Vector6D
10234 get_random_vector_in(BoundingBoxKD a) -> VectorKD
10236 return _IMP_algebra.get_random_vector_in(*args)
10240 get_intersection(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
10241 get_intersection(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
10242 get_intersection(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
10243 get_intersection(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
10244 get_intersection(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
10245 get_intersection(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
10246 get_intersection(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
10248 return _IMP_algebra.get_intersection(*args)
10252 get_union(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
10253 get_union(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
10254 get_union(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
10255 get_union(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
10256 get_union(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
10257 get_union(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
10258 get_union(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
10260 return _IMP_algebra.get_union(*args)
10264 get_bounding_box(Segment3D g) -> BoundingBox3D
10265 get_bounding_box(Plane3D g) -> BoundingBox3D
10266 get_bounding_box(Cylinder3D g) -> BoundingBox3D
10267 get_bounding_box(Ellipsoid3D g) -> BoundingBox3D
10268 get_bounding_box(SpherePatch3D g) -> BoundingBox3D
10269 get_bounding_box(Cone3D g) -> BoundingBox3D
10270 get_bounding_box(Sphere1D a) -> BoundingBox1D
10271 get_bounding_box(Sphere2D a) -> BoundingBox2D
10272 get_bounding_box(Sphere3D a) -> BoundingBox3D
10273 get_bounding_box(Sphere4D a) -> BoundingBox4D
10274 get_bounding_box(Sphere5D a) -> BoundingBox5D
10275 get_bounding_box(Sphere6D a) -> BoundingBox6D
10276 get_bounding_box(SphereKD a) -> BoundingBoxKD
10278 return _IMP_algebra.get_bounding_box(*args)
10282 get_uniform_surface_cover(Cylinder3D cyl, int number_of_points) -> IMP::algebra::Vector3Ds
10283 get_uniform_surface_cover(SpherePatch3D sph, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
10284 get_uniform_surface_cover(Cone3D cone, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
10285 get_uniform_surface_cover(IMP::algebra::Sphere3Ds const & _in, double points_per_square_angstrom) -> IMP::algebra::Vector3Ds
10286 get_uniform_surface_cover(Sphere1D a, unsigned int const & b) -> IMP::algebra::Vector1Ds
10287 get_uniform_surface_cover(Sphere2D a, unsigned int const & b) -> IMP::algebra::Vector2Ds
10288 get_uniform_surface_cover(Sphere3D a, unsigned int const & b) -> IMP::algebra::Vector3Ds
10289 get_uniform_surface_cover(Sphere4D a, unsigned int const & b) -> IMP::algebra::Vector4Ds
10290 get_uniform_surface_cover(Sphere5D a, unsigned int const & b) -> IMP::algebra::Vector5Ds
10291 get_uniform_surface_cover(Sphere6D a, unsigned int const & b) -> IMP::algebra::Vector6Ds
10292 get_uniform_surface_cover(SphereKD a, unsigned int const & b) -> IMP::algebra::VectorKDs
10294 return _IMP_algebra.get_uniform_surface_cover(*args)
10298 get_grid_interior_cover_by_spacing(BoundingBox1D a, double const & b) -> IMP::algebra::Vector1Ds
10299 get_grid_interior_cover_by_spacing(BoundingBox2D a, double const & b) -> IMP::algebra::Vector2Ds
10300 get_grid_interior_cover_by_spacing(BoundingBox3D a, double const & b) -> IMP::algebra::Vector3Ds
10301 get_grid_interior_cover_by_spacing(BoundingBox4D a, double const & b) -> IMP::algebra::Vector4Ds
10302 get_grid_interior_cover_by_spacing(BoundingBox5D a, double const & b) -> IMP::algebra::Vector5Ds
10303 get_grid_interior_cover_by_spacing(BoundingBox6D a, double const & b) -> IMP::algebra::Vector6Ds
10304 get_grid_interior_cover_by_spacing(BoundingBoxKD a, double const & b) -> IMP::algebra::VectorKDs
10306 return _IMP_algebra.get_grid_interior_cover_by_spacing(*args)
10307 class _AxisAnglePair(_object):
10308 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,double)> class"""
10309 __swig_setmethods__ = {}
10310 __setattr__ =
lambda self, name, value: _swig_setattr(self, _AxisAnglePair, name, value)
10311 __swig_getmethods__ = {}
10312 __getattr__ =
lambda self, name: _swig_getattr(self, _AxisAnglePair, name)
10313 __repr__ = _swig_repr
10314 def __init__(self, *args):
10316 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self) -> _AxisAnglePair
10317 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, Vector3D first, double second) -> _AxisAnglePair
10318 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, _AxisAnglePair p) -> _AxisAnglePair
10320 this = _IMP_algebra.new__AxisAnglePair(*args)
10321 try: self.this.append(this)
10322 except: self.this = this
10323 __swig_setmethods__[
"first"] = _IMP_algebra._AxisAnglePair_first_set
10324 __swig_getmethods__[
"first"] = _IMP_algebra._AxisAnglePair_first_get
10325 if _newclass:first = _swig_property(_IMP_algebra._AxisAnglePair_first_get, _IMP_algebra._AxisAnglePair_first_set)
10326 __swig_setmethods__[
"second"] = _IMP_algebra._AxisAnglePair_second_set
10327 __swig_getmethods__[
"second"] = _IMP_algebra._AxisAnglePair_second_get
10328 if _newclass:second = _swig_property(_IMP_algebra._AxisAnglePair_second_get, _IMP_algebra._AxisAnglePair_second_set)
10329 def __len__(self):
return 2
10330 def __repr__(self):
return str((self.first, self.second))
10331 def __getitem__(self, index):
10332 if not (index % 2):
10336 def __setitem__(self, index, val):
10337 if not (index % 2):
10341 __swig_destroy__ = _IMP_algebra.delete__AxisAnglePair
10342 __del__ =
lambda self :
None;
10343 _AxisAnglePair_swigregister = _IMP_algebra._AxisAnglePair_swigregister
10344 _AxisAnglePair_swigregister(_AxisAnglePair)
10348 """get_transformation_aligning_first_to_second(IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & source, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & target) -> Transformation3D"""
10349 return _IMP_algebra.get_transformation_aligning_first_to_second(*args)
10352 """get_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
10353 return _IMP_algebra.get_rmsd_transforming_first(*args)
10356 """get_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
10357 return _IMP_algebra.get_rmsd(*args)
10359 def get_weighted_rmsd_transforming_first(*args):
10361 get_weighted_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1,
10362 IMP::Floats const & weights) -> double
10364 return _IMP_algebra.get_weighted_rmsd_transforming_first(*args)
10367 """get_weighted_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
10368 return _IMP_algebra.get_weighted_rmsd(*args)
10369 LinearFit=LinearFit2D
10370 ParabolicFit=ParabolicFit2D
10373 def get_module_version():
10374 """get_module_version() -> std::string const"""
10375 return _IMP_algebra.get_module_version()
10377 def get_example_path(*args):
10378 """get_example_path(std::string fname) -> std::string"""
10379 return _IMP_algebra.get_example_path(*args)
10381 def get_data_path(*args):
10382 """get_data_path(std::string fname) -> std::string"""
10383 return _IMP_algebra.get_data_path(*args)
10384 import _version_check
10385 _version_check.check_version(get_module_version())
bool get_is_big_endian()
Returns 1 if machine is big endian else 0.
const SpherePatch3D & get_sphere_patch_3d_geometry(const SpherePatch3D &g)
BoundingBoxD<-1 > BoundingBoxKD
Typedef for Python.
Rotation3D get_rotation_about_normalized_axis(const Vector3D &axis_norm, double angle)
Transformation2D get_transformation_aligning_pair(const Vector2Ds &set_from, const Vector2Ds &set_to)
Grid3D< float, DenseGridStorage3D< float > > DenseFloatGrid3D
SphereD< 4 > Sphere4D
Typedef for Python.
ParticleIndexes get_indexes(const ParticlesTemp &ps)
SphereD< 3 > Sphere3D
Typedef for Python.
VectorD< D > get_random_vector_on(const BoundingBoxD< D > &bb)
Generate a random vector on a box with uniform density.
Grid3D< int, SparseGridStorage3D< int, UnboundedGridStorage3D > > SparseUnboundedIntGrid3D
Rotation3D get_rotation_from_x_y_axes(const Vector3D &x, const Vector3D &y)
base::Vector< VectorD< D > > get_uniform_surface_cover(const SphereD< D > &s, unsigned int n)
Generate a set of vectors which covers a sphere uniformly.
Ints get_index(const kernel::ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
BoundingBoxD< 3 > BoundingBox3D
Typedef for Python.
Rotation3D get_rotation_from_fixed_xyz(double xr, double yr, double zr)
Initialize a rotation in x-y-z order from three angles.
VectorD< 3 > get_random_vector_on_unit_sphere()
Vector3Ds get_random_chain(unsigned int n, double r, const Vector3D &start=Vector3D(0, 0, 0), const Sphere3Ds &obstacles=Sphere3Ds())
Generate a random chain with no collisions.
VectorD< D > get_zero_vector_kd(int Di)
Return a dynamically sized vector of zeros.
Rotation2D compose(const Rotation2D &a, const Rotation2D &b)
compose two rotations a and b
Sphere3D get_enclosing_sphere(const Sphere3Ds &ss)
Return a sphere containing the listed spheres.
algebra::Rotation3Ds get_uniformly_sampled_rotations(double delta)
Generates a nondegenerate set of Euler angles with a delta resolution.
bool get_is_little_endian()
Returns 1 if machine is little endian else 0.
PrincipalComponentAnalysisD< D > get_principal_components(const base::Vector< VectorD< D > > &ps)
Perform principal components analysis on a set of vectors.
void get_projection(em2d::Image *img, const kernel::ParticlesTemp &ps, const RegistrationResult ®, const ProjectingOptions &options, MasksManagerPtr masks=MasksManagerPtr(), String name="")
Generates a projection from particles.
Triangle3D get_largest_triangle(const Vector3Ds &points)
Return the largest triangle defined by 3 points from the input.
Make CGAL functionality available to IMP.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
double get_volume(const Cone3D &g)
IntPairs get_edges(const BoundingBoxD< 3 > &)
Return the edges of the box as indices into the vertices list.
BoundingBoxD< 5 > BoundingBox5D
Typedef for Python.
SphereD< 2 > Sphere2D
Typedef for Python.
DenseGrid3D< float > get_rasterized(const Gaussian3Ds &gmm, const Floats &weights, double cell_width, const BoundingBox3D &bb)
Rasterize the Gaussians to a grid.
BoundingBoxD< D > get_union(BoundingBoxD< D > a, const BoundingBoxD< D > &b)
Return the union bounding box.
Low level functionality (logging, error handling, profiling, command line flags etc) that is used by ...
double get_squared_distance(const VectorD< D > &v1, const VectorD< D > &v2)
Compute the squared distance between two vectors.
VT get_unit_vector(VT vt)
Returns a unit vector pointing at the same direction as this vector.
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.
double get_weighted_rmsd(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2, const Floats &weights)
IMP_Eigen::Matrix3d get_covariance(const Gaussian3D &g)
Vector3D get_reflected(const Plane3D &pln, const Vector3D &p)
Return the point reflected about the plane.
const Plane3D & get_plane_3d_geometry(const Plane3D &g)
Grid3D< double, DenseGridStorage3D< double > > DenseDoubleGrid3D
Atom get_atom(Residue rd, AtomType at)
Return a particle atom from the residue.
VectorD< D > get_ones_vector_kd(unsigned int Di, double v=1)
Return a vector of ones (or another constant)
BoundingBoxD< 2 > BoundingBox2D
Typedef for Python.
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.
Rotation3D get_random_rotation_3d()
Pick a rotation at random from all possible rotations.
double get_distance(const Plane3D &pln, const Vector3D &p)
Return the distance between a plane and a point in 3D.
Vector3D get_vector_product(const Vector3D &p1, const Vector3D &p2)
Returns the vector product (cross product) of two vectors.
bool get_interiors_intersect(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return true if they intersect.
const Cone3D & get_cone_3d_geometry(const Cone3D &g)
FixedXYZ get_fixed_xyz_from_rotation(const Rotation3D &r)
The inverse of rotation_from_fixed_xyz()
bool get_are_colinear(const Vector3D &p1, const Vector3D &p2, const Vector3D &p3)
Return true if the three points are co-linear.
void write_pts(const Vector3Ds &vs, base::TextOutput out)
Write a set of 3D vectors to a file.
BoundingBoxD< 4 > BoundingBox4D
Typedef for Python.
Rotation2D get_identity_rotation_2d()
Builds an identity rotation in 2D.
BoundingBoxD< 3 > get_bounding_box(const Cone3D &g)
const Cylinder3D & get_cylinder_3d_geometry(const Cylinder3D &g)
Rotation3D get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi)
Generate a rotation object from Euler Angles.
SphereD< 6 > Sphere6D
Typedef for Python.
double get_rmsd(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
VectorD< D > get_random_vector_in(const BoundingBoxD< D > &bb)
Generate a random vector in a box with uniform density.
SphereD< 5 > Sphere5D
Typedef for Python.
BoundingBoxD<-1 > get_unit_bounding_box_kd(unsigned int d)
Box with radius one.
double get_surface_area(const Cone3D &g)
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.
FloatPair get_surface_area_and_volume(const algebra::Sphere3Ds &ss)
Transformation3Ds get_alignments_from_first_to_second(const PrincipalComponentAnalysisD< 3 > &pca1, const PrincipalComponentAnalysisD< 3 > &pca2)
SphereD< 1 > Sphere1D
Typedef for Python.
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 rotation 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.
double get_area(const Plane3D &g)
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)
const Segment3D & get_segment_3d_geometry(const Segment3D &g)
Transformation3D get_identity_transformation_3d()
Return a transformation that does not do anything.
const Ellipsoid3D & get_ellipsoid_3d_geometry(const Ellipsoid3D &g)
void reversed_read(void *dest, size_t size, size_t nitems, std::ifstream &f, bool reverse)
Reads from file in normal or reverse order.
void write_spheres(const Sphere3Ds &vs, base::TextOutput out)
Write a set of 3d spheres to a file.
Gaussian3D get_gaussian_from_covariance(const IMP_Eigen::Matrix3d &covariance, const Vector3D ¢er)
Return a Gaussian centered at the origin from a covariance matrix.
Rotation3D get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)
Generate a Rotation3D object from a rotation matrix.
Transformation3D get_transformation_3d(const Transformation2D &t2d)
Builds a 3D transformation from a 2D one.
double get_relative_projection_on_segment(const Segment3D &s, const algebra::Vector3D &p)
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
Sphere3Ds read_spheres(base::TextInput input)
Read a set of 3d spheres from a file.
Rotation3D get_identity_rotation_3d()
Return a rotation that does not do anything.
base::Vector< VectorD< D > > get_vertices(const BoundingBoxD< D > &bb)
Return a list of the 8 bounding points for the bounding box.
Sphere3Ds get_simplified_from_volume(Sphere3Ds in, double maximum_allowed_error_angstroms)
void reversed_write(const void *src, size_t size, size_t nitems, std::ofstream &f, bool reverse=false)
Writes to a file in normal or reversed order.
Vector3D get_orthogonal_vector(const Vector3D &v)
Return a vector that is perpendicular to the given vector.
double get_rmsd_transforming_first(const Transformation3D &tr, const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
Calculate the root mean square deviation between two sets of 3D points.
CheckLevel get_check_level()
Get the current audit mode.
BoundingBoxD< 6 > BoundingBox6D
Typedef for Python.
SphereD<-1 > SphereKD
Typedef for Python.
DensityMap * get_segment(DensityMap *map_to_segment, int nx_start, int nx_end, int ny_start, int ny_end, int nz_start, int nz_end)
Get a segment of the map according to xyz indexes.
Vector3Ds get_grid_surface_cover(const Cylinder3D &cyl, int number_of_cycles, int number_of_points_on_cycle)
Generate a grid of 3d points on a cylinder surface.
Rotation3D get_rotation_from_fixed_zxz(double phi, double theta, double psi)
Initialize a rotation from Euler angles.
BoundingBoxD< 1 > BoundingBox1D
Typedef for Python.
Transformation3D get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26)
Get a local transformation.
Transformation2D get_identity_transformation_2d()
Returns a transformation that does not do anything.
ConnollySurfacePoints get_connolly_surface(const algebra::Sphere3Ds &spheres, double density, double probe_radius)
Rotation2D get_random_rotation_2d()
Builds an identity rotation in 2D.