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:
72 def _swig_setattr_nondynamic_method(set):
73 def set_attr(self,name,value):
74 if (name ==
"thisown"):
return self.this.own(value)
75 if hasattr(self,name)
or (name ==
"this"):
78 raise AttributeError(
"You cannot add attributes to %s" % self)
84 weakref_proxy = weakref.proxy
86 weakref_proxy =
lambda x: x
89 class IMP_ALGEBRA_SwigPyIterator(object):
90 """Proxy of C++ swig::IMP_ALGEBRA_SwigPyIterator class"""
91 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
92 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
94 __swig_destroy__ = _IMP_algebra.delete_IMP_ALGEBRA_SwigPyIterator
95 __del__ =
lambda self :
None;
97 """value(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
98 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_value(self)
102 incr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
103 incr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
105 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_incr(self, n)
109 decr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
110 decr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
112 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_decr(self, n)
114 def distance(self, *args):
115 """distance(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t"""
116 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_distance(self, *args)
118 def equal(self, *args):
119 """equal(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
120 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_equal(self, *args)
123 """copy(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator"""
124 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_copy(self)
127 """next(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
128 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_next(self)
131 """__next__(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
132 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___next__(self)
135 """previous(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
136 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_previous(self)
138 def advance(self, *args):
139 """advance(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
140 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_advance(self, *args)
142 def __eq__(self, *args):
143 """__eq__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
144 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___eq__(self, *args)
146 def __ne__(self, *args):
147 """__ne__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
148 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___ne__(self, *args)
150 def __iadd__(self, *args):
151 """__iadd__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
152 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___iadd__(self, *args)
154 def __isub__(self, *args):
155 """__isub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
156 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___isub__(self, *args)
158 def __add__(self, *args):
159 """__add__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
160 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___add__(self, *args)
162 def __sub__(self, *args):
164 __sub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator
165 __sub__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t
167 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___sub__(self, *args)
169 def __iter__(self):
return self
170 IMP_ALGEBRA_SwigPyIterator_swigregister = _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_swigregister
171 IMP_ALGEBRA_SwigPyIterator_swigregister(IMP_ALGEBRA_SwigPyIterator)
178 IMP_DEBUG = _IMP_algebra.IMP_DEBUG
179 IMP_RELEASE = _IMP_algebra.IMP_RELEASE
180 IMP_SILENT = _IMP_algebra.IMP_SILENT
181 IMP_PROGRESS = _IMP_algebra.IMP_PROGRESS
182 IMP_TERSE = _IMP_algebra.IMP_TERSE
183 IMP_VERBOSE = _IMP_algebra.IMP_VERBOSE
184 IMP_MEMORY = _IMP_algebra.IMP_MEMORY
185 IMP_NONE = _IMP_algebra.IMP_NONE
186 IMP_USAGE = _IMP_algebra.IMP_USAGE
187 IMP_INTERNAL = _IMP_algebra.IMP_INTERNAL
188 IMP_BASE_HAS_LOG4CXX = _IMP_algebra.IMP_BASE_HAS_LOG4CXX
189 IMP_COMPILER_HAS_AUTO = _IMP_algebra.IMP_COMPILER_HAS_AUTO
190 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_algebra.IMP_COMPILER_HAS_DEBUG_VECTOR
191 IMP_BASE_HAS_BOOST_RANDOM = _IMP_algebra.IMP_BASE_HAS_BOOST_RANDOM
192 IMP_BASE_HAS_GPERFTOOLS = _IMP_algebra.IMP_BASE_HAS_GPERFTOOLS
193 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_algebra.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
194 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_algebra.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
195 IMPBASE_SHOW_WARNINGS = _IMP_algebra.IMPBASE_SHOW_WARNINGS
197 class _DirectorObjects(object):
198 """@internal Simple class to keep references to director objects
199 to prevent premature deletion."""
202 def register(self, obj):
203 """Take a reference to a director object; will only work for
204 refcounted C++ classes"""
205 if hasattr(obj,
'get_ref_count'):
206 self._objects.append(obj)
208 """Only drop our reference and allow cleanup by Python if no other
209 Python references exist (we hold 3 references: one in self._objects,
210 one in x, and one in the argument list for getrefcount) *and* no
211 other C++ references exist (the Python object always holds one)"""
212 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
213 or x.get_ref_count() > 1]
217 def get_object_count(self):
218 """Get number of director objects (useful for testing only)"""
219 return len(self._objects)
220 _director_objects = _DirectorObjects()
222 class _ostream(object):
223 """Proxy of C++ std::ostream class"""
224 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
225 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
226 __repr__ = _swig_repr
227 def write(self, *args):
228 """write(_ostream self, char const * osa_buf)"""
229 return _IMP_algebra._ostream_write(self, *args)
231 _ostream_swigregister = _IMP_algebra._ostream_swigregister
232 _ostream_swigregister(_ostream)
234 IMP_COMPILER_HAS_OVERRIDE = _IMP_algebra.IMP_COMPILER_HAS_OVERRIDE
235 IMP_COMPILER_HAS_FINAL = _IMP_algebra.IMP_COMPILER_HAS_FINAL
236 IMP_HAS_NOEXCEPT = _IMP_algebra.IMP_HAS_NOEXCEPT
238 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM
239 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
240 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM
241 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM
242 IMPCGAL_SHOW_WARNINGS = _IMP_algebra.IMPCGAL_SHOW_WARNINGS
244 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL
245 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
246 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
247 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM
248 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM
249 IMP_ALGEBRA_HAS_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_CGAL
250 IMP_ALGEBRA_HAS_ANN = _IMP_algebra.IMP_ALGEBRA_HAS_ANN
251 IMPALGEBRA_SHOW_WARNINGS = _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS
254 return v.get_coordinates()
259 return v.get_sphere()
263 _object_types.append(
"VectorKDMetric")
266 def _object_cast_to_VectorKDMetric(*args):
267 """_object_cast_to_VectorKDMetric(Object o) -> VectorKDMetric"""
268 return _IMP_algebra._object_cast_to_VectorKDMetric(*args)
269 _object_types.append(
"EuclideanVectorKDMetric")
272 def _object_cast_to_EuclideanVectorKDMetric(*args):
273 """_object_cast_to_EuclideanVectorKDMetric(Object o) -> EuclideanVectorKDMetric"""
274 return _IMP_algebra._object_cast_to_EuclideanVectorKDMetric(*args)
275 _object_types.append(
"MaxVectorKDMetric")
278 def _object_cast_to_MaxVectorKDMetric(*args):
279 """_object_cast_to_MaxVectorKDMetric(Object o) -> MaxVectorKDMetric"""
280 return _IMP_algebra._object_cast_to_MaxVectorKDMetric(*args)
281 _object_types.append(
"DynamicNearestNeighbor3D")
284 def _object_cast_to_DynamicNearestNeighbor3D(*args):
285 """_object_cast_to_DynamicNearestNeighbor3D(Object o) -> DynamicNearestNeighbor3D"""
286 return _IMP_algebra._object_cast_to_DynamicNearestNeighbor3D(*args)
288 _plural_types.append(
"Rotation2Ds")
289 _value_types.append(
"Rotation2D")
292 _plural_types.append(
"Rotation3Ds")
293 _value_types.append(
"Rotation3D")
296 _plural_types.append(
"Reflection3Ds")
297 _value_types.append(
"Reflection3D")
299 Transformation2Ds=list
300 _plural_types.append(
"Transformation2Ds")
301 _value_types.append(
"Transformation2D")
303 Transformation3Ds=list
304 _plural_types.append(
"Transformation3Ds")
305 _value_types.append(
"Transformation3D")
307 SphericalVector3Ds=list
308 _plural_types.append(
"SphericalVector3Ds")
309 _value_types.append(
"SphericalVector3D")
312 _plural_types.append(
"Triangle3Ds")
313 _value_types.append(
"Triangle3D")
316 _plural_types.append(
"Cone3Ds")
317 _value_types.append(
"Cone3D")
320 _plural_types.append(
"Cylinder3Ds")
321 _value_types.append(
"Cylinder3D")
324 _plural_types.append(
"Ellipsoid3Ds")
325 _value_types.append(
"Ellipsoid3D")
328 _plural_types.append(
"Plane3Ds")
329 _value_types.append(
"Plane3D")
332 _plural_types.append(
"Segment3Ds")
333 _value_types.append(
"Segment3D")
336 _plural_types.append(
"SpherePatch3Ds")
337 _value_types.append(
"SpherePatch3D")
339 ConnollySurfacePoints=list
340 _plural_types.append(
"ConnollySurfacePoints")
341 _value_types.append(
"ConnollySurfacePoint")
344 _plural_types.append(
"Sphere1Ds")
345 _value_types.append(
"Sphere1D")
348 _plural_types.append(
"Sphere2Ds")
349 _value_types.append(
"Sphere2D")
352 _plural_types.append(
"Sphere3Ds")
353 _value_types.append(
"Sphere3D")
356 _plural_types.append(
"Sphere4Ds")
357 _value_types.append(
"Sphere4D")
360 _plural_types.append(
"Sphere5Ds")
361 _value_types.append(
"Sphere5D")
364 _plural_types.append(
"Sphere6Ds")
365 _value_types.append(
"Sphere6D")
368 _plural_types.append(
"Sphere1Ds")
369 _value_types.append(
"SphereD<1>")
372 _plural_types.append(
"Sphere2Ds")
373 _value_types.append(
"SphereD<2>")
376 _plural_types.append(
"Sphere3Ds")
377 _value_types.append(
"SphereD<3>")
380 _plural_types.append(
"Sphere4Ds")
381 _value_types.append(
"SphereD<4>")
384 _plural_types.append(
"Sphere5Ds")
385 _value_types.append(
"SphereD<5>")
388 _plural_types.append(
"Sphere6Ds")
389 _value_types.append(
"SphereD<6>")
392 _plural_types.append(
"SphereKDs")
393 _value_types.append(
"SphereKD")
396 _plural_types.append(
"SphereKDs")
397 _value_types.append(
"SphereD<-1>")
400 _plural_types.append(
"BoundingBox1Ds")
401 _value_types.append(
"BoundingBox1D")
404 _plural_types.append(
"BoundingBox2Ds")
405 _value_types.append(
"BoundingBox2D")
408 _plural_types.append(
"BoundingBox3Ds")
409 _value_types.append(
"BoundingBox3D")
412 _plural_types.append(
"BoundingBox4Ds")
413 _value_types.append(
"BoundingBox4D")
416 _plural_types.append(
"BoundingBox5Ds")
417 _value_types.append(
"BoundingBox5D")
420 _plural_types.append(
"BoundingBox6Ds")
421 _value_types.append(
"BoundingBox6D")
424 _plural_types.append(
"BoundingBox1Ds")
425 _value_types.append(
"BoundingBoxD<1>")
428 _plural_types.append(
"BoundingBox2Ds")
429 _value_types.append(
"BoundingBoxD<2>")
432 _plural_types.append(
"BoundingBox3Ds")
433 _value_types.append(
"BoundingBoxD<3>")
436 _plural_types.append(
"BoundingBox4Ds")
437 _value_types.append(
"BoundingBoxD<4>")
440 _plural_types.append(
"BoundingBox5Ds")
441 _value_types.append(
"BoundingBoxD<5>")
444 _plural_types.append(
"BoundingBox6Ds")
445 _value_types.append(
"BoundingBoxD<6>")
448 _plural_types.append(
"BoundingBoxKDs")
449 _value_types.append(
"BoundingBoxKD")
452 _plural_types.append(
"BoundingBoxKDs")
453 _value_types.append(
"BoundingBoxD<-1>")
455 PrincipalComponentAnalysis1Ds=list
456 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
457 _value_types.append(
"PrincipalComponentAnalysis1D")
459 PrincipalComponentAnalysis2Ds=list
460 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
461 _value_types.append(
"PrincipalComponentAnalysis2D")
463 PrincipalComponentAnalysis3Ds=list
464 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
465 _value_types.append(
"PrincipalComponentAnalysis3D")
467 PrincipalComponentAnalysis4Ds=list
468 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
469 _value_types.append(
"PrincipalComponentAnalysis4D")
471 PrincipalComponentAnalysis5Ds=list
472 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
473 _value_types.append(
"PrincipalComponentAnalysis5D")
475 PrincipalComponentAnalysis6Ds=list
476 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
477 _value_types.append(
"PrincipalComponentAnalysis6D")
479 PrincipalComponentAnalysis1Ds=list
480 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
481 _value_types.append(
"PrincipalComponentAnalysisD<1>")
483 PrincipalComponentAnalysis2Ds=list
484 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
485 _value_types.append(
"PrincipalComponentAnalysisD<2>")
487 PrincipalComponentAnalysis3Ds=list
488 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
489 _value_types.append(
"PrincipalComponentAnalysisD<3>")
491 PrincipalComponentAnalysis4Ds=list
492 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
493 _value_types.append(
"PrincipalComponentAnalysisD<4>")
495 PrincipalComponentAnalysis5Ds=list
496 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
497 _value_types.append(
"PrincipalComponentAnalysisD<5>")
499 PrincipalComponentAnalysis6Ds=list
500 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
501 _value_types.append(
"PrincipalComponentAnalysisD<6>")
503 PrincipalComponentAnalysisKDs=list
504 _plural_types.append(
"PrincipalComponentAnalysisKDs")
505 _value_types.append(
"PrincipalComponentAnalysisKD")
507 PrincipalComponentAnalysisKDs=list
508 _plural_types.append(
"PrincipalComponentAnalysisKDs")
509 _value_types.append(
"PrincipalComponentAnalysisD<-1>")
511 _object_types.append(
"NearestNeighbor1D")
514 def _object_cast_to_NearestNeighbor1D(*args):
515 """_object_cast_to_NearestNeighbor1D(Object o) -> NearestNeighbor1D"""
516 return _IMP_algebra._object_cast_to_NearestNeighbor1D(*args)
517 _object_types.append(
"NearestNeighbor2D")
520 def _object_cast_to_NearestNeighbor2D(*args):
521 """_object_cast_to_NearestNeighbor2D(Object o) -> NearestNeighbor2D"""
522 return _IMP_algebra._object_cast_to_NearestNeighbor2D(*args)
523 _object_types.append(
"NearestNeighbor3D")
526 def _object_cast_to_NearestNeighbor3D(*args):
527 """_object_cast_to_NearestNeighbor3D(Object o) -> NearestNeighbor3D"""
528 return _IMP_algebra._object_cast_to_NearestNeighbor3D(*args)
529 _object_types.append(
"NearestNeighbor4D")
532 def _object_cast_to_NearestNeighbor4D(*args):
533 """_object_cast_to_NearestNeighbor4D(Object o) -> NearestNeighbor4D"""
534 return _IMP_algebra._object_cast_to_NearestNeighbor4D(*args)
535 _object_types.append(
"NearestNeighbor5D")
538 def _object_cast_to_NearestNeighbor5D(*args):
539 """_object_cast_to_NearestNeighbor5D(Object o) -> NearestNeighbor5D"""
540 return _IMP_algebra._object_cast_to_NearestNeighbor5D(*args)
541 _object_types.append(
"NearestNeighbor6D")
544 def _object_cast_to_NearestNeighbor6D(*args):
545 """_object_cast_to_NearestNeighbor6D(Object o) -> NearestNeighbor6D"""
546 return _IMP_algebra._object_cast_to_NearestNeighbor6D(*args)
547 _object_types.append(
"NearestNeighborKD")
550 def _object_cast_to_NearestNeighborKD(*args):
551 """_object_cast_to_NearestNeighborKD(Object o) -> NearestNeighborKD"""
552 return _IMP_algebra._object_cast_to_NearestNeighborKD(*args)
553 ReferenceFrame3Ds=list
554 _plural_types.append(
"ReferenceFrame3Ds")
555 _value_types.append(
"ReferenceFrame3D")
558 _plural_types.append(
"Gaussian3Ds")
559 _value_types.append(
"Gaussian3D")
561 DefaultEmbedding1Ds=list
562 _plural_types.append(
"DefaultEmbedding1Ds")
563 _value_types.append(
"DefaultEmbedding1D")
565 DefaultEmbedding2Ds=list
566 _plural_types.append(
"DefaultEmbedding2Ds")
567 _value_types.append(
"DefaultEmbedding2D")
569 DefaultEmbedding3Ds=list
570 _plural_types.append(
"DefaultEmbedding3Ds")
571 _value_types.append(
"DefaultEmbedding3D")
573 DefaultEmbedding4Ds=list
574 _plural_types.append(
"DefaultEmbedding4Ds")
575 _value_types.append(
"DefaultEmbedding4D")
577 DefaultEmbedding5Ds=list
578 _plural_types.append(
"DefaultEmbedding5Ds")
579 _value_types.append(
"DefaultEmbedding5D")
581 DefaultEmbedding6Ds=list
582 _plural_types.append(
"DefaultEmbedding6Ds")
583 _value_types.append(
"DefaultEmbedding6D")
585 DefaultEmbedding1Ds=list
586 _plural_types.append(
"DefaultEmbedding1Ds")
587 _value_types.append(
"DefaultEmbeddingD<1>")
589 DefaultEmbedding2Ds=list
590 _plural_types.append(
"DefaultEmbedding2Ds")
591 _value_types.append(
"DefaultEmbeddingD<2>")
593 DefaultEmbedding3Ds=list
594 _plural_types.append(
"DefaultEmbedding3Ds")
595 _value_types.append(
"DefaultEmbeddingD<3>")
597 DefaultEmbedding4Ds=list
598 _plural_types.append(
"DefaultEmbedding4Ds")
599 _value_types.append(
"DefaultEmbeddingD<4>")
601 DefaultEmbedding5Ds=list
602 _plural_types.append(
"DefaultEmbedding5Ds")
603 _value_types.append(
"DefaultEmbeddingD<5>")
605 DefaultEmbedding6Ds=list
606 _plural_types.append(
"DefaultEmbedding6Ds")
607 _value_types.append(
"DefaultEmbeddingD<6>")
609 DefaultEmbeddingKDs=list
610 _plural_types.append(
"DefaultEmbeddingKDs")
611 _value_types.append(
"DefaultEmbeddingKD")
613 DefaultEmbeddingKDs=list
614 _plural_types.append(
"DefaultEmbeddingKDs")
615 _value_types.append(
"DefaultEmbeddingD<-1>")
618 _plural_types.append(
"LogEmbedding1Ds")
619 _value_types.append(
"LogEmbedding1D")
622 _plural_types.append(
"LogEmbedding2Ds")
623 _value_types.append(
"LogEmbedding2D")
626 _plural_types.append(
"LogEmbedding3Ds")
627 _value_types.append(
"LogEmbedding3D")
630 _plural_types.append(
"LogEmbedding4Ds")
631 _value_types.append(
"LogEmbedding4D")
634 _plural_types.append(
"LogEmbedding5Ds")
635 _value_types.append(
"LogEmbedding5D")
638 _plural_types.append(
"LogEmbedding6Ds")
639 _value_types.append(
"LogEmbedding6D")
642 _plural_types.append(
"LogEmbedding1Ds")
643 _value_types.append(
"LogEmbeddingD<1>")
646 _plural_types.append(
"LogEmbedding2Ds")
647 _value_types.append(
"LogEmbeddingD<2>")
650 _plural_types.append(
"LogEmbedding3Ds")
651 _value_types.append(
"LogEmbeddingD<3>")
654 _plural_types.append(
"LogEmbedding4Ds")
655 _value_types.append(
"LogEmbeddingD<4>")
658 _plural_types.append(
"LogEmbedding5Ds")
659 _value_types.append(
"LogEmbeddingD<5>")
662 _plural_types.append(
"LogEmbedding6Ds")
663 _value_types.append(
"LogEmbeddingD<6>")
666 _plural_types.append(
"LogEmbeddingKDs")
667 _value_types.append(
"LogEmbeddingKD")
670 _plural_types.append(
"LogEmbeddingKDs")
671 _value_types.append(
"LogEmbeddingD<-1>")
674 _plural_types.append(
"GridIndex1Ds")
675 _value_types.append(
"GridIndex1D")
678 _plural_types.append(
"GridIndex2Ds")
679 _value_types.append(
"GridIndex2D")
682 _plural_types.append(
"GridIndex3Ds")
683 _value_types.append(
"GridIndex3D")
686 _plural_types.append(
"GridIndex4Ds")
687 _value_types.append(
"GridIndex4D")
690 _plural_types.append(
"GridIndex5Ds")
691 _value_types.append(
"GridIndex5D")
694 _plural_types.append(
"GridIndex6Ds")
695 _value_types.append(
"GridIndex6D")
698 _plural_types.append(
"GridIndex1Ds")
699 _value_types.append(
"GridIndexD<1>")
702 _plural_types.append(
"GridIndex2Ds")
703 _value_types.append(
"GridIndexD<2>")
706 _plural_types.append(
"GridIndex3Ds")
707 _value_types.append(
"GridIndexD<3>")
710 _plural_types.append(
"GridIndex4Ds")
711 _value_types.append(
"GridIndexD<4>")
714 _plural_types.append(
"GridIndex5Ds")
715 _value_types.append(
"GridIndexD<5>")
718 _plural_types.append(
"GridIndex6Ds")
719 _value_types.append(
"GridIndexD<6>")
722 _plural_types.append(
"GridIndexKDs")
723 _value_types.append(
"GridIndexKD")
726 _plural_types.append(
"GridIndexKDs")
727 _value_types.append(
"GridIndexD<-1>")
729 ExtendedGridIndex1Ds=list
730 _plural_types.append(
"ExtendedGridIndex1Ds")
731 _value_types.append(
"ExtendedGridIndex1D")
733 ExtendedGridIndex2Ds=list
734 _plural_types.append(
"ExtendedGridIndex2Ds")
735 _value_types.append(
"ExtendedGridIndex2D")
737 ExtendedGridIndex3Ds=list
738 _plural_types.append(
"ExtendedGridIndex3Ds")
739 _value_types.append(
"ExtendedGridIndex3D")
741 ExtendedGridIndex4Ds=list
742 _plural_types.append(
"ExtendedGridIndex4Ds")
743 _value_types.append(
"ExtendedGridIndex4D")
745 ExtendedGridIndex5Ds=list
746 _plural_types.append(
"ExtendedGridIndex5Ds")
747 _value_types.append(
"ExtendedGridIndex5D")
749 ExtendedGridIndex6Ds=list
750 _plural_types.append(
"ExtendedGridIndex6Ds")
751 _value_types.append(
"ExtendedGridIndex6D")
753 ExtendedGridIndex1Ds=list
754 _plural_types.append(
"ExtendedGridIndex1Ds")
755 _value_types.append(
"ExtendedGridIndexD<1>")
757 ExtendedGridIndex2Ds=list
758 _plural_types.append(
"ExtendedGridIndex2Ds")
759 _value_types.append(
"ExtendedGridIndexD<2>")
761 ExtendedGridIndex3Ds=list
762 _plural_types.append(
"ExtendedGridIndex3Ds")
763 _value_types.append(
"ExtendedGridIndexD<3>")
765 ExtendedGridIndex4Ds=list
766 _plural_types.append(
"ExtendedGridIndex4Ds")
767 _value_types.append(
"ExtendedGridIndexD<4>")
769 ExtendedGridIndex5Ds=list
770 _plural_types.append(
"ExtendedGridIndex5Ds")
771 _value_types.append(
"ExtendedGridIndexD<5>")
773 ExtendedGridIndex6Ds=list
774 _plural_types.append(
"ExtendedGridIndex6Ds")
775 _value_types.append(
"ExtendedGridIndexD<6>")
777 ExtendedGridIndexKDs=list
778 _plural_types.append(
"ExtendedGridIndexKDs")
779 _value_types.append(
"ExtendedGridIndexKD")
781 ExtendedGridIndexKDs=list
782 _plural_types.append(
"ExtendedGridIndexKDs")
783 _value_types.append(
"ExtendedGridIndexD<-1>")
785 BoundedGridRange1Ds=list
786 _plural_types.append(
"BoundedGridRange1Ds")
787 _value_types.append(
"BoundedGridRange1D")
789 BoundedGridRange2Ds=list
790 _plural_types.append(
"BoundedGridRange2Ds")
791 _value_types.append(
"BoundedGridRange2D")
793 BoundedGridRange3Ds=list
794 _plural_types.append(
"BoundedGridRange3Ds")
795 _value_types.append(
"BoundedGridRange3D")
797 BoundedGridRange4Ds=list
798 _plural_types.append(
"BoundedGridRange4Ds")
799 _value_types.append(
"BoundedGridRange4D")
801 BoundedGridRange5Ds=list
802 _plural_types.append(
"BoundedGridRange5Ds")
803 _value_types.append(
"BoundedGridRange5D")
805 BoundedGridRange6Ds=list
806 _plural_types.append(
"BoundedGridRange6Ds")
807 _value_types.append(
"BoundedGridRange6D")
809 BoundedGridRange1Ds=list
810 _plural_types.append(
"BoundedGridRange1Ds")
811 _value_types.append(
"BoundedGridRangeD<1>")
813 BoundedGridRange2Ds=list
814 _plural_types.append(
"BoundedGridRange2Ds")
815 _value_types.append(
"BoundedGridRangeD<2>")
817 BoundedGridRange3Ds=list
818 _plural_types.append(
"BoundedGridRange3Ds")
819 _value_types.append(
"BoundedGridRangeD<3>")
821 BoundedGridRange4Ds=list
822 _plural_types.append(
"BoundedGridRange4Ds")
823 _value_types.append(
"BoundedGridRangeD<4>")
825 BoundedGridRange5Ds=list
826 _plural_types.append(
"BoundedGridRange5Ds")
827 _value_types.append(
"BoundedGridRangeD<5>")
829 BoundedGridRange6Ds=list
830 _plural_types.append(
"BoundedGridRange6Ds")
831 _value_types.append(
"BoundedGridRangeD<6>")
833 BoundedGridRangeKDs=list
834 _plural_types.append(
"BoundedGridRangeKDs")
835 _value_types.append(
"BoundedGridRangeKD")
837 BoundedGridRangeKDs=list
838 _plural_types.append(
"BoundedGridRangeKDs")
839 _value_types.append(
"BoundedGridRangeD<-1>")
841 UnboundedGridRange1Ds=list
842 _plural_types.append(
"UnboundedGridRange1Ds")
843 _value_types.append(
"UnboundedGridRange1D")
845 UnboundedGridRange2Ds=list
846 _plural_types.append(
"UnboundedGridRange2Ds")
847 _value_types.append(
"UnboundedGridRange2D")
849 UnboundedGridRange3Ds=list
850 _plural_types.append(
"UnboundedGridRange3Ds")
851 _value_types.append(
"UnboundedGridRange3D")
853 UnboundedGridRange4Ds=list
854 _plural_types.append(
"UnboundedGridRange4Ds")
855 _value_types.append(
"UnboundedGridRange4D")
857 UnboundedGridRange5Ds=list
858 _plural_types.append(
"UnboundedGridRange5Ds")
859 _value_types.append(
"UnboundedGridRange5D")
861 UnboundedGridRange6Ds=list
862 _plural_types.append(
"UnboundedGridRange6Ds")
863 _value_types.append(
"UnboundedGridRange6D")
865 UnboundedGridRange1Ds=list
866 _plural_types.append(
"UnboundedGridRange1Ds")
867 _value_types.append(
"UnboundedGridRangeD<1>")
869 UnboundedGridRange2Ds=list
870 _plural_types.append(
"UnboundedGridRange2Ds")
871 _value_types.append(
"UnboundedGridRangeD<2>")
873 UnboundedGridRange3Ds=list
874 _plural_types.append(
"UnboundedGridRange3Ds")
875 _value_types.append(
"UnboundedGridRangeD<3>")
877 UnboundedGridRange4Ds=list
878 _plural_types.append(
"UnboundedGridRange4Ds")
879 _value_types.append(
"UnboundedGridRangeD<4>")
881 UnboundedGridRange5Ds=list
882 _plural_types.append(
"UnboundedGridRange5Ds")
883 _value_types.append(
"UnboundedGridRangeD<5>")
885 UnboundedGridRange6Ds=list
886 _plural_types.append(
"UnboundedGridRange6Ds")
887 _value_types.append(
"UnboundedGridRangeD<6>")
889 UnboundedGridRangeKDs=list
890 _plural_types.append(
"UnboundedGridRangeKDs")
891 _value_types.append(
"UnboundedGridRangeKD")
893 UnboundedGridRangeKDs=list
894 _plural_types.append(
"UnboundedGridRangeKDs")
895 _value_types.append(
"UnboundedGridRangeD<-1>")
898 _plural_types.append(
"LinearFit2Ds")
899 _value_types.append(
"LinearFit2D")
902 _plural_types.append(
"ParabolicFit2Ds")
903 _value_types.append(
"ParabolicFit2D")
906 _plural_types.append(
"FixedXYZs")
907 _value_types.append(
"FixedXYZ")
909 class _GeometricPrimitive1D(object):
910 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(1)> class"""
911 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
912 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
913 __repr__ = _swig_repr
914 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive1D
915 __del__ =
lambda self :
None;
916 _GeometricPrimitive1D_swigregister = _IMP_algebra._GeometricPrimitive1D_swigregister
917 _GeometricPrimitive1D_swigregister(_GeometricPrimitive1D)
919 class _GeometricPrimitive2D(object):
920 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(2)> class"""
921 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
922 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
923 __repr__ = _swig_repr
924 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive2D
925 __del__ =
lambda self :
None;
926 _GeometricPrimitive2D_swigregister = _IMP_algebra._GeometricPrimitive2D_swigregister
927 _GeometricPrimitive2D_swigregister(_GeometricPrimitive2D)
929 class _GeometricPrimitive3D(object):
930 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(3)> class"""
931 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
932 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
933 __repr__ = _swig_repr
934 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive3D
935 __del__ =
lambda self :
None;
936 _GeometricPrimitive3D_swigregister = _IMP_algebra._GeometricPrimitive3D_swigregister
937 _GeometricPrimitive3D_swigregister(_GeometricPrimitive3D)
939 class _GeometricPrimitive4D(object):
940 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(4)> class"""
941 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
942 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
943 __repr__ = _swig_repr
944 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive4D
945 __del__ =
lambda self :
None;
946 _GeometricPrimitive4D_swigregister = _IMP_algebra._GeometricPrimitive4D_swigregister
947 _GeometricPrimitive4D_swigregister(_GeometricPrimitive4D)
949 class _GeometricPrimitive5D(object):
950 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(5)> class"""
951 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
952 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
953 __repr__ = _swig_repr
954 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive5D
955 __del__ =
lambda self :
None;
956 _GeometricPrimitive5D_swigregister = _IMP_algebra._GeometricPrimitive5D_swigregister
957 _GeometricPrimitive5D_swigregister(_GeometricPrimitive5D)
959 class _GeometricPrimitive6D(object):
960 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(6)> class"""
961 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
962 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
963 __repr__ = _swig_repr
964 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive6D
965 __del__ =
lambda self :
None;
966 _GeometricPrimitive6D_swigregister = _IMP_algebra._GeometricPrimitive6D_swigregister
967 _GeometricPrimitive6D_swigregister(_GeometricPrimitive6D)
969 class _GeometricPrimitiveKD(object):
970 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(-1)> class"""
971 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
972 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
973 __repr__ = _swig_repr
974 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitiveKD
975 __del__ =
lambda self :
None;
976 _GeometricPrimitiveKD_swigregister = _IMP_algebra._GeometricPrimitiveKD_swigregister
977 _GeometricPrimitiveKD_swigregister(_GeometricPrimitiveKD)
980 _plural_types.append(
"Vector1Ds")
981 _value_types.append(
"Vector1D")
984 _plural_types.append(
"Vector2Ds")
985 _value_types.append(
"Vector2D")
988 _plural_types.append(
"Vector3Ds")
989 _value_types.append(
"Vector3D")
992 _plural_types.append(
"Vector4Ds")
993 _value_types.append(
"Vector4D")
996 _plural_types.append(
"Vector5Ds")
997 _value_types.append(
"Vector5D")
1000 _plural_types.append(
"Vector6Ds")
1001 _value_types.append(
"Vector6D")
1004 _plural_types.append(
"Vector1Ds")
1005 _value_types.append(
"VectorD<1>")
1008 _plural_types.append(
"Vector2Ds")
1009 _value_types.append(
"VectorD<2>")
1012 _plural_types.append(
"Vector3Ds")
1013 _value_types.append(
"VectorD<3>")
1016 _plural_types.append(
"Vector4Ds")
1017 _value_types.append(
"VectorD<4>")
1020 _plural_types.append(
"Vector5Ds")
1021 _value_types.append(
"VectorD<5>")
1024 _plural_types.append(
"Vector6Ds")
1025 _value_types.append(
"VectorD<6>")
1028 _plural_types.append(
"VectorKDs")
1029 _value_types.append(
"VectorKD")
1032 _plural_types.append(
"VectorKDs")
1033 _value_types.append(
"VectorD<-1>")
1035 class _VectorBaseKD(_GeometricPrimitiveKD):
1036 """Proxy of C++ IMP::algebra::VectorBaseD<(-1)> class"""
1037 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1038 __repr__ = _swig_repr
1040 """__init__(IMP::algebra::VectorBaseD<(-1)> self) -> _VectorBaseKD"""
1041 this = _IMP_algebra.new__VectorBaseKD()
1042 try: self.this.append(this)
1043 except: self.this = this
1044 def get_scalar_product(self, *args):
1045 """get_scalar_product(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1046 return _IMP_algebra._VectorBaseKD_get_scalar_product(self, *args)
1048 def get_squared_magnitude(self):
1049 """get_squared_magnitude(_VectorBaseKD self) -> double"""
1050 return _IMP_algebra._VectorBaseKD_get_squared_magnitude(self)
1052 def get_magnitude(self):
1053 """get_magnitude(_VectorBaseKD self) -> double"""
1054 return _IMP_algebra._VectorBaseKD_get_magnitude(self)
1056 def __mul__(self, *args):
1057 """__mul__(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1058 return _IMP_algebra._VectorBaseKD___mul__(self, *args)
1060 def __iadd__(self, *args):
1061 """__iadd__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1062 return _IMP_algebra._VectorBaseKD___iadd__(self, *args)
1064 def __isub__(self, *args):
1065 """__isub__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1066 return _IMP_algebra._VectorBaseKD___isub__(self, *args)
1068 def __idiv__(self, *args):
1069 """__idiv__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1070 return _IMP_algebra._VectorBaseKD___idiv__(self, *args)
1072 def __imul__(self, *args):
1073 """__imul__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1074 return _IMP_algebra._VectorBaseKD___imul__(self, *args)
1076 def show(self, *args):
1078 show(_VectorBaseKD self, _ostream out, std::string delim, bool parens=True)
1079 show(_VectorBaseKD self, _ostream out, std::string delim)
1080 show(_VectorBaseKD self, _ostream out=std::cout)
1081 show(_VectorBaseKD self)
1083 return _IMP_algebra._VectorBaseKD_show(self, *args)
1085 def get_dimension(self):
1086 """get_dimension(_VectorBaseKD self) -> unsigned int"""
1087 return _IMP_algebra._VectorBaseKD_get_dimension(self)
1089 __swig_destroy__ = _IMP_algebra.delete__VectorBaseKD
1090 __del__ =
lambda self :
None;
1091 _VectorBaseKD_swigregister = _IMP_algebra._VectorBaseKD_swigregister
1092 _VectorBaseKD_swigregister(_VectorBaseKD)
1094 class _VectorBase1D(_GeometricPrimitive1D):
1095 """Proxy of C++ IMP::algebra::VectorBaseD<(1)> class"""
1096 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1097 __repr__ = _swig_repr
1099 """__init__(IMP::algebra::VectorBaseD<(1)> self) -> _VectorBase1D"""
1100 this = _IMP_algebra.new__VectorBase1D()
1101 try: self.this.append(this)
1102 except: self.this = this
1103 def get_scalar_product(self, *args):
1104 """get_scalar_product(_VectorBase1D self, _VectorBase1D o) -> double"""
1105 return _IMP_algebra._VectorBase1D_get_scalar_product(self, *args)
1107 def get_squared_magnitude(self):
1108 """get_squared_magnitude(_VectorBase1D self) -> double"""
1109 return _IMP_algebra._VectorBase1D_get_squared_magnitude(self)
1111 def get_magnitude(self):
1112 """get_magnitude(_VectorBase1D self) -> double"""
1113 return _IMP_algebra._VectorBase1D_get_magnitude(self)
1115 def __mul__(self, *args):
1116 """__mul__(_VectorBase1D self, _VectorBase1D o) -> double"""
1117 return _IMP_algebra._VectorBase1D___mul__(self, *args)
1119 def __iadd__(self, *args):
1120 """__iadd__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1121 return _IMP_algebra._VectorBase1D___iadd__(self, *args)
1123 def __isub__(self, *args):
1124 """__isub__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1125 return _IMP_algebra._VectorBase1D___isub__(self, *args)
1127 def __idiv__(self, *args):
1128 """__idiv__(_VectorBase1D self, double f) -> _VectorBase1D"""
1129 return _IMP_algebra._VectorBase1D___idiv__(self, *args)
1131 def __imul__(self, *args):
1132 """__imul__(_VectorBase1D self, double f) -> _VectorBase1D"""
1133 return _IMP_algebra._VectorBase1D___imul__(self, *args)
1135 def show(self, *args):
1137 show(_VectorBase1D self, _ostream out, std::string delim, bool parens=True)
1138 show(_VectorBase1D self, _ostream out, std::string delim)
1139 show(_VectorBase1D self, _ostream out=std::cout)
1140 show(_VectorBase1D self)
1142 return _IMP_algebra._VectorBase1D_show(self, *args)
1144 def get_dimension(self):
1145 """get_dimension(_VectorBase1D self) -> unsigned int"""
1146 return _IMP_algebra._VectorBase1D_get_dimension(self)
1148 __swig_destroy__ = _IMP_algebra.delete__VectorBase1D
1149 __del__ =
lambda self :
None;
1150 _VectorBase1D_swigregister = _IMP_algebra._VectorBase1D_swigregister
1151 _VectorBase1D_swigregister(_VectorBase1D)
1153 class _VectorBase2D(_GeometricPrimitive2D):
1154 """Proxy of C++ IMP::algebra::VectorBaseD<(2)> class"""
1155 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1156 __repr__ = _swig_repr
1158 """__init__(IMP::algebra::VectorBaseD<(2)> self) -> _VectorBase2D"""
1159 this = _IMP_algebra.new__VectorBase2D()
1160 try: self.this.append(this)
1161 except: self.this = this
1162 def get_scalar_product(self, *args):
1163 """get_scalar_product(_VectorBase2D self, _VectorBase2D o) -> double"""
1164 return _IMP_algebra._VectorBase2D_get_scalar_product(self, *args)
1166 def get_squared_magnitude(self):
1167 """get_squared_magnitude(_VectorBase2D self) -> double"""
1168 return _IMP_algebra._VectorBase2D_get_squared_magnitude(self)
1170 def get_magnitude(self):
1171 """get_magnitude(_VectorBase2D self) -> double"""
1172 return _IMP_algebra._VectorBase2D_get_magnitude(self)
1174 def __mul__(self, *args):
1175 """__mul__(_VectorBase2D self, _VectorBase2D o) -> double"""
1176 return _IMP_algebra._VectorBase2D___mul__(self, *args)
1178 def __iadd__(self, *args):
1179 """__iadd__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1180 return _IMP_algebra._VectorBase2D___iadd__(self, *args)
1182 def __isub__(self, *args):
1183 """__isub__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1184 return _IMP_algebra._VectorBase2D___isub__(self, *args)
1186 def __idiv__(self, *args):
1187 """__idiv__(_VectorBase2D self, double f) -> _VectorBase2D"""
1188 return _IMP_algebra._VectorBase2D___idiv__(self, *args)
1190 def __imul__(self, *args):
1191 """__imul__(_VectorBase2D self, double f) -> _VectorBase2D"""
1192 return _IMP_algebra._VectorBase2D___imul__(self, *args)
1194 def show(self, *args):
1196 show(_VectorBase2D self, _ostream out, std::string delim, bool parens=True)
1197 show(_VectorBase2D self, _ostream out, std::string delim)
1198 show(_VectorBase2D self, _ostream out=std::cout)
1199 show(_VectorBase2D self)
1201 return _IMP_algebra._VectorBase2D_show(self, *args)
1203 def get_dimension(self):
1204 """get_dimension(_VectorBase2D self) -> unsigned int"""
1205 return _IMP_algebra._VectorBase2D_get_dimension(self)
1207 __swig_destroy__ = _IMP_algebra.delete__VectorBase2D
1208 __del__ =
lambda self :
None;
1209 _VectorBase2D_swigregister = _IMP_algebra._VectorBase2D_swigregister
1210 _VectorBase2D_swigregister(_VectorBase2D)
1212 class _VectorBase3D(_GeometricPrimitive3D):
1213 """Proxy of C++ IMP::algebra::VectorBaseD<(3)> class"""
1214 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1215 __repr__ = _swig_repr
1217 """__init__(IMP::algebra::VectorBaseD<(3)> self) -> _VectorBase3D"""
1218 this = _IMP_algebra.new__VectorBase3D()
1219 try: self.this.append(this)
1220 except: self.this = this
1221 def get_scalar_product(self, *args):
1222 """get_scalar_product(_VectorBase3D self, _VectorBase3D o) -> double"""
1223 return _IMP_algebra._VectorBase3D_get_scalar_product(self, *args)
1225 def get_squared_magnitude(self):
1226 """get_squared_magnitude(_VectorBase3D self) -> double"""
1227 return _IMP_algebra._VectorBase3D_get_squared_magnitude(self)
1229 def get_magnitude(self):
1230 """get_magnitude(_VectorBase3D self) -> double"""
1231 return _IMP_algebra._VectorBase3D_get_magnitude(self)
1233 def __mul__(self, *args):
1234 """__mul__(_VectorBase3D self, _VectorBase3D o) -> double"""
1235 return _IMP_algebra._VectorBase3D___mul__(self, *args)
1237 def __iadd__(self, *args):
1238 """__iadd__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1239 return _IMP_algebra._VectorBase3D___iadd__(self, *args)
1241 def __isub__(self, *args):
1242 """__isub__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1243 return _IMP_algebra._VectorBase3D___isub__(self, *args)
1245 def __idiv__(self, *args):
1246 """__idiv__(_VectorBase3D self, double f) -> _VectorBase3D"""
1247 return _IMP_algebra._VectorBase3D___idiv__(self, *args)
1249 def __imul__(self, *args):
1250 """__imul__(_VectorBase3D self, double f) -> _VectorBase3D"""
1251 return _IMP_algebra._VectorBase3D___imul__(self, *args)
1253 def show(self, *args):
1255 show(_VectorBase3D self, _ostream out, std::string delim, bool parens=True)
1256 show(_VectorBase3D self, _ostream out, std::string delim)
1257 show(_VectorBase3D self, _ostream out=std::cout)
1258 show(_VectorBase3D self)
1260 return _IMP_algebra._VectorBase3D_show(self, *args)
1262 def get_dimension(self):
1263 """get_dimension(_VectorBase3D self) -> unsigned int"""
1264 return _IMP_algebra._VectorBase3D_get_dimension(self)
1266 __swig_destroy__ = _IMP_algebra.delete__VectorBase3D
1267 __del__ =
lambda self :
None;
1268 _VectorBase3D_swigregister = _IMP_algebra._VectorBase3D_swigregister
1269 _VectorBase3D_swigregister(_VectorBase3D)
1271 class _VectorBase4D(_GeometricPrimitive4D):
1272 """Proxy of C++ IMP::algebra::VectorBaseD<(4)> class"""
1273 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1274 __repr__ = _swig_repr
1276 """__init__(IMP::algebra::VectorBaseD<(4)> self) -> _VectorBase4D"""
1277 this = _IMP_algebra.new__VectorBase4D()
1278 try: self.this.append(this)
1279 except: self.this = this
1280 def get_scalar_product(self, *args):
1281 """get_scalar_product(_VectorBase4D self, _VectorBase4D o) -> double"""
1282 return _IMP_algebra._VectorBase4D_get_scalar_product(self, *args)
1284 def get_squared_magnitude(self):
1285 """get_squared_magnitude(_VectorBase4D self) -> double"""
1286 return _IMP_algebra._VectorBase4D_get_squared_magnitude(self)
1288 def get_magnitude(self):
1289 """get_magnitude(_VectorBase4D self) -> double"""
1290 return _IMP_algebra._VectorBase4D_get_magnitude(self)
1292 def __mul__(self, *args):
1293 """__mul__(_VectorBase4D self, _VectorBase4D o) -> double"""
1294 return _IMP_algebra._VectorBase4D___mul__(self, *args)
1296 def __iadd__(self, *args):
1297 """__iadd__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1298 return _IMP_algebra._VectorBase4D___iadd__(self, *args)
1300 def __isub__(self, *args):
1301 """__isub__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1302 return _IMP_algebra._VectorBase4D___isub__(self, *args)
1304 def __idiv__(self, *args):
1305 """__idiv__(_VectorBase4D self, double f) -> _VectorBase4D"""
1306 return _IMP_algebra._VectorBase4D___idiv__(self, *args)
1308 def __imul__(self, *args):
1309 """__imul__(_VectorBase4D self, double f) -> _VectorBase4D"""
1310 return _IMP_algebra._VectorBase4D___imul__(self, *args)
1312 def show(self, *args):
1314 show(_VectorBase4D self, _ostream out, std::string delim, bool parens=True)
1315 show(_VectorBase4D self, _ostream out, std::string delim)
1316 show(_VectorBase4D self, _ostream out=std::cout)
1317 show(_VectorBase4D self)
1319 return _IMP_algebra._VectorBase4D_show(self, *args)
1321 def get_dimension(self):
1322 """get_dimension(_VectorBase4D self) -> unsigned int"""
1323 return _IMP_algebra._VectorBase4D_get_dimension(self)
1325 __swig_destroy__ = _IMP_algebra.delete__VectorBase4D
1326 __del__ =
lambda self :
None;
1327 _VectorBase4D_swigregister = _IMP_algebra._VectorBase4D_swigregister
1328 _VectorBase4D_swigregister(_VectorBase4D)
1330 class _VectorBase5D(_GeometricPrimitive5D):
1331 """Proxy of C++ IMP::algebra::VectorBaseD<(5)> class"""
1332 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1333 __repr__ = _swig_repr
1335 """__init__(IMP::algebra::VectorBaseD<(5)> self) -> _VectorBase5D"""
1336 this = _IMP_algebra.new__VectorBase5D()
1337 try: self.this.append(this)
1338 except: self.this = this
1339 def get_scalar_product(self, *args):
1340 """get_scalar_product(_VectorBase5D self, _VectorBase5D o) -> double"""
1341 return _IMP_algebra._VectorBase5D_get_scalar_product(self, *args)
1343 def get_squared_magnitude(self):
1344 """get_squared_magnitude(_VectorBase5D self) -> double"""
1345 return _IMP_algebra._VectorBase5D_get_squared_magnitude(self)
1347 def get_magnitude(self):
1348 """get_magnitude(_VectorBase5D self) -> double"""
1349 return _IMP_algebra._VectorBase5D_get_magnitude(self)
1351 def __mul__(self, *args):
1352 """__mul__(_VectorBase5D self, _VectorBase5D o) -> double"""
1353 return _IMP_algebra._VectorBase5D___mul__(self, *args)
1355 def __iadd__(self, *args):
1356 """__iadd__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1357 return _IMP_algebra._VectorBase5D___iadd__(self, *args)
1359 def __isub__(self, *args):
1360 """__isub__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1361 return _IMP_algebra._VectorBase5D___isub__(self, *args)
1363 def __idiv__(self, *args):
1364 """__idiv__(_VectorBase5D self, double f) -> _VectorBase5D"""
1365 return _IMP_algebra._VectorBase5D___idiv__(self, *args)
1367 def __imul__(self, *args):
1368 """__imul__(_VectorBase5D self, double f) -> _VectorBase5D"""
1369 return _IMP_algebra._VectorBase5D___imul__(self, *args)
1371 def show(self, *args):
1373 show(_VectorBase5D self, _ostream out, std::string delim, bool parens=True)
1374 show(_VectorBase5D self, _ostream out, std::string delim)
1375 show(_VectorBase5D self, _ostream out=std::cout)
1376 show(_VectorBase5D self)
1378 return _IMP_algebra._VectorBase5D_show(self, *args)
1380 def get_dimension(self):
1381 """get_dimension(_VectorBase5D self) -> unsigned int"""
1382 return _IMP_algebra._VectorBase5D_get_dimension(self)
1384 __swig_destroy__ = _IMP_algebra.delete__VectorBase5D
1385 __del__ =
lambda self :
None;
1386 _VectorBase5D_swigregister = _IMP_algebra._VectorBase5D_swigregister
1387 _VectorBase5D_swigregister(_VectorBase5D)
1389 class _VectorBase6D(_GeometricPrimitive6D):
1390 """Proxy of C++ IMP::algebra::VectorBaseD<(6)> class"""
1391 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1392 __repr__ = _swig_repr
1394 """__init__(IMP::algebra::VectorBaseD<(6)> self) -> _VectorBase6D"""
1395 this = _IMP_algebra.new__VectorBase6D()
1396 try: self.this.append(this)
1397 except: self.this = this
1398 def get_scalar_product(self, *args):
1399 """get_scalar_product(_VectorBase6D self, _VectorBase6D o) -> double"""
1400 return _IMP_algebra._VectorBase6D_get_scalar_product(self, *args)
1402 def get_squared_magnitude(self):
1403 """get_squared_magnitude(_VectorBase6D self) -> double"""
1404 return _IMP_algebra._VectorBase6D_get_squared_magnitude(self)
1406 def get_magnitude(self):
1407 """get_magnitude(_VectorBase6D self) -> double"""
1408 return _IMP_algebra._VectorBase6D_get_magnitude(self)
1410 def __mul__(self, *args):
1411 """__mul__(_VectorBase6D self, _VectorBase6D o) -> double"""
1412 return _IMP_algebra._VectorBase6D___mul__(self, *args)
1414 def __iadd__(self, *args):
1415 """__iadd__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1416 return _IMP_algebra._VectorBase6D___iadd__(self, *args)
1418 def __isub__(self, *args):
1419 """__isub__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1420 return _IMP_algebra._VectorBase6D___isub__(self, *args)
1422 def __idiv__(self, *args):
1423 """__idiv__(_VectorBase6D self, double f) -> _VectorBase6D"""
1424 return _IMP_algebra._VectorBase6D___idiv__(self, *args)
1426 def __imul__(self, *args):
1427 """__imul__(_VectorBase6D self, double f) -> _VectorBase6D"""
1428 return _IMP_algebra._VectorBase6D___imul__(self, *args)
1430 def show(self, *args):
1432 show(_VectorBase6D self, _ostream out, std::string delim, bool parens=True)
1433 show(_VectorBase6D self, _ostream out, std::string delim)
1434 show(_VectorBase6D self, _ostream out=std::cout)
1435 show(_VectorBase6D self)
1437 return _IMP_algebra._VectorBase6D_show(self, *args)
1439 def get_dimension(self):
1440 """get_dimension(_VectorBase6D self) -> unsigned int"""
1441 return _IMP_algebra._VectorBase6D_get_dimension(self)
1443 __swig_destroy__ = _IMP_algebra.delete__VectorBase6D
1444 __del__ =
lambda self :
None;
1445 _VectorBase6D_swigregister = _IMP_algebra._VectorBase6D_swigregister
1446 _VectorBase6D_swigregister(_VectorBase6D)
1450 """get_basis_vector_kd(int D, unsigned int coordinate) -> VectorKD"""
1451 return _IMP_algebra.get_basis_vector_kd(*args)
1454 """get_zero_vector_kd(int D) -> VectorKD"""
1455 return _IMP_algebra.get_zero_vector_kd(*args)
1459 get_ones_vector_kd(unsigned int D, double v=1) -> VectorKD
1460 get_ones_vector_kd(unsigned int D) -> VectorKD
1462 return _IMP_algebra.get_ones_vector_kd(*args)
1465 """get_vector_product(Vector3D p1, Vector3D p2) -> Vector3D"""
1466 return _IMP_algebra.get_vector_product(*args)
1469 """get_orthogonal_vector(Vector3D v) -> Vector3D"""
1470 return _IMP_algebra.get_orthogonal_vector(*args)
1473 """get_centroid(IMP::algebra::Vector3Ds const & ps) -> Vector3D"""
1474 return _IMP_algebra.get_centroid(*args)
1477 """get_radius_of_gyration(IMP::algebra::Vector3Ds const & ps) -> double"""
1478 return _IMP_algebra.get_radius_of_gyration(*args)
1479 class Rotation3D(_GeometricPrimitive3D):
1480 """Proxy of C++ IMP::algebra::Rotation3D class"""
1481 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1482 def __init__(self, *args):
1484 __init__(IMP::algebra::Rotation3D self, Vector4D v, bool assume_normalized=False) -> Rotation3D
1485 __init__(IMP::algebra::Rotation3D self, Vector4D v) -> Rotation3D
1486 __init__(IMP::algebra::Rotation3D self) -> Rotation3D
1487 __init__(IMP::algebra::Rotation3D self, double a, double b, double c, double d) -> Rotation3D
1489 this = _IMP_algebra.new_Rotation3D(*args)
1490 try: self.this.append(this)
1491 except: self.this = this
1492 __swig_destroy__ = _IMP_algebra.delete_Rotation3D
1493 __del__ =
lambda self :
None;
1494 def get_rotated_no_cache(self, *args):
1495 """get_rotated_no_cache(Rotation3D self, Vector3D o) -> Vector3D"""
1496 return _IMP_algebra.Rotation3D_get_rotated_no_cache(self, *args)
1498 def get_rotated_one_coordinate_no_cache(self, *args):
1499 """get_rotated_one_coordinate_no_cache(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1500 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate_no_cache(self, *args)
1502 def get_rotated(self, *args):
1503 """get_rotated(Rotation3D self, Vector3D o) -> Vector3D"""
1504 return _IMP_algebra.Rotation3D_get_rotated(self, *args)
1506 def get_rotated_one_coordinate(self, *args):
1507 """get_rotated_one_coordinate(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1508 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate(self, *args)
1510 def get_rotation_matrix_row(self, *args):
1511 """get_rotation_matrix_row(Rotation3D self, int i) -> Vector3D"""
1512 return _IMP_algebra.Rotation3D_get_rotation_matrix_row(self, *args)
1514 def show(self, *args):
1516 show(Rotation3D self, _ostream out=std::cout)
1517 show(Rotation3D self)
1519 return _IMP_algebra.Rotation3D_show(self, *args)
1521 def get_inverse(self):
1522 """get_inverse(Rotation3D self) -> Rotation3D"""
1523 return _IMP_algebra.Rotation3D_get_inverse(self)
1525 def get_quaternion(self):
1526 """get_quaternion(Rotation3D self) -> Vector4D"""
1527 return _IMP_algebra.Rotation3D_get_quaternion(self)
1529 def __mul__(self, *args):
1531 __mul__(Rotation3D self, Vector3D v) -> Vector3D
1532 __mul__(Rotation3D self, Rotation3D q) -> Rotation3D
1534 return _IMP_algebra.Rotation3D___mul__(self, *args)
1536 def __div__(self, *args):
1537 """__div__(Rotation3D self, Rotation3D r) -> Rotation3D"""
1538 return _IMP_algebra.Rotation3D___div__(self, *args)
1540 def get_derivative(self, *args):
1541 """get_derivative(Rotation3D self, Vector3D o, unsigned int i) -> Vector3D"""
1542 return _IMP_algebra.Rotation3D_get_derivative(self, *args)
1544 def get_is_valid(self):
1545 """get_is_valid(Rotation3D self) -> bool"""
1546 return _IMP_algebra.Rotation3D_get_is_valid(self)
1549 """__str__(Rotation3D self) -> std::string"""
1550 return _IMP_algebra.Rotation3D___str__(self)
1553 """__repr__(Rotation3D self) -> std::string"""
1554 return _IMP_algebra.Rotation3D___repr__(self)
1556 __truediv__ = __div__
1558 Rotation3D_swigregister = _IMP_algebra.Rotation3D_swigregister
1559 Rotation3D_swigregister(Rotation3D)
1563 """get_identity_rotation_3d() -> Rotation3D"""
1564 return _IMP_algebra.get_identity_rotation_3d()
1567 """get_rotation_about_normalized_axis(Vector3D axis_norm, double angle) -> Rotation3D"""
1568 return _IMP_algebra.get_rotation_about_normalized_axis(*args)
1571 """get_rotation_about_axis(Vector3D axis, double angle) -> Rotation3D"""
1572 return _IMP_algebra.get_rotation_about_axis(*args)
1575 """get_rotation_taking_first_to_second(Vector3D v1, Vector3D v2) -> Rotation3D"""
1576 return _IMP_algebra.get_rotation_taking_first_to_second(*args)
1580 get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20,
1581 double m21, double m22) -> Rotation3D
1582 get_rotation_from_matrix(IMP_Eigen::Matrix3d m) -> Rotation3D
1584 return _IMP_algebra.get_rotation_from_matrix(*args)
1588 get_random_rotation_3d() -> Rotation3D
1589 get_random_rotation_3d(Rotation3D center, double distance) -> Rotation3D
1591 return _IMP_algebra.get_random_rotation_3d(*args)
1594 """get_uniform_cover_rotations_3d(unsigned int num_points) -> IMP::algebra::Rotation3Ds"""
1595 return _IMP_algebra.get_uniform_cover_rotations_3d(*args)
1598 """get_uniformly_sampled_rotations(double delta) -> IMP::algebra::Rotation3Ds"""
1599 return _IMP_algebra.get_uniformly_sampled_rotations(*args)
1602 """get_rotation_from_vector4d(Vector4D v) -> Rotation3D"""
1603 return _IMP_algebra.get_rotation_from_vector4d(*args)
1606 """get_rotation_from_fixed_xyz(double xr, double yr, double zr) -> Rotation3D"""
1607 return _IMP_algebra.get_rotation_from_fixed_xyz(*args)
1610 """get_rotation_from_fixed_zxz(double phi, double theta, double psi) -> Rotation3D"""
1611 return _IMP_algebra.get_rotation_from_fixed_zxz(*args)
1614 """get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi) -> Rotation3D"""
1615 return _IMP_algebra.get_rotation_from_fixed_zyz(*args)
1616 class FixedXYZ(_GeometricPrimitive3D):
1617 """Proxy of C++ IMP::algebra::FixedXYZ class"""
1618 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1619 def __init__(self, *args):
1621 __init__(IMP::algebra::FixedXYZ self) -> FixedXYZ
1622 __init__(IMP::algebra::FixedXYZ self, double x, double y, double z) -> FixedXYZ
1624 this = _IMP_algebra.new_FixedXYZ(*args)
1625 try: self.this.append(this)
1626 except: self.this = this
1628 """get_x(FixedXYZ self) -> double"""
1629 return _IMP_algebra.FixedXYZ_get_x(self)
1632 """get_y(FixedXYZ self) -> double"""
1633 return _IMP_algebra.FixedXYZ_get_y(self)
1636 """get_z(FixedXYZ self) -> double"""
1637 return _IMP_algebra.FixedXYZ_get_z(self)
1639 def show(self, *args):
1641 show(FixedXYZ self, _ostream out=std::cout)
1644 return _IMP_algebra.FixedXYZ_show(self, *args)
1647 """__str__(FixedXYZ self) -> std::string"""
1648 return _IMP_algebra.FixedXYZ___str__(self)
1651 """__repr__(FixedXYZ self) -> std::string"""
1652 return _IMP_algebra.FixedXYZ___repr__(self)
1654 __swig_destroy__ = _IMP_algebra.delete_FixedXYZ
1655 __del__ =
lambda self :
None;
1656 FixedXYZ_swigregister = _IMP_algebra.FixedXYZ_swigregister
1657 FixedXYZ_swigregister(FixedXYZ)
1661 """get_fixed_xyz_from_rotation(Rotation3D r) -> FixedXYZ"""
1662 return _IMP_algebra.get_fixed_xyz_from_rotation(*args)
1665 """get_interpolated(Rotation3D a, Rotation3D b, double f) -> Rotation3D"""
1666 return _IMP_algebra.get_interpolated(*args)
1669 """get_rotation_from_x_y_axes(Vector3D x, Vector3D y) -> Rotation3D"""
1670 return _IMP_algebra.get_rotation_from_x_y_axes(*args)
1673 """get_axis_and_angle(Rotation3D rot) -> _AxisAnglePair"""
1674 return _IMP_algebra.get_axis_and_angle(*args)
1677 """get_unit_bounding_box_kd(unsigned int d) -> BoundingBoxKD"""
1678 return _IMP_algebra.get_unit_bounding_box_kd(*args)
1681 """get_cube_kd(unsigned int d, double radius) -> BoundingBoxKD"""
1682 return _IMP_algebra.get_cube_kd(*args)
1685 """get_edges(BoundingBox3D arg1) -> IMP::IntPairs"""
1686 return _IMP_algebra.get_edges(*args)
1687 class Transformation3D(_GeometricPrimitive3D):
1688 """Proxy of C++ IMP::algebra::Transformation3D class"""
1689 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1690 def __init__(self, *args):
1692 __init__(IMP::algebra::Transformation3D self) -> Transformation3D
1693 __init__(IMP::algebra::Transformation3D self, Rotation3D r, Vector3D t=IMP::algebra::Vector3D(0, 0, 0)) -> Transformation3D
1694 __init__(IMP::algebra::Transformation3D self, Rotation3D r) -> Transformation3D
1695 __init__(IMP::algebra::Transformation3D self, Vector3D t) -> Transformation3D
1697 this = _IMP_algebra.new_Transformation3D(*args)
1698 try: self.this.append(this)
1699 except: self.this = this
1700 __swig_destroy__ = _IMP_algebra.delete_Transformation3D
1701 __del__ =
lambda self :
None;
1702 def get_transformed(self, *args):
1703 """get_transformed(Transformation3D self, Vector3D o) -> Vector3D"""
1704 return _IMP_algebra.Transformation3D_get_transformed(self, *args)
1706 def __mul__(self, *args):
1708 __mul__(Transformation3D self, Vector3D v) -> Vector3D
1709 __mul__(Transformation3D self, Transformation3D tr) -> Transformation3D
1711 return _IMP_algebra.Transformation3D___mul__(self, *args)
1713 def __div__(self, *args):
1714 """__div__(Transformation3D self, Transformation3D b) -> Transformation3D"""
1715 return _IMP_algebra.Transformation3D___div__(self, *args)
1717 def get_rotation(self):
1718 """get_rotation(Transformation3D self) -> Rotation3D"""
1719 return _IMP_algebra.Transformation3D_get_rotation(self)
1721 def get_translation(self):
1722 """get_translation(Transformation3D self) -> Vector3D"""
1723 return _IMP_algebra.Transformation3D_get_translation(self)
1725 def show(self, *args):
1727 show(Transformation3D self, _ostream out=std::cout)
1728 show(Transformation3D self)
1730 return _IMP_algebra.Transformation3D_show(self, *args)
1732 def get_inverse(self):
1733 """get_inverse(Transformation3D self) -> Transformation3D"""
1734 return _IMP_algebra.Transformation3D_get_inverse(self)
1736 def get_is_valid(self):
1737 """get_is_valid(Transformation3D self) -> bool"""
1738 return _IMP_algebra.Transformation3D_get_is_valid(self)
1741 """__str__(Transformation3D self) -> std::string"""
1742 return _IMP_algebra.Transformation3D___str__(self)
1745 """__repr__(Transformation3D self) -> std::string"""
1746 return _IMP_algebra.Transformation3D___repr__(self)
1748 __truediv__ = __div__
1750 Transformation3D_swigregister = _IMP_algebra.Transformation3D_swigregister
1751 Transformation3D_swigregister(Transformation3D)
1755 """get_identity_transformation_3d() -> Transformation3D"""
1756 return _IMP_algebra.get_identity_transformation_3d()
1759 """get_transformation_3d(Transformation2D t2d) -> Transformation3D"""
1760 return _IMP_algebra.get_transformation_3d(*args)
1764 get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26) -> Transformation3D
1765 get_random_local_transformation(Vector3D origin, double max_translation=5.) -> Transformation3D
1766 get_random_local_transformation(Vector3D origin) -> Transformation3D
1768 return _IMP_algebra.get_random_local_transformation(*args)
1769 class Rotation2D(_GeometricPrimitive2D):
1770 """Proxy of C++ IMP::algebra::Rotation2D class"""
1771 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1772 def __init__(self, *args):
1774 __init__(IMP::algebra::Rotation2D self) -> Rotation2D
1775 __init__(IMP::algebra::Rotation2D self, double angle) -> Rotation2D
1777 this = _IMP_algebra.new_Rotation2D(*args)
1778 try: self.this.append(this)
1779 except: self.this = this
1780 def get_rotated(self, *args):
1782 get_rotated(Rotation2D self, Vector2D o) -> Vector2D
1783 get_rotated(Rotation2D self, double const x, double const y) -> Vector2D
1785 return _IMP_algebra.Rotation2D_get_rotated(self, *args)
1787 def get_inverse(self):
1788 """get_inverse(Rotation2D self) -> Rotation2D"""
1789 return _IMP_algebra.Rotation2D_get_inverse(self)
1791 def set_angle(self, *args):
1792 """set_angle(Rotation2D self, double angle)"""
1793 return _IMP_algebra.Rotation2D_set_angle(self, *args)
1795 def get_angle(self):
1796 """get_angle(Rotation2D self) -> double"""
1797 return _IMP_algebra.Rotation2D_get_angle(self)
1799 def show(self, *args):
1801 show(Rotation2D self, _ostream out=std::cout)
1802 show(Rotation2D self)
1804 return _IMP_algebra.Rotation2D_show(self, *args)
1807 """__str__(Rotation2D self) -> std::string"""
1808 return _IMP_algebra.Rotation2D___str__(self)
1811 """__repr__(Rotation2D self) -> std::string"""
1812 return _IMP_algebra.Rotation2D___repr__(self)
1814 __swig_destroy__ = _IMP_algebra.delete_Rotation2D
1815 __del__ =
lambda self :
None;
1816 Rotation2D_swigregister = _IMP_algebra.Rotation2D_swigregister
1817 Rotation2D_swigregister(Rotation2D)
1821 """get_identity_rotation_2d() -> Rotation2D"""
1822 return _IMP_algebra.get_identity_rotation_2d()
1825 """get_random_rotation_2d() -> Rotation2D"""
1826 return _IMP_algebra.get_random_rotation_2d()
1829 """get_rotation_to_x_axis(Vector2D v) -> Rotation2D"""
1830 return _IMP_algebra.get_rotation_to_x_axis(*args)
1831 class Transformation2D(_GeometricPrimitive2D):
1832 """Proxy of C++ IMP::algebra::Transformation2D class"""
1833 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1834 def __init__(self, *args):
1836 __init__(IMP::algebra::Transformation2D self) -> Transformation2D
1837 __init__(IMP::algebra::Transformation2D self, Rotation2D r, Vector2D t=IMP::algebra::Vector2D(0.0, 0.0)) -> Transformation2D
1838 __init__(IMP::algebra::Transformation2D self, Rotation2D r) -> Transformation2D
1839 __init__(IMP::algebra::Transformation2D self, Vector2D t) -> Transformation2D
1841 this = _IMP_algebra.new_Transformation2D(*args)
1842 try: self.this.append(this)
1843 except: self.this = this
1844 __swig_destroy__ = _IMP_algebra.delete_Transformation2D
1845 __del__ =
lambda self :
None;
1846 def get_transformed(self, *args):
1847 """get_transformed(Transformation2D self, Vector2D o) -> Vector2D"""
1848 return _IMP_algebra.Transformation2D_get_transformed(self, *args)
1850 def __mul__(self, *args):
1852 __mul__(Transformation2D self, Vector2D v) -> Vector2D
1853 __mul__(Transformation2D self, Transformation2D tr) -> Transformation2D
1855 return _IMP_algebra.Transformation2D___mul__(self, *args)
1857 def __div__(self, *args):
1858 """__div__(Transformation2D self, Transformation2D b) -> Transformation2D"""
1859 return _IMP_algebra.Transformation2D___div__(self, *args)
1861 def get_rotation(self):
1862 """get_rotation(Transformation2D self) -> Rotation2D"""
1863 return _IMP_algebra.Transformation2D_get_rotation(self)
1865 def set_rotation(self, *args):
1866 """set_rotation(Transformation2D self, double angle)"""
1867 return _IMP_algebra.Transformation2D_set_rotation(self, *args)
1869 def get_translation(self):
1870 """get_translation(Transformation2D self) -> Vector2D"""
1871 return _IMP_algebra.Transformation2D_get_translation(self)
1873 def set_translation(self, *args):
1874 """set_translation(Transformation2D self, Vector2D v)"""
1875 return _IMP_algebra.Transformation2D_set_translation(self, *args)
1877 def show(self, *args):
1879 show(Transformation2D self, _ostream out=std::cout)
1880 show(Transformation2D self)
1882 return _IMP_algebra.Transformation2D_show(self, *args)
1884 def get_inverse(self):
1885 """get_inverse(Transformation2D self) -> Transformation2D"""
1886 return _IMP_algebra.Transformation2D_get_inverse(self)
1889 """__str__(Transformation2D self) -> std::string"""
1890 return _IMP_algebra.Transformation2D___str__(self)
1893 """__repr__(Transformation2D self) -> std::string"""
1894 return _IMP_algebra.Transformation2D___repr__(self)
1896 __truediv__ = __div__
1898 Transformation2D_swigregister = _IMP_algebra.Transformation2D_swigregister
1899 Transformation2D_swigregister(Transformation2D)
1903 """get_identity_transformation_2d() -> Transformation2D"""
1904 return _IMP_algebra.get_identity_transformation_2d()
1908 get_rotation_about_point(Vector3D point, Rotation3D rotation) -> Transformation3D
1909 get_rotation_about_point(Vector2D point, Rotation2D rotation) -> Transformation2D
1911 return _IMP_algebra.get_rotation_about_point(*args)
1915 compose(Rotation3D a, Rotation3D b) -> Rotation3D
1916 compose(Transformation3D a, Transformation3D b) -> Transformation3D
1917 compose(Rotation2D a, Rotation2D b) -> Rotation2D
1918 compose(Transformation2D a, Transformation2D b) -> Transformation2D
1920 return _IMP_algebra.compose(*args)
1922 def get_unit_sphere_kd(*args):
1923 """get_unit_sphere_kd(unsigned int d) -> SphereKD"""
1924 return _IMP_algebra.get_unit_sphere_kd(*args)
1928 get_enclosing_sphere(IMP::algebra::Sphere3Ds const & ss) -> Sphere3D
1929 get_enclosing_sphere(IMP::algebra::Vector3Ds const & ss) -> Sphere3D
1931 return _IMP_algebra.get_enclosing_sphere(*args)
1934 """get_ball_radius_from_volume_3d(double volume) -> double"""
1935 return _IMP_algebra.get_ball_radius_from_volume_3d(*args)
1938 """get_surface_area_and_volume(IMP::algebra::Sphere3Ds const & ss) -> IMP::FloatPair"""
1939 return _IMP_algebra.get_surface_area_and_volume(*args)
1942 """get_simplified_from_volume(IMP::algebra::Sphere3Ds _in, double maximum_allowed_error_angstroms) -> IMP::algebra::Sphere3Ds"""
1943 return _IMP_algebra.get_simplified_from_volume(*args)
1945 """Proxy of C++ IMP::algebra::VectorD<(1)> class"""
1946 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1948 """get_unit_vector(Vector1D self) -> Vector1D"""
1949 return _IMP_algebra.Vector1D_get_unit_vector(self)
1951 def __div__(self, *args):
1952 """__div__(Vector1D self, double s) -> Vector1D"""
1953 return _IMP_algebra.Vector1D___div__(self, *args)
1956 """__neg__(Vector1D self) -> Vector1D"""
1957 return _IMP_algebra.Vector1D___neg__(self)
1959 def __sub__(self, *args):
1960 """__sub__(Vector1D self, Vector1D o) -> Vector1D"""
1961 return _IMP_algebra.Vector1D___sub__(self, *args)
1963 def __add__(self, *args):
1964 """__add__(Vector1D self, Vector1D ret) -> Vector1D"""
1965 return _IMP_algebra.Vector1D___add__(self, *args)
1967 def __mul__(self, *args):
1969 __mul__(Vector1D self, double s) -> Vector1D
1970 __mul__(Vector1D self, Vector1D o) -> double
1972 return _IMP_algebra.Vector1D___mul__(self, *args)
1974 def __init__(self, *args):
1976 __init__(IMP::algebra::VectorD<(1)> self, IMP::Floats const & f) -> Vector1D
1977 __init__(IMP::algebra::VectorD<(1)> self) -> Vector1D
1978 __init__(IMP::algebra::VectorD<(1)> self, double x) -> Vector1D
1980 this = _IMP_algebra.new_Vector1D(*args)
1981 try: self.this.append(this)
1982 except: self.this = this
1983 def __getitem__(self, *args):
1984 """__getitem__(Vector1D self, unsigned int index) -> double"""
1985 return _IMP_algebra.Vector1D___getitem__(self, *args)
1987 def __setitem__(self, *args):
1988 """__setitem__(Vector1D self, unsigned int index, double val)"""
1989 return _IMP_algebra.Vector1D___setitem__(self, *args)
1991 def __iadd__(self, *args):
1992 _IMP_algebra.Vector1D___iadd__(self, *args)
1996 def __imul__(self, *args):
1997 _IMP_algebra.Vector1D___imul__(self, *args)
2001 def __idiv__(self, *args):
2002 _IMP_algebra.Vector1D___idiv__(self, *args)
2006 def __isub__(self, *args):
2007 _IMP_algebra.Vector1D___isub__(self, *args)
2012 """__len__(Vector1D self) -> unsigned int"""
2013 return _IMP_algebra.Vector1D___len__(self)
2015 def __rmul__(self, *args):
2016 """__rmul__(Vector1D self, double f) -> Vector1D"""
2017 return _IMP_algebra.Vector1D___rmul__(self, *args)
2020 """__str__(Vector1D self) -> std::string"""
2021 return _IMP_algebra.Vector1D___str__(self)
2024 """__repr__(Vector1D self) -> std::string"""
2025 return _IMP_algebra.Vector1D___repr__(self)
2027 def __cmp__(self, *args):
2028 """__cmp__(Vector1D self, Vector1D arg2) -> int"""
2029 return _IMP_algebra.Vector1D___cmp__(self, *args)
2031 def __eq__(self, *args):
2032 """__eq__(Vector1D self, Vector1D arg2) -> bool"""
2033 return _IMP_algebra.Vector1D___eq__(self, *args)
2035 __truediv__ = __div__
2036 __itruediv__ = __idiv__
2038 __swig_destroy__ = _IMP_algebra.delete_Vector1D
2039 __del__ =
lambda self :
None;
2040 Vector1D_swigregister = _IMP_algebra.Vector1D_swigregister
2041 Vector1D_swigregister(Vector1D)
2044 """Proxy of C++ IMP::algebra::VectorD<(2)> class"""
2045 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2047 """get_unit_vector(Vector2D self) -> Vector2D"""
2048 return _IMP_algebra.Vector2D_get_unit_vector(self)
2050 def __div__(self, *args):
2051 """__div__(Vector2D self, double s) -> Vector2D"""
2052 return _IMP_algebra.Vector2D___div__(self, *args)
2055 """__neg__(Vector2D self) -> Vector2D"""
2056 return _IMP_algebra.Vector2D___neg__(self)
2058 def __sub__(self, *args):
2059 """__sub__(Vector2D self, Vector2D o) -> Vector2D"""
2060 return _IMP_algebra.Vector2D___sub__(self, *args)
2062 def __add__(self, *args):
2063 """__add__(Vector2D self, Vector2D ret) -> Vector2D"""
2064 return _IMP_algebra.Vector2D___add__(self, *args)
2066 def __mul__(self, *args):
2068 __mul__(Vector2D self, double s) -> Vector2D
2069 __mul__(Vector2D self, Vector2D o) -> double
2071 return _IMP_algebra.Vector2D___mul__(self, *args)
2073 def __init__(self, *args):
2075 __init__(IMP::algebra::VectorD<(2)> self, IMP::Floats const & f) -> Vector2D
2076 __init__(IMP::algebra::VectorD<(2)> self) -> Vector2D
2077 __init__(IMP::algebra::VectorD<(2)> self, double x, double y) -> Vector2D
2079 this = _IMP_algebra.new_Vector2D(*args)
2080 try: self.this.append(this)
2081 except: self.this = this
2082 def __getitem__(self, *args):
2083 """__getitem__(Vector2D self, unsigned int index) -> double"""
2084 return _IMP_algebra.Vector2D___getitem__(self, *args)
2086 def __setitem__(self, *args):
2087 """__setitem__(Vector2D self, unsigned int index, double val)"""
2088 return _IMP_algebra.Vector2D___setitem__(self, *args)
2090 def __iadd__(self, *args):
2091 _IMP_algebra.Vector2D___iadd__(self, *args)
2095 def __imul__(self, *args):
2096 _IMP_algebra.Vector2D___imul__(self, *args)
2100 def __idiv__(self, *args):
2101 _IMP_algebra.Vector2D___idiv__(self, *args)
2105 def __isub__(self, *args):
2106 _IMP_algebra.Vector2D___isub__(self, *args)
2111 """__len__(Vector2D self) -> unsigned int"""
2112 return _IMP_algebra.Vector2D___len__(self)
2114 def __rmul__(self, *args):
2115 """__rmul__(Vector2D self, double f) -> Vector2D"""
2116 return _IMP_algebra.Vector2D___rmul__(self, *args)
2119 """__str__(Vector2D self) -> std::string"""
2120 return _IMP_algebra.Vector2D___str__(self)
2123 """__repr__(Vector2D self) -> std::string"""
2124 return _IMP_algebra.Vector2D___repr__(self)
2126 def __cmp__(self, *args):
2127 """__cmp__(Vector2D self, Vector2D arg2) -> int"""
2128 return _IMP_algebra.Vector2D___cmp__(self, *args)
2130 def __eq__(self, *args):
2131 """__eq__(Vector2D self, Vector2D arg2) -> bool"""
2132 return _IMP_algebra.Vector2D___eq__(self, *args)
2134 __truediv__ = __div__
2135 __itruediv__ = __idiv__
2137 __swig_destroy__ = _IMP_algebra.delete_Vector2D
2138 __del__ =
lambda self :
None;
2139 Vector2D_swigregister = _IMP_algebra.Vector2D_swigregister
2140 Vector2D_swigregister(Vector2D)
2143 """Proxy of C++ IMP::algebra::VectorD<(3)> class"""
2144 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2146 """get_unit_vector(Vector3D self) -> Vector3D"""
2147 return _IMP_algebra.Vector3D_get_unit_vector(self)
2149 def __div__(self, *args):
2150 """__div__(Vector3D self, double s) -> Vector3D"""
2151 return _IMP_algebra.Vector3D___div__(self, *args)
2154 """__neg__(Vector3D self) -> Vector3D"""
2155 return _IMP_algebra.Vector3D___neg__(self)
2157 def __sub__(self, *args):
2158 """__sub__(Vector3D self, Vector3D o) -> Vector3D"""
2159 return _IMP_algebra.Vector3D___sub__(self, *args)
2161 def __add__(self, *args):
2162 """__add__(Vector3D self, Vector3D ret) -> Vector3D"""
2163 return _IMP_algebra.Vector3D___add__(self, *args)
2165 def __mul__(self, *args):
2167 __mul__(Vector3D self, double s) -> Vector3D
2168 __mul__(Vector3D self, Vector3D o) -> double
2170 return _IMP_algebra.Vector3D___mul__(self, *args)
2172 def __init__(self, *args):
2174 __init__(IMP::algebra::VectorD<(3)> self, IMP::Floats const & f) -> Vector3D
2175 __init__(IMP::algebra::VectorD<(3)> self) -> Vector3D
2176 __init__(IMP::algebra::VectorD<(3)> self, double x, double y, double z) -> Vector3D
2178 this = _IMP_algebra.new_Vector3D(*args)
2179 try: self.this.append(this)
2180 except: self.this = this
2181 def __getitem__(self, *args):
2182 """__getitem__(Vector3D self, unsigned int index) -> double"""
2183 return _IMP_algebra.Vector3D___getitem__(self, *args)
2185 def __setitem__(self, *args):
2186 """__setitem__(Vector3D self, unsigned int index, double val)"""
2187 return _IMP_algebra.Vector3D___setitem__(self, *args)
2189 def __iadd__(self, *args):
2190 _IMP_algebra.Vector3D___iadd__(self, *args)
2194 def __imul__(self, *args):
2195 _IMP_algebra.Vector3D___imul__(self, *args)
2199 def __idiv__(self, *args):
2200 _IMP_algebra.Vector3D___idiv__(self, *args)
2204 def __isub__(self, *args):
2205 _IMP_algebra.Vector3D___isub__(self, *args)
2210 """__len__(Vector3D self) -> unsigned int"""
2211 return _IMP_algebra.Vector3D___len__(self)
2213 def __rmul__(self, *args):
2214 """__rmul__(Vector3D self, double f) -> Vector3D"""
2215 return _IMP_algebra.Vector3D___rmul__(self, *args)
2218 """__str__(Vector3D self) -> std::string"""
2219 return _IMP_algebra.Vector3D___str__(self)
2222 """__repr__(Vector3D self) -> std::string"""
2223 return _IMP_algebra.Vector3D___repr__(self)
2225 def __cmp__(self, *args):
2226 """__cmp__(Vector3D self, Vector3D arg2) -> int"""
2227 return _IMP_algebra.Vector3D___cmp__(self, *args)
2229 def __eq__(self, *args):
2230 """__eq__(Vector3D self, Vector3D arg2) -> bool"""
2231 return _IMP_algebra.Vector3D___eq__(self, *args)
2233 __truediv__ = __div__
2234 __itruediv__ = __idiv__
2236 __swig_destroy__ = _IMP_algebra.delete_Vector3D
2237 __del__ =
lambda self :
None;
2238 Vector3D_swigregister = _IMP_algebra.Vector3D_swigregister
2239 Vector3D_swigregister(Vector3D)
2242 """Proxy of C++ IMP::algebra::VectorD<(4)> class"""
2243 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2245 """get_unit_vector(Vector4D self) -> Vector4D"""
2246 return _IMP_algebra.Vector4D_get_unit_vector(self)
2248 def __div__(self, *args):
2249 """__div__(Vector4D self, double s) -> Vector4D"""
2250 return _IMP_algebra.Vector4D___div__(self, *args)
2253 """__neg__(Vector4D self) -> Vector4D"""
2254 return _IMP_algebra.Vector4D___neg__(self)
2256 def __sub__(self, *args):
2257 """__sub__(Vector4D self, Vector4D o) -> Vector4D"""
2258 return _IMP_algebra.Vector4D___sub__(self, *args)
2260 def __add__(self, *args):
2261 """__add__(Vector4D self, Vector4D ret) -> Vector4D"""
2262 return _IMP_algebra.Vector4D___add__(self, *args)
2264 def __mul__(self, *args):
2266 __mul__(Vector4D self, double s) -> Vector4D
2267 __mul__(Vector4D self, Vector4D o) -> double
2269 return _IMP_algebra.Vector4D___mul__(self, *args)
2271 def __init__(self, *args):
2273 __init__(IMP::algebra::VectorD<(4)> self, IMP::Floats const & f) -> Vector4D
2274 __init__(IMP::algebra::VectorD<(4)> self) -> Vector4D
2275 __init__(IMP::algebra::VectorD<(4)> self, double x0, double x1, double x2, double x3) -> Vector4D
2277 this = _IMP_algebra.new_Vector4D(*args)
2278 try: self.this.append(this)
2279 except: self.this = this
2280 def __getitem__(self, *args):
2281 """__getitem__(Vector4D self, unsigned int index) -> double"""
2282 return _IMP_algebra.Vector4D___getitem__(self, *args)
2284 def __setitem__(self, *args):
2285 """__setitem__(Vector4D self, unsigned int index, double val)"""
2286 return _IMP_algebra.Vector4D___setitem__(self, *args)
2288 def __iadd__(self, *args):
2289 _IMP_algebra.Vector4D___iadd__(self, *args)
2293 def __imul__(self, *args):
2294 _IMP_algebra.Vector4D___imul__(self, *args)
2298 def __idiv__(self, *args):
2299 _IMP_algebra.Vector4D___idiv__(self, *args)
2303 def __isub__(self, *args):
2304 _IMP_algebra.Vector4D___isub__(self, *args)
2309 """__len__(Vector4D self) -> unsigned int"""
2310 return _IMP_algebra.Vector4D___len__(self)
2312 def __rmul__(self, *args):
2313 """__rmul__(Vector4D self, double f) -> Vector4D"""
2314 return _IMP_algebra.Vector4D___rmul__(self, *args)
2317 """__str__(Vector4D self) -> std::string"""
2318 return _IMP_algebra.Vector4D___str__(self)
2321 """__repr__(Vector4D self) -> std::string"""
2322 return _IMP_algebra.Vector4D___repr__(self)
2324 def __cmp__(self, *args):
2325 """__cmp__(Vector4D self, Vector4D arg2) -> int"""
2326 return _IMP_algebra.Vector4D___cmp__(self, *args)
2328 def __eq__(self, *args):
2329 """__eq__(Vector4D self, Vector4D arg2) -> bool"""
2330 return _IMP_algebra.Vector4D___eq__(self, *args)
2332 __truediv__ = __div__
2333 __itruediv__ = __idiv__
2335 __swig_destroy__ = _IMP_algebra.delete_Vector4D
2336 __del__ =
lambda self :
None;
2337 Vector4D_swigregister = _IMP_algebra.Vector4D_swigregister
2338 Vector4D_swigregister(Vector4D)
2341 """Proxy of C++ IMP::algebra::VectorD<(5)> class"""
2342 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2344 """get_unit_vector(Vector5D self) -> Vector5D"""
2345 return _IMP_algebra.Vector5D_get_unit_vector(self)
2347 def __div__(self, *args):
2348 """__div__(Vector5D self, double s) -> Vector5D"""
2349 return _IMP_algebra.Vector5D___div__(self, *args)
2352 """__neg__(Vector5D self) -> Vector5D"""
2353 return _IMP_algebra.Vector5D___neg__(self)
2355 def __sub__(self, *args):
2356 """__sub__(Vector5D self, Vector5D o) -> Vector5D"""
2357 return _IMP_algebra.Vector5D___sub__(self, *args)
2359 def __add__(self, *args):
2360 """__add__(Vector5D self, Vector5D ret) -> Vector5D"""
2361 return _IMP_algebra.Vector5D___add__(self, *args)
2363 def __mul__(self, *args):
2365 __mul__(Vector5D self, double s) -> Vector5D
2366 __mul__(Vector5D self, Vector5D o) -> double
2368 return _IMP_algebra.Vector5D___mul__(self, *args)
2370 def __init__(self, *args):
2372 __init__(IMP::algebra::VectorD<(5)> self, IMP::Floats const & f) -> Vector5D
2373 __init__(IMP::algebra::VectorD<(5)> self) -> Vector5D
2374 __init__(IMP::algebra::VectorD<(5)> self, double x0, double x1, double x2, double x3, double x4) -> Vector5D
2376 this = _IMP_algebra.new_Vector5D(*args)
2377 try: self.this.append(this)
2378 except: self.this = this
2379 def __getitem__(self, *args):
2380 """__getitem__(Vector5D self, unsigned int index) -> double"""
2381 return _IMP_algebra.Vector5D___getitem__(self, *args)
2383 def __setitem__(self, *args):
2384 """__setitem__(Vector5D self, unsigned int index, double val)"""
2385 return _IMP_algebra.Vector5D___setitem__(self, *args)
2387 def __iadd__(self, *args):
2388 _IMP_algebra.Vector5D___iadd__(self, *args)
2392 def __imul__(self, *args):
2393 _IMP_algebra.Vector5D___imul__(self, *args)
2397 def __idiv__(self, *args):
2398 _IMP_algebra.Vector5D___idiv__(self, *args)
2402 def __isub__(self, *args):
2403 _IMP_algebra.Vector5D___isub__(self, *args)
2408 """__len__(Vector5D self) -> unsigned int"""
2409 return _IMP_algebra.Vector5D___len__(self)
2411 def __rmul__(self, *args):
2412 """__rmul__(Vector5D self, double f) -> Vector5D"""
2413 return _IMP_algebra.Vector5D___rmul__(self, *args)
2416 """__str__(Vector5D self) -> std::string"""
2417 return _IMP_algebra.Vector5D___str__(self)
2420 """__repr__(Vector5D self) -> std::string"""
2421 return _IMP_algebra.Vector5D___repr__(self)
2423 def __cmp__(self, *args):
2424 """__cmp__(Vector5D self, Vector5D arg2) -> int"""
2425 return _IMP_algebra.Vector5D___cmp__(self, *args)
2427 def __eq__(self, *args):
2428 """__eq__(Vector5D self, Vector5D arg2) -> bool"""
2429 return _IMP_algebra.Vector5D___eq__(self, *args)
2431 __truediv__ = __div__
2432 __itruediv__ = __idiv__
2434 __swig_destroy__ = _IMP_algebra.delete_Vector5D
2435 __del__ =
lambda self :
None;
2436 Vector5D_swigregister = _IMP_algebra.Vector5D_swigregister
2437 Vector5D_swigregister(Vector5D)
2440 """Proxy of C++ IMP::algebra::VectorD<(6)> class"""
2441 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2443 """get_unit_vector(Vector6D self) -> Vector6D"""
2444 return _IMP_algebra.Vector6D_get_unit_vector(self)
2446 def __div__(self, *args):
2447 """__div__(Vector6D self, double s) -> Vector6D"""
2448 return _IMP_algebra.Vector6D___div__(self, *args)
2451 """__neg__(Vector6D self) -> Vector6D"""
2452 return _IMP_algebra.Vector6D___neg__(self)
2454 def __sub__(self, *args):
2455 """__sub__(Vector6D self, Vector6D o) -> Vector6D"""
2456 return _IMP_algebra.Vector6D___sub__(self, *args)
2458 def __add__(self, *args):
2459 """__add__(Vector6D self, Vector6D ret) -> Vector6D"""
2460 return _IMP_algebra.Vector6D___add__(self, *args)
2462 def __mul__(self, *args):
2464 __mul__(Vector6D self, double s) -> Vector6D
2465 __mul__(Vector6D self, Vector6D o) -> double
2467 return _IMP_algebra.Vector6D___mul__(self, *args)
2469 def __init__(self, *args):
2471 __init__(IMP::algebra::VectorD<(6)> self, IMP::Floats const & f) -> Vector6D
2472 __init__(IMP::algebra::VectorD<(6)> self) -> Vector6D
2473 __init__(IMP::algebra::VectorD<(6)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> Vector6D
2475 this = _IMP_algebra.new_Vector6D(*args)
2476 try: self.this.append(this)
2477 except: self.this = this
2478 def __getitem__(self, *args):
2479 """__getitem__(Vector6D self, unsigned int index) -> double"""
2480 return _IMP_algebra.Vector6D___getitem__(self, *args)
2482 def __setitem__(self, *args):
2483 """__setitem__(Vector6D self, unsigned int index, double val)"""
2484 return _IMP_algebra.Vector6D___setitem__(self, *args)
2486 def __iadd__(self, *args):
2487 _IMP_algebra.Vector6D___iadd__(self, *args)
2491 def __imul__(self, *args):
2492 _IMP_algebra.Vector6D___imul__(self, *args)
2496 def __idiv__(self, *args):
2497 _IMP_algebra.Vector6D___idiv__(self, *args)
2501 def __isub__(self, *args):
2502 _IMP_algebra.Vector6D___isub__(self, *args)
2507 """__len__(Vector6D self) -> unsigned int"""
2508 return _IMP_algebra.Vector6D___len__(self)
2510 def __rmul__(self, *args):
2511 """__rmul__(Vector6D self, double f) -> Vector6D"""
2512 return _IMP_algebra.Vector6D___rmul__(self, *args)
2515 """__str__(Vector6D self) -> std::string"""
2516 return _IMP_algebra.Vector6D___str__(self)
2519 """__repr__(Vector6D self) -> std::string"""
2520 return _IMP_algebra.Vector6D___repr__(self)
2522 def __cmp__(self, *args):
2523 """__cmp__(Vector6D self, Vector6D arg2) -> int"""
2524 return _IMP_algebra.Vector6D___cmp__(self, *args)
2526 def __eq__(self, *args):
2527 """__eq__(Vector6D self, Vector6D arg2) -> bool"""
2528 return _IMP_algebra.Vector6D___eq__(self, *args)
2530 __truediv__ = __div__
2531 __itruediv__ = __idiv__
2533 __swig_destroy__ = _IMP_algebra.delete_Vector6D
2534 __del__ =
lambda self :
None;
2535 Vector6D_swigregister = _IMP_algebra.Vector6D_swigregister
2536 Vector6D_swigregister(Vector6D)
2539 """Proxy of C++ IMP::algebra::VectorD<(-1)> class"""
2540 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2542 """get_unit_vector(VectorKD self) -> VectorKD"""
2543 return _IMP_algebra.VectorKD_get_unit_vector(self)
2545 def __div__(self, *args):
2546 """__div__(VectorKD self, double s) -> VectorKD"""
2547 return _IMP_algebra.VectorKD___div__(self, *args)
2550 """__neg__(VectorKD self) -> VectorKD"""
2551 return _IMP_algebra.VectorKD___neg__(self)
2553 def __sub__(self, *args):
2554 """__sub__(VectorKD self, VectorKD o) -> VectorKD"""
2555 return _IMP_algebra.VectorKD___sub__(self, *args)
2557 def __add__(self, *args):
2558 """__add__(VectorKD self, VectorKD ret) -> VectorKD"""
2559 return _IMP_algebra.VectorKD___add__(self, *args)
2561 def __mul__(self, *args):
2563 __mul__(VectorKD self, double s) -> VectorKD
2564 __mul__(VectorKD self, VectorKD o) -> double
2566 return _IMP_algebra.VectorKD___mul__(self, *args)
2568 def __init__(self, *args):
2570 __init__(IMP::algebra::VectorD<(-1)> self, IMP::Floats const & f) -> VectorKD
2571 __init__(IMP::algebra::VectorD<(-1)> self) -> VectorKD
2572 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1=std::numeric_limits< double >::max(), double x2=std::numeric_limits< double >::max(),
2573 double x3=std::numeric_limits< double >::max(), double x4=std::numeric_limits< double >::max(),
2574 double x5=std::numeric_limits< double >::max()) -> VectorKD
2575 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1=std::numeric_limits< double >::max(), double x2=std::numeric_limits< double >::max(),
2576 double x3=std::numeric_limits< double >::max(), double x4=std::numeric_limits< double >::max()) -> VectorKD
2577 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1=std::numeric_limits< double >::max(), double x2=std::numeric_limits< double >::max(),
2578 double x3=std::numeric_limits< double >::max()) -> VectorKD
2579 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1=std::numeric_limits< double >::max(), double x2=std::numeric_limits< double >::max()) -> VectorKD
2580 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1=std::numeric_limits< double >::max()) -> VectorKD
2581 __init__(IMP::algebra::VectorD<(-1)> self, double x0) -> VectorKD
2583 this = _IMP_algebra.new_VectorKD(*args)
2584 try: self.this.append(this)
2585 except: self.this = this
2586 def __getitem__(self, *args):
2587 """__getitem__(VectorKD self, unsigned int index) -> double"""
2588 return _IMP_algebra.VectorKD___getitem__(self, *args)
2590 def __setitem__(self, *args):
2591 """__setitem__(VectorKD self, unsigned int index, double val)"""
2592 return _IMP_algebra.VectorKD___setitem__(self, *args)
2594 def __iadd__(self, *args):
2595 _IMP_algebra.VectorKD___iadd__(self, *args)
2599 def __imul__(self, *args):
2600 _IMP_algebra.VectorKD___imul__(self, *args)
2604 def __idiv__(self, *args):
2605 _IMP_algebra.VectorKD___idiv__(self, *args)
2609 def __isub__(self, *args):
2610 _IMP_algebra.VectorKD___isub__(self, *args)
2615 """__len__(VectorKD self) -> unsigned int"""
2616 return _IMP_algebra.VectorKD___len__(self)
2618 def __rmul__(self, *args):
2619 """__rmul__(VectorKD self, double f) -> VectorKD"""
2620 return _IMP_algebra.VectorKD___rmul__(self, *args)
2623 """__str__(VectorKD self) -> std::string"""
2624 return _IMP_algebra.VectorKD___str__(self)
2627 """__repr__(VectorKD self) -> std::string"""
2628 return _IMP_algebra.VectorKD___repr__(self)
2630 def __cmp__(self, *args):
2631 """__cmp__(VectorKD self, VectorKD arg2) -> int"""
2632 return _IMP_algebra.VectorKD___cmp__(self, *args)
2634 def __eq__(self, *args):
2635 """__eq__(VectorKD self, VectorKD arg2) -> bool"""
2636 return _IMP_algebra.VectorKD___eq__(self, *args)
2638 __truediv__ = __div__
2639 __itruediv__ = __idiv__
2641 __swig_destroy__ = _IMP_algebra.delete_VectorKD
2642 __del__ =
lambda self :
None;
2643 VectorKD_swigregister = _IMP_algebra.VectorKD_swigregister
2644 VectorKD_swigregister(VectorKD)
2647 """Proxy of C++ IMP::algebra::BoundingBoxD<(1)> class"""
2648 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2649 def get_dimension(self):
2650 """get_dimension(BoundingBox1D self) -> unsigned int"""
2651 return _IMP_algebra.BoundingBox1D_get_dimension(self)
2653 def get_corner(self, *args):
2654 """get_corner(BoundingBox1D self, unsigned int i) -> Vector1D"""
2655 return _IMP_algebra.BoundingBox1D_get_corner(self, *args)
2657 def get_contains(self, *args):
2659 get_contains(BoundingBox1D self, Vector1D o) -> bool
2660 get_contains(BoundingBox1D self, BoundingBox1D bb) -> bool
2662 return _IMP_algebra.BoundingBox1D_get_contains(self, *args)
2664 def show(self, *args):
2666 show(BoundingBox1D self, _ostream out=std::cout)
2667 show(BoundingBox1D self)
2669 return _IMP_algebra.BoundingBox1D_show(self, *args)
2672 """__str__(BoundingBox1D self) -> std::string"""
2673 return _IMP_algebra.BoundingBox1D___str__(self)
2676 """__repr__(BoundingBox1D self) -> std::string"""
2677 return _IMP_algebra.BoundingBox1D___repr__(self)
2679 def __cmp__(self, *args):
2680 """__cmp__(BoundingBox1D self, BoundingBox1D arg2) -> int"""
2681 return _IMP_algebra.BoundingBox1D___cmp__(self, *args)
2683 def __eq__(self, *args):
2684 """__eq__(BoundingBox1D self, BoundingBox1D arg2) -> bool"""
2685 return _IMP_algebra.BoundingBox1D___eq__(self, *args)
2687 def __init__(self, *args):
2689 __init__(IMP::algebra::BoundingBoxD<(1)> self, unsigned int d) -> BoundingBox1D
2690 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D lb, Vector1D ub) -> BoundingBox1D
2691 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D v) -> BoundingBox1D
2692 __init__(IMP::algebra::BoundingBoxD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & points) -> BoundingBox1D
2693 __init__(IMP::algebra::BoundingBoxD<(1)> self) -> BoundingBox1D
2695 this = _IMP_algebra.new_BoundingBox1D(*args)
2696 try: self.this.append(this)
2697 except: self.this = this
2698 def __getitem__(self, *args):
2699 """__getitem__(BoundingBox1D self, unsigned int index) -> Vector1D"""
2700 return _IMP_algebra.BoundingBox1D___getitem__(self, *args)
2702 def __iadd__(self, *args):
2703 _IMP_algebra.BoundingBox1D___iadd__(self, *args)
2708 """__len__(BoundingBox1D self) -> unsigned int"""
2709 return _IMP_algebra.BoundingBox1D___len__(self)
2711 def __add__(self, *args):
2713 __add__(BoundingBox1D self, BoundingBox1D o) -> BoundingBox1D
2714 __add__(BoundingBox1D self, Vector1D o) -> BoundingBox1D
2715 __add__(BoundingBox1D self, double o) -> BoundingBox1D
2717 return _IMP_algebra.BoundingBox1D___add__(self, *args)
2719 __swig_destroy__ = _IMP_algebra.delete_BoundingBox1D
2720 __del__ =
lambda self :
None;
2721 BoundingBox1D_swigregister = _IMP_algebra.BoundingBox1D_swigregister
2722 BoundingBox1D_swigregister(BoundingBox1D)
2725 """Proxy of C++ IMP::algebra::BoundingBoxD<(2)> class"""
2726 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2727 def get_dimension(self):
2728 """get_dimension(BoundingBox2D self) -> unsigned int"""
2729 return _IMP_algebra.BoundingBox2D_get_dimension(self)
2731 def get_corner(self, *args):
2732 """get_corner(BoundingBox2D self, unsigned int i) -> Vector2D"""
2733 return _IMP_algebra.BoundingBox2D_get_corner(self, *args)
2735 def get_contains(self, *args):
2737 get_contains(BoundingBox2D self, Vector2D o) -> bool
2738 get_contains(BoundingBox2D self, BoundingBox2D bb) -> bool
2740 return _IMP_algebra.BoundingBox2D_get_contains(self, *args)
2742 def show(self, *args):
2744 show(BoundingBox2D self, _ostream out=std::cout)
2745 show(BoundingBox2D self)
2747 return _IMP_algebra.BoundingBox2D_show(self, *args)
2750 """__str__(BoundingBox2D self) -> std::string"""
2751 return _IMP_algebra.BoundingBox2D___str__(self)
2754 """__repr__(BoundingBox2D self) -> std::string"""
2755 return _IMP_algebra.BoundingBox2D___repr__(self)
2757 def __cmp__(self, *args):
2758 """__cmp__(BoundingBox2D self, BoundingBox2D arg2) -> int"""
2759 return _IMP_algebra.BoundingBox2D___cmp__(self, *args)
2761 def __eq__(self, *args):
2762 """__eq__(BoundingBox2D self, BoundingBox2D arg2) -> bool"""
2763 return _IMP_algebra.BoundingBox2D___eq__(self, *args)
2765 def __init__(self, *args):
2767 __init__(IMP::algebra::BoundingBoxD<(2)> self, unsigned int d) -> BoundingBox2D
2768 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D lb, Vector2D ub) -> BoundingBox2D
2769 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D v) -> BoundingBox2D
2770 __init__(IMP::algebra::BoundingBoxD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & points) -> BoundingBox2D
2771 __init__(IMP::algebra::BoundingBoxD<(2)> self) -> BoundingBox2D
2773 this = _IMP_algebra.new_BoundingBox2D(*args)
2774 try: self.this.append(this)
2775 except: self.this = this
2776 def __getitem__(self, *args):
2777 """__getitem__(BoundingBox2D self, unsigned int index) -> Vector2D"""
2778 return _IMP_algebra.BoundingBox2D___getitem__(self, *args)
2780 def __iadd__(self, *args):
2781 _IMP_algebra.BoundingBox2D___iadd__(self, *args)
2786 """__len__(BoundingBox2D self) -> unsigned int"""
2787 return _IMP_algebra.BoundingBox2D___len__(self)
2789 def __add__(self, *args):
2791 __add__(BoundingBox2D self, BoundingBox2D o) -> BoundingBox2D
2792 __add__(BoundingBox2D self, Vector2D o) -> BoundingBox2D
2793 __add__(BoundingBox2D self, double o) -> BoundingBox2D
2795 return _IMP_algebra.BoundingBox2D___add__(self, *args)
2797 __swig_destroy__ = _IMP_algebra.delete_BoundingBox2D
2798 __del__ =
lambda self :
None;
2799 BoundingBox2D_swigregister = _IMP_algebra.BoundingBox2D_swigregister
2800 BoundingBox2D_swigregister(BoundingBox2D)
2803 """Proxy of C++ IMP::algebra::BoundingBoxD<(3)> class"""
2804 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2805 def get_dimension(self):
2806 """get_dimension(BoundingBox3D self) -> unsigned int"""
2807 return _IMP_algebra.BoundingBox3D_get_dimension(self)
2809 def get_corner(self, *args):
2810 """get_corner(BoundingBox3D self, unsigned int i) -> Vector3D"""
2811 return _IMP_algebra.BoundingBox3D_get_corner(self, *args)
2813 def get_contains(self, *args):
2815 get_contains(BoundingBox3D self, Vector3D o) -> bool
2816 get_contains(BoundingBox3D self, BoundingBox3D bb) -> bool
2818 return _IMP_algebra.BoundingBox3D_get_contains(self, *args)
2820 def show(self, *args):
2822 show(BoundingBox3D self, _ostream out=std::cout)
2823 show(BoundingBox3D self)
2825 return _IMP_algebra.BoundingBox3D_show(self, *args)
2828 """__str__(BoundingBox3D self) -> std::string"""
2829 return _IMP_algebra.BoundingBox3D___str__(self)
2832 """__repr__(BoundingBox3D self) -> std::string"""
2833 return _IMP_algebra.BoundingBox3D___repr__(self)
2835 def __cmp__(self, *args):
2836 """__cmp__(BoundingBox3D self, BoundingBox3D arg2) -> int"""
2837 return _IMP_algebra.BoundingBox3D___cmp__(self, *args)
2839 def __eq__(self, *args):
2840 """__eq__(BoundingBox3D self, BoundingBox3D arg2) -> bool"""
2841 return _IMP_algebra.BoundingBox3D___eq__(self, *args)
2843 def __init__(self, *args):
2845 __init__(IMP::algebra::BoundingBoxD<(3)> self, unsigned int d) -> BoundingBox3D
2846 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D lb, Vector3D ub) -> BoundingBox3D
2847 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D v) -> BoundingBox3D
2848 __init__(IMP::algebra::BoundingBoxD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & points) -> BoundingBox3D
2849 __init__(IMP::algebra::BoundingBoxD<(3)> self) -> BoundingBox3D
2851 this = _IMP_algebra.new_BoundingBox3D(*args)
2852 try: self.this.append(this)
2853 except: self.this = this
2854 def __getitem__(self, *args):
2855 """__getitem__(BoundingBox3D self, unsigned int index) -> Vector3D"""
2856 return _IMP_algebra.BoundingBox3D___getitem__(self, *args)
2858 def __iadd__(self, *args):
2859 _IMP_algebra.BoundingBox3D___iadd__(self, *args)
2864 """__len__(BoundingBox3D self) -> unsigned int"""
2865 return _IMP_algebra.BoundingBox3D___len__(self)
2867 def __add__(self, *args):
2869 __add__(BoundingBox3D self, BoundingBox3D o) -> BoundingBox3D
2870 __add__(BoundingBox3D self, Vector3D o) -> BoundingBox3D
2871 __add__(BoundingBox3D self, double o) -> BoundingBox3D
2873 return _IMP_algebra.BoundingBox3D___add__(self, *args)
2875 __swig_destroy__ = _IMP_algebra.delete_BoundingBox3D
2876 __del__ =
lambda self :
None;
2877 BoundingBox3D_swigregister = _IMP_algebra.BoundingBox3D_swigregister
2878 BoundingBox3D_swigregister(BoundingBox3D)
2881 """Proxy of C++ IMP::algebra::BoundingBoxD<(4)> class"""
2882 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2883 def get_dimension(self):
2884 """get_dimension(BoundingBox4D self) -> unsigned int"""
2885 return _IMP_algebra.BoundingBox4D_get_dimension(self)
2887 def get_corner(self, *args):
2888 """get_corner(BoundingBox4D self, unsigned int i) -> Vector4D"""
2889 return _IMP_algebra.BoundingBox4D_get_corner(self, *args)
2891 def get_contains(self, *args):
2893 get_contains(BoundingBox4D self, Vector4D o) -> bool
2894 get_contains(BoundingBox4D self, BoundingBox4D bb) -> bool
2896 return _IMP_algebra.BoundingBox4D_get_contains(self, *args)
2898 def show(self, *args):
2900 show(BoundingBox4D self, _ostream out=std::cout)
2901 show(BoundingBox4D self)
2903 return _IMP_algebra.BoundingBox4D_show(self, *args)
2906 """__str__(BoundingBox4D self) -> std::string"""
2907 return _IMP_algebra.BoundingBox4D___str__(self)
2910 """__repr__(BoundingBox4D self) -> std::string"""
2911 return _IMP_algebra.BoundingBox4D___repr__(self)
2913 def __cmp__(self, *args):
2914 """__cmp__(BoundingBox4D self, BoundingBox4D arg2) -> int"""
2915 return _IMP_algebra.BoundingBox4D___cmp__(self, *args)
2917 def __eq__(self, *args):
2918 """__eq__(BoundingBox4D self, BoundingBox4D arg2) -> bool"""
2919 return _IMP_algebra.BoundingBox4D___eq__(self, *args)
2921 def __init__(self, *args):
2923 __init__(IMP::algebra::BoundingBoxD<(4)> self, unsigned int d) -> BoundingBox4D
2924 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D lb, Vector4D ub) -> BoundingBox4D
2925 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D v) -> BoundingBox4D
2926 __init__(IMP::algebra::BoundingBoxD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & points) -> BoundingBox4D
2927 __init__(IMP::algebra::BoundingBoxD<(4)> self) -> BoundingBox4D
2929 this = _IMP_algebra.new_BoundingBox4D(*args)
2930 try: self.this.append(this)
2931 except: self.this = this
2932 def __getitem__(self, *args):
2933 """__getitem__(BoundingBox4D self, unsigned int index) -> Vector4D"""
2934 return _IMP_algebra.BoundingBox4D___getitem__(self, *args)
2936 def __iadd__(self, *args):
2937 _IMP_algebra.BoundingBox4D___iadd__(self, *args)
2942 """__len__(BoundingBox4D self) -> unsigned int"""
2943 return _IMP_algebra.BoundingBox4D___len__(self)
2945 def __add__(self, *args):
2947 __add__(BoundingBox4D self, BoundingBox4D o) -> BoundingBox4D
2948 __add__(BoundingBox4D self, Vector4D o) -> BoundingBox4D
2949 __add__(BoundingBox4D self, double o) -> BoundingBox4D
2951 return _IMP_algebra.BoundingBox4D___add__(self, *args)
2953 __swig_destroy__ = _IMP_algebra.delete_BoundingBox4D
2954 __del__ =
lambda self :
None;
2955 BoundingBox4D_swigregister = _IMP_algebra.BoundingBox4D_swigregister
2956 BoundingBox4D_swigregister(BoundingBox4D)
2959 """Proxy of C++ IMP::algebra::BoundingBoxD<(5)> class"""
2960 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2961 def get_dimension(self):
2962 """get_dimension(BoundingBox5D self) -> unsigned int"""
2963 return _IMP_algebra.BoundingBox5D_get_dimension(self)
2965 def get_corner(self, *args):
2966 """get_corner(BoundingBox5D self, unsigned int i) -> Vector5D"""
2967 return _IMP_algebra.BoundingBox5D_get_corner(self, *args)
2969 def get_contains(self, *args):
2971 get_contains(BoundingBox5D self, Vector5D o) -> bool
2972 get_contains(BoundingBox5D self, BoundingBox5D bb) -> bool
2974 return _IMP_algebra.BoundingBox5D_get_contains(self, *args)
2976 def show(self, *args):
2978 show(BoundingBox5D self, _ostream out=std::cout)
2979 show(BoundingBox5D self)
2981 return _IMP_algebra.BoundingBox5D_show(self, *args)
2984 """__str__(BoundingBox5D self) -> std::string"""
2985 return _IMP_algebra.BoundingBox5D___str__(self)
2988 """__repr__(BoundingBox5D self) -> std::string"""
2989 return _IMP_algebra.BoundingBox5D___repr__(self)
2991 def __cmp__(self, *args):
2992 """__cmp__(BoundingBox5D self, BoundingBox5D arg2) -> int"""
2993 return _IMP_algebra.BoundingBox5D___cmp__(self, *args)
2995 def __eq__(self, *args):
2996 """__eq__(BoundingBox5D self, BoundingBox5D arg2) -> bool"""
2997 return _IMP_algebra.BoundingBox5D___eq__(self, *args)
2999 def __init__(self, *args):
3001 __init__(IMP::algebra::BoundingBoxD<(5)> self, unsigned int d) -> BoundingBox5D
3002 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D lb, Vector5D ub) -> BoundingBox5D
3003 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D v) -> BoundingBox5D
3004 __init__(IMP::algebra::BoundingBoxD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & points) -> BoundingBox5D
3005 __init__(IMP::algebra::BoundingBoxD<(5)> self) -> BoundingBox5D
3007 this = _IMP_algebra.new_BoundingBox5D(*args)
3008 try: self.this.append(this)
3009 except: self.this = this
3010 def __getitem__(self, *args):
3011 """__getitem__(BoundingBox5D self, unsigned int index) -> Vector5D"""
3012 return _IMP_algebra.BoundingBox5D___getitem__(self, *args)
3014 def __iadd__(self, *args):
3015 _IMP_algebra.BoundingBox5D___iadd__(self, *args)
3020 """__len__(BoundingBox5D self) -> unsigned int"""
3021 return _IMP_algebra.BoundingBox5D___len__(self)
3023 def __add__(self, *args):
3025 __add__(BoundingBox5D self, BoundingBox5D o) -> BoundingBox5D
3026 __add__(BoundingBox5D self, Vector5D o) -> BoundingBox5D
3027 __add__(BoundingBox5D self, double o) -> BoundingBox5D
3029 return _IMP_algebra.BoundingBox5D___add__(self, *args)
3031 __swig_destroy__ = _IMP_algebra.delete_BoundingBox5D
3032 __del__ =
lambda self :
None;
3033 BoundingBox5D_swigregister = _IMP_algebra.BoundingBox5D_swigregister
3034 BoundingBox5D_swigregister(BoundingBox5D)
3037 """Proxy of C++ IMP::algebra::BoundingBoxD<(6)> class"""
3038 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3039 def get_dimension(self):
3040 """get_dimension(BoundingBox6D self) -> unsigned int"""
3041 return _IMP_algebra.BoundingBox6D_get_dimension(self)
3043 def get_corner(self, *args):
3044 """get_corner(BoundingBox6D self, unsigned int i) -> Vector6D"""
3045 return _IMP_algebra.BoundingBox6D_get_corner(self, *args)
3047 def get_contains(self, *args):
3049 get_contains(BoundingBox6D self, Vector6D o) -> bool
3050 get_contains(BoundingBox6D self, BoundingBox6D bb) -> bool
3052 return _IMP_algebra.BoundingBox6D_get_contains(self, *args)
3054 def show(self, *args):
3056 show(BoundingBox6D self, _ostream out=std::cout)
3057 show(BoundingBox6D self)
3059 return _IMP_algebra.BoundingBox6D_show(self, *args)
3062 """__str__(BoundingBox6D self) -> std::string"""
3063 return _IMP_algebra.BoundingBox6D___str__(self)
3066 """__repr__(BoundingBox6D self) -> std::string"""
3067 return _IMP_algebra.BoundingBox6D___repr__(self)
3069 def __cmp__(self, *args):
3070 """__cmp__(BoundingBox6D self, BoundingBox6D arg2) -> int"""
3071 return _IMP_algebra.BoundingBox6D___cmp__(self, *args)
3073 def __eq__(self, *args):
3074 """__eq__(BoundingBox6D self, BoundingBox6D arg2) -> bool"""
3075 return _IMP_algebra.BoundingBox6D___eq__(self, *args)
3077 def __init__(self, *args):
3079 __init__(IMP::algebra::BoundingBoxD<(6)> self, unsigned int d) -> BoundingBox6D
3080 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D lb, Vector6D ub) -> BoundingBox6D
3081 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D v) -> BoundingBox6D
3082 __init__(IMP::algebra::BoundingBoxD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & points) -> BoundingBox6D
3083 __init__(IMP::algebra::BoundingBoxD<(6)> self) -> BoundingBox6D
3085 this = _IMP_algebra.new_BoundingBox6D(*args)
3086 try: self.this.append(this)
3087 except: self.this = this
3088 def __getitem__(self, *args):
3089 """__getitem__(BoundingBox6D self, unsigned int index) -> Vector6D"""
3090 return _IMP_algebra.BoundingBox6D___getitem__(self, *args)
3092 def __iadd__(self, *args):
3093 _IMP_algebra.BoundingBox6D___iadd__(self, *args)
3098 """__len__(BoundingBox6D self) -> unsigned int"""
3099 return _IMP_algebra.BoundingBox6D___len__(self)
3101 def __add__(self, *args):
3103 __add__(BoundingBox6D self, BoundingBox6D o) -> BoundingBox6D
3104 __add__(BoundingBox6D self, Vector6D o) -> BoundingBox6D
3105 __add__(BoundingBox6D self, double o) -> BoundingBox6D
3107 return _IMP_algebra.BoundingBox6D___add__(self, *args)
3109 __swig_destroy__ = _IMP_algebra.delete_BoundingBox6D
3110 __del__ =
lambda self :
None;
3111 BoundingBox6D_swigregister = _IMP_algebra.BoundingBox6D_swigregister
3112 BoundingBox6D_swigregister(BoundingBox6D)
3115 """Proxy of C++ IMP::algebra::BoundingBoxD<(-1)> class"""
3116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3117 def get_dimension(self):
3118 """get_dimension(BoundingBoxKD self) -> unsigned int"""
3119 return _IMP_algebra.BoundingBoxKD_get_dimension(self)
3121 def get_corner(self, *args):
3122 """get_corner(BoundingBoxKD self, unsigned int i) -> VectorKD"""
3123 return _IMP_algebra.BoundingBoxKD_get_corner(self, *args)
3125 def get_contains(self, *args):
3127 get_contains(BoundingBoxKD self, VectorKD o) -> bool
3128 get_contains(BoundingBoxKD self, BoundingBoxKD bb) -> bool
3130 return _IMP_algebra.BoundingBoxKD_get_contains(self, *args)
3132 def show(self, *args):
3134 show(BoundingBoxKD self, _ostream out=std::cout)
3135 show(BoundingBoxKD self)
3137 return _IMP_algebra.BoundingBoxKD_show(self, *args)
3140 """__str__(BoundingBoxKD self) -> std::string"""
3141 return _IMP_algebra.BoundingBoxKD___str__(self)
3144 """__repr__(BoundingBoxKD self) -> std::string"""
3145 return _IMP_algebra.BoundingBoxKD___repr__(self)
3147 def __cmp__(self, *args):
3148 """__cmp__(BoundingBoxKD self, BoundingBoxKD arg2) -> int"""
3149 return _IMP_algebra.BoundingBoxKD___cmp__(self, *args)
3151 def __eq__(self, *args):
3152 """__eq__(BoundingBoxKD self, BoundingBoxKD arg2) -> bool"""
3153 return _IMP_algebra.BoundingBoxKD___eq__(self, *args)
3155 def __init__(self, *args):
3157 __init__(IMP::algebra::BoundingBoxD<(-1)> self, unsigned int d) -> BoundingBoxKD
3158 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD lb, VectorKD ub) -> BoundingBoxKD
3159 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD v) -> BoundingBoxKD
3160 __init__(IMP::algebra::BoundingBoxD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & points) -> BoundingBoxKD
3161 __init__(IMP::algebra::BoundingBoxD<(-1)> self) -> BoundingBoxKD
3163 this = _IMP_algebra.new_BoundingBoxKD(*args)
3164 try: self.this.append(this)
3165 except: self.this = this
3166 def __getitem__(self, *args):
3167 """__getitem__(BoundingBoxKD self, unsigned int index) -> VectorKD"""
3168 return _IMP_algebra.BoundingBoxKD___getitem__(self, *args)
3170 def __iadd__(self, *args):
3171 _IMP_algebra.BoundingBoxKD___iadd__(self, *args)
3176 """__len__(BoundingBoxKD self) -> unsigned int"""
3177 return _IMP_algebra.BoundingBoxKD___len__(self)
3179 def __add__(self, *args):
3181 __add__(BoundingBoxKD self, BoundingBoxKD o) -> BoundingBoxKD
3182 __add__(BoundingBoxKD self, VectorKD o) -> BoundingBoxKD
3183 __add__(BoundingBoxKD self, double o) -> BoundingBoxKD
3185 return _IMP_algebra.BoundingBoxKD___add__(self, *args)
3187 __swig_destroy__ = _IMP_algebra.delete_BoundingBoxKD
3188 __del__ =
lambda self :
None;
3189 BoundingBoxKD_swigregister = _IMP_algebra.BoundingBoxKD_swigregister
3190 BoundingBoxKD_swigregister(BoundingBoxKD)
3192 class Sphere1D(_GeometricPrimitive1D):
3193 """Proxy of C++ IMP::algebra::SphereD<(1)> class"""
3194 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3195 def __init__(self, *args):
3197 __init__(IMP::algebra::SphereD<(1)> self) -> Sphere1D
3198 __init__(IMP::algebra::SphereD<(1)> self, Vector1D center, double radius) -> Sphere1D
3200 this = _IMP_algebra.new_Sphere1D(*args)
3201 try: self.this.append(this)
3202 except: self.this = this
3203 def get_radius(self):
3204 """get_radius(Sphere1D self) -> double"""
3205 return _IMP_algebra.Sphere1D_get_radius(self)
3207 def get_center(self):
3208 """get_center(Sphere1D self) -> Vector1D"""
3209 return _IMP_algebra.Sphere1D_get_center(self)
3211 def get_contains(self, *args):
3213 get_contains(Sphere1D self, Sphere1D o) -> bool
3214 get_contains(Sphere1D self, Vector1D p) -> bool
3216 return _IMP_algebra.Sphere1D_get_contains(self, *args)
3218 def show(self, *args):
3220 show(Sphere1D self, _ostream out=std::cout)
3223 return _IMP_algebra.Sphere1D_show(self, *args)
3225 def get_dimension(self):
3226 """get_dimension(Sphere1D self) -> unsigned int"""
3227 return _IMP_algebra.Sphere1D_get_dimension(self)
3230 """__str__(Sphere1D self) -> std::string"""
3231 return _IMP_algebra.Sphere1D___str__(self)
3234 """__repr__(Sphere1D self) -> std::string"""
3235 return _IMP_algebra.Sphere1D___repr__(self)
3237 def __cmp__(self, *args):
3238 """__cmp__(Sphere1D self, Sphere1D arg2) -> int"""
3239 return _IMP_algebra.Sphere1D___cmp__(self, *args)
3241 def __eq__(self, *args):
3242 """__eq__(Sphere1D self, Sphere1D arg2) -> bool"""
3243 return _IMP_algebra.Sphere1D___eq__(self, *args)
3245 __swig_destroy__ = _IMP_algebra.delete_Sphere1D
3246 __del__ =
lambda self :
None;
3247 Sphere1D_swigregister = _IMP_algebra.Sphere1D_swigregister
3248 Sphere1D_swigregister(Sphere1D)
3250 class Sphere2D(_GeometricPrimitive2D):
3251 """Proxy of C++ IMP::algebra::SphereD<(2)> class"""
3252 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3253 def __init__(self, *args):
3255 __init__(IMP::algebra::SphereD<(2)> self) -> Sphere2D
3256 __init__(IMP::algebra::SphereD<(2)> self, Vector2D center, double radius) -> Sphere2D
3258 this = _IMP_algebra.new_Sphere2D(*args)
3259 try: self.this.append(this)
3260 except: self.this = this
3261 def get_radius(self):
3262 """get_radius(Sphere2D self) -> double"""
3263 return _IMP_algebra.Sphere2D_get_radius(self)
3265 def get_center(self):
3266 """get_center(Sphere2D self) -> Vector2D"""
3267 return _IMP_algebra.Sphere2D_get_center(self)
3269 def get_contains(self, *args):
3271 get_contains(Sphere2D self, Sphere2D o) -> bool
3272 get_contains(Sphere2D self, Vector2D p) -> bool
3274 return _IMP_algebra.Sphere2D_get_contains(self, *args)
3276 def show(self, *args):
3278 show(Sphere2D self, _ostream out=std::cout)
3281 return _IMP_algebra.Sphere2D_show(self, *args)
3283 def get_dimension(self):
3284 """get_dimension(Sphere2D self) -> unsigned int"""
3285 return _IMP_algebra.Sphere2D_get_dimension(self)
3288 """__str__(Sphere2D self) -> std::string"""
3289 return _IMP_algebra.Sphere2D___str__(self)
3292 """__repr__(Sphere2D self) -> std::string"""
3293 return _IMP_algebra.Sphere2D___repr__(self)
3295 def __cmp__(self, *args):
3296 """__cmp__(Sphere2D self, Sphere2D arg2) -> int"""
3297 return _IMP_algebra.Sphere2D___cmp__(self, *args)
3299 def __eq__(self, *args):
3300 """__eq__(Sphere2D self, Sphere2D arg2) -> bool"""
3301 return _IMP_algebra.Sphere2D___eq__(self, *args)
3303 __swig_destroy__ = _IMP_algebra.delete_Sphere2D
3304 __del__ =
lambda self :
None;
3305 Sphere2D_swigregister = _IMP_algebra.Sphere2D_swigregister
3306 Sphere2D_swigregister(Sphere2D)
3308 class Sphere3D(_GeometricPrimitive3D):
3309 """Proxy of C++ IMP::algebra::SphereD<(3)> class"""
3310 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3311 def __init__(self, *args):
3313 __init__(IMP::algebra::SphereD<(3)> self) -> Sphere3D
3314 __init__(IMP::algebra::SphereD<(3)> self, Vector3D center, double radius) -> Sphere3D
3316 this = _IMP_algebra.new_Sphere3D(*args)
3317 try: self.this.append(this)
3318 except: self.this = this
3319 def get_radius(self):
3320 """get_radius(Sphere3D self) -> double"""
3321 return _IMP_algebra.Sphere3D_get_radius(self)
3323 def get_center(self):
3324 """get_center(Sphere3D self) -> Vector3D"""
3325 return _IMP_algebra.Sphere3D_get_center(self)
3327 def get_contains(self, *args):
3329 get_contains(Sphere3D self, Sphere3D o) -> bool
3330 get_contains(Sphere3D self, Vector3D p) -> bool
3332 return _IMP_algebra.Sphere3D_get_contains(self, *args)
3334 def show(self, *args):
3336 show(Sphere3D self, _ostream out=std::cout)
3339 return _IMP_algebra.Sphere3D_show(self, *args)
3341 def get_dimension(self):
3342 """get_dimension(Sphere3D self) -> unsigned int"""
3343 return _IMP_algebra.Sphere3D_get_dimension(self)
3346 """__str__(Sphere3D self) -> std::string"""
3347 return _IMP_algebra.Sphere3D___str__(self)
3350 """__repr__(Sphere3D self) -> std::string"""
3351 return _IMP_algebra.Sphere3D___repr__(self)
3353 def __cmp__(self, *args):
3354 """__cmp__(Sphere3D self, Sphere3D arg2) -> int"""
3355 return _IMP_algebra.Sphere3D___cmp__(self, *args)
3357 def __eq__(self, *args):
3358 """__eq__(Sphere3D self, Sphere3D arg2) -> bool"""
3359 return _IMP_algebra.Sphere3D___eq__(self, *args)
3361 __swig_destroy__ = _IMP_algebra.delete_Sphere3D
3362 __del__ =
lambda self :
None;
3363 Sphere3D_swigregister = _IMP_algebra.Sphere3D_swigregister
3364 Sphere3D_swigregister(Sphere3D)
3366 class Sphere4D(_GeometricPrimitive4D):
3367 """Proxy of C++ IMP::algebra::SphereD<(4)> class"""
3368 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3369 def __init__(self, *args):
3371 __init__(IMP::algebra::SphereD<(4)> self) -> Sphere4D
3372 __init__(IMP::algebra::SphereD<(4)> self, Vector4D center, double radius) -> Sphere4D
3374 this = _IMP_algebra.new_Sphere4D(*args)
3375 try: self.this.append(this)
3376 except: self.this = this
3377 def get_radius(self):
3378 """get_radius(Sphere4D self) -> double"""
3379 return _IMP_algebra.Sphere4D_get_radius(self)
3381 def get_center(self):
3382 """get_center(Sphere4D self) -> Vector4D"""
3383 return _IMP_algebra.Sphere4D_get_center(self)
3385 def get_contains(self, *args):
3387 get_contains(Sphere4D self, Sphere4D o) -> bool
3388 get_contains(Sphere4D self, Vector4D p) -> bool
3390 return _IMP_algebra.Sphere4D_get_contains(self, *args)
3392 def show(self, *args):
3394 show(Sphere4D self, _ostream out=std::cout)
3397 return _IMP_algebra.Sphere4D_show(self, *args)
3399 def get_dimension(self):
3400 """get_dimension(Sphere4D self) -> unsigned int"""
3401 return _IMP_algebra.Sphere4D_get_dimension(self)
3404 """__str__(Sphere4D self) -> std::string"""
3405 return _IMP_algebra.Sphere4D___str__(self)
3408 """__repr__(Sphere4D self) -> std::string"""
3409 return _IMP_algebra.Sphere4D___repr__(self)
3411 def __cmp__(self, *args):
3412 """__cmp__(Sphere4D self, Sphere4D arg2) -> int"""
3413 return _IMP_algebra.Sphere4D___cmp__(self, *args)
3415 def __eq__(self, *args):
3416 """__eq__(Sphere4D self, Sphere4D arg2) -> bool"""
3417 return _IMP_algebra.Sphere4D___eq__(self, *args)
3419 __swig_destroy__ = _IMP_algebra.delete_Sphere4D
3420 __del__ =
lambda self :
None;
3421 Sphere4D_swigregister = _IMP_algebra.Sphere4D_swigregister
3422 Sphere4D_swigregister(Sphere4D)
3424 class Sphere5D(_GeometricPrimitive5D):
3425 """Proxy of C++ IMP::algebra::SphereD<(5)> class"""
3426 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3427 def __init__(self, *args):
3429 __init__(IMP::algebra::SphereD<(5)> self) -> Sphere5D
3430 __init__(IMP::algebra::SphereD<(5)> self, Vector5D center, double radius) -> Sphere5D
3432 this = _IMP_algebra.new_Sphere5D(*args)
3433 try: self.this.append(this)
3434 except: self.this = this
3435 def get_radius(self):
3436 """get_radius(Sphere5D self) -> double"""
3437 return _IMP_algebra.Sphere5D_get_radius(self)
3439 def get_center(self):
3440 """get_center(Sphere5D self) -> Vector5D"""
3441 return _IMP_algebra.Sphere5D_get_center(self)
3443 def get_contains(self, *args):
3445 get_contains(Sphere5D self, Sphere5D o) -> bool
3446 get_contains(Sphere5D self, Vector5D p) -> bool
3448 return _IMP_algebra.Sphere5D_get_contains(self, *args)
3450 def show(self, *args):
3452 show(Sphere5D self, _ostream out=std::cout)
3455 return _IMP_algebra.Sphere5D_show(self, *args)
3457 def get_dimension(self):
3458 """get_dimension(Sphere5D self) -> unsigned int"""
3459 return _IMP_algebra.Sphere5D_get_dimension(self)
3462 """__str__(Sphere5D self) -> std::string"""
3463 return _IMP_algebra.Sphere5D___str__(self)
3466 """__repr__(Sphere5D self) -> std::string"""
3467 return _IMP_algebra.Sphere5D___repr__(self)
3469 def __cmp__(self, *args):
3470 """__cmp__(Sphere5D self, Sphere5D arg2) -> int"""
3471 return _IMP_algebra.Sphere5D___cmp__(self, *args)
3473 def __eq__(self, *args):
3474 """__eq__(Sphere5D self, Sphere5D arg2) -> bool"""
3475 return _IMP_algebra.Sphere5D___eq__(self, *args)
3477 __swig_destroy__ = _IMP_algebra.delete_Sphere5D
3478 __del__ =
lambda self :
None;
3479 Sphere5D_swigregister = _IMP_algebra.Sphere5D_swigregister
3480 Sphere5D_swigregister(Sphere5D)
3482 class Sphere6D(_GeometricPrimitive6D):
3483 """Proxy of C++ IMP::algebra::SphereD<(6)> class"""
3484 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3485 def __init__(self, *args):
3487 __init__(IMP::algebra::SphereD<(6)> self) -> Sphere6D
3488 __init__(IMP::algebra::SphereD<(6)> self, Vector6D center, double radius) -> Sphere6D
3490 this = _IMP_algebra.new_Sphere6D(*args)
3491 try: self.this.append(this)
3492 except: self.this = this
3493 def get_radius(self):
3494 """get_radius(Sphere6D self) -> double"""
3495 return _IMP_algebra.Sphere6D_get_radius(self)
3497 def get_center(self):
3498 """get_center(Sphere6D self) -> Vector6D"""
3499 return _IMP_algebra.Sphere6D_get_center(self)
3501 def get_contains(self, *args):
3503 get_contains(Sphere6D self, Sphere6D o) -> bool
3504 get_contains(Sphere6D self, Vector6D p) -> bool
3506 return _IMP_algebra.Sphere6D_get_contains(self, *args)
3508 def show(self, *args):
3510 show(Sphere6D self, _ostream out=std::cout)
3513 return _IMP_algebra.Sphere6D_show(self, *args)
3515 def get_dimension(self):
3516 """get_dimension(Sphere6D self) -> unsigned int"""
3517 return _IMP_algebra.Sphere6D_get_dimension(self)
3520 """__str__(Sphere6D self) -> std::string"""
3521 return _IMP_algebra.Sphere6D___str__(self)
3524 """__repr__(Sphere6D self) -> std::string"""
3525 return _IMP_algebra.Sphere6D___repr__(self)
3527 def __cmp__(self, *args):
3528 """__cmp__(Sphere6D self, Sphere6D arg2) -> int"""
3529 return _IMP_algebra.Sphere6D___cmp__(self, *args)
3531 def __eq__(self, *args):
3532 """__eq__(Sphere6D self, Sphere6D arg2) -> bool"""
3533 return _IMP_algebra.Sphere6D___eq__(self, *args)
3535 __swig_destroy__ = _IMP_algebra.delete_Sphere6D
3536 __del__ =
lambda self :
None;
3537 Sphere6D_swigregister = _IMP_algebra.Sphere6D_swigregister
3538 Sphere6D_swigregister(Sphere6D)
3540 class SphereKD(_GeometricPrimitiveKD):
3541 """Proxy of C++ IMP::algebra::SphereD<(-1)> class"""
3542 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3543 def __init__(self, *args):
3545 __init__(IMP::algebra::SphereD<(-1)> self) -> SphereKD
3546 __init__(IMP::algebra::SphereD<(-1)> self, VectorKD center, double radius) -> SphereKD
3548 this = _IMP_algebra.new_SphereKD(*args)
3549 try: self.this.append(this)
3550 except: self.this = this
3551 def get_radius(self):
3552 """get_radius(SphereKD self) -> double"""
3553 return _IMP_algebra.SphereKD_get_radius(self)
3555 def get_center(self):
3556 """get_center(SphereKD self) -> VectorKD"""
3557 return _IMP_algebra.SphereKD_get_center(self)
3559 def get_contains(self, *args):
3561 get_contains(SphereKD self, SphereKD o) -> bool
3562 get_contains(SphereKD self, VectorKD p) -> bool
3564 return _IMP_algebra.SphereKD_get_contains(self, *args)
3566 def show(self, *args):
3568 show(SphereKD self, _ostream out=std::cout)
3571 return _IMP_algebra.SphereKD_show(self, *args)
3573 def get_dimension(self):
3574 """get_dimension(SphereKD self) -> unsigned int"""
3575 return _IMP_algebra.SphereKD_get_dimension(self)
3578 """__str__(SphereKD self) -> std::string"""
3579 return _IMP_algebra.SphereKD___str__(self)
3582 """__repr__(SphereKD self) -> std::string"""
3583 return _IMP_algebra.SphereKD___repr__(self)
3585 def __cmp__(self, *args):
3586 """__cmp__(SphereKD self, SphereKD arg2) -> int"""
3587 return _IMP_algebra.SphereKD___cmp__(self, *args)
3589 def __eq__(self, *args):
3590 """__eq__(SphereKD self, SphereKD arg2) -> bool"""
3591 return _IMP_algebra.SphereKD___eq__(self, *args)
3593 __swig_destroy__ = _IMP_algebra.delete_SphereKD
3594 __del__ =
lambda self :
None;
3595 SphereKD_swigregister = _IMP_algebra.SphereKD_swigregister
3596 SphereKD_swigregister(SphereKD)
3598 class ReferenceFrame3D(object):
3599 """Proxy of C++ IMP::algebra::ReferenceFrame3D class"""
3600 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3601 def __init__(self, *args):
3603 __init__(IMP::algebra::ReferenceFrame3D self) -> ReferenceFrame3D
3604 __init__(IMP::algebra::ReferenceFrame3D self, Transformation3D tr) -> ReferenceFrame3D
3606 this = _IMP_algebra.new_ReferenceFrame3D(*args)
3607 try: self.this.append(this)
3608 except: self.this = this
3609 __swig_destroy__ = _IMP_algebra.delete_ReferenceFrame3D
3610 __del__ =
lambda self :
None;
3611 def get_transformation_to(self):
3612 """get_transformation_to(ReferenceFrame3D self) -> Transformation3D"""
3613 return _IMP_algebra.ReferenceFrame3D_get_transformation_to(self)
3615 def get_transformation_from(self):
3616 """get_transformation_from(ReferenceFrame3D self) -> Transformation3D"""
3617 return _IMP_algebra.ReferenceFrame3D_get_transformation_from(self)
3619 def get_global_coordinates(self, *args):
3620 """get_global_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
3621 return _IMP_algebra.ReferenceFrame3D_get_global_coordinates(self, *args)
3623 def get_local_coordinates(self, *args):
3624 """get_local_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
3625 return _IMP_algebra.ReferenceFrame3D_get_local_coordinates(self, *args)
3627 def get_global_reference_frame(self, *args):
3628 """get_global_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
3629 return _IMP_algebra.ReferenceFrame3D_get_global_reference_frame(self, *args)
3631 def get_local_reference_frame(self, *args):
3632 """get_local_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
3633 return _IMP_algebra.ReferenceFrame3D_get_local_reference_frame(self, *args)
3635 def show(self, *args):
3637 show(ReferenceFrame3D self, _ostream out=std::cout)
3638 show(ReferenceFrame3D self)
3640 return _IMP_algebra.ReferenceFrame3D_show(self, *args)
3643 """__str__(ReferenceFrame3D self) -> std::string"""
3644 return _IMP_algebra.ReferenceFrame3D___str__(self)
3647 """__repr__(ReferenceFrame3D self) -> std::string"""
3648 return _IMP_algebra.ReferenceFrame3D___repr__(self)
3650 ReferenceFrame3D_swigregister = _IMP_algebra.ReferenceFrame3D_swigregister
3651 ReferenceFrame3D_swigregister(ReferenceFrame3D)
3654 def get_transformed(*args):
3656 get_transformed(BoundingBox3D bb, Transformation3D tr) -> BoundingBox3D
3657 get_transformed(ReferenceFrame3D rf, Transformation3D tr) -> ReferenceFrame3D
3659 return _IMP_algebra.get_transformed(*args)
3661 def get_transformation_from_first_to_second(*args):
3662 """get_transformation_from_first_to_second(ReferenceFrame3D a, ReferenceFrame3D b) -> Transformation3D"""
3663 return _IMP_algebra.get_transformation_from_first_to_second(*args)
3664 class SphericalVector3D(_GeometricPrimitive3D):
3665 """Proxy of C++ IMP::algebra::SphericalVector3D class"""
3666 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3667 def __init__(self, *args):
3669 __init__(IMP::algebra::SphericalVector3D self) -> SphericalVector3D
3670 __init__(IMP::algebra::SphericalVector3D self, Vector3D v) -> SphericalVector3D
3671 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi, bool apply_check=True) -> SphericalVector3D
3672 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi) -> SphericalVector3D
3674 this = _IMP_algebra.new_SphericalVector3D(*args)
3675 try: self.this.append(this)
3676 except: self.this = this
3677 def get_cartesian_coordinates(self):
3678 """get_cartesian_coordinates(SphericalVector3D self) -> Vector3D"""
3679 return _IMP_algebra.SphericalVector3D_get_cartesian_coordinates(self)
3681 def show(self, *args):
3683 show(SphericalVector3D self, _ostream out=std::cout)
3684 show(SphericalVector3D self)
3686 return _IMP_algebra.SphericalVector3D_show(self, *args)
3689 """__str__(SphericalVector3D self) -> std::string"""
3690 return _IMP_algebra.SphericalVector3D___str__(self)
3693 """__repr__(SphericalVector3D self) -> std::string"""
3694 return _IMP_algebra.SphericalVector3D___repr__(self)
3696 def __getitem__(self, *args):
3697 """__getitem__(SphericalVector3D self, unsigned int index) -> double"""
3698 return _IMP_algebra.SphericalVector3D___getitem__(self, *args)
3700 def __setitem__(self, *args):
3701 """__setitem__(SphericalVector3D self, unsigned int index, double val)"""
3702 return _IMP_algebra.SphericalVector3D___setitem__(self, *args)
3704 __swig_destroy__ = _IMP_algebra.delete_SphericalVector3D
3705 __del__ =
lambda self :
None;
3706 SphericalVector3D_swigregister = _IMP_algebra.SphericalVector3D_swigregister
3707 SphericalVector3D_swigregister(SphericalVector3D)
3711 """get_alignments_from_first_to_second(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2) -> IMP::algebra::Transformation3Ds"""
3712 return _IMP_algebra.get_alignments_from_first_to_second(*args)
3713 class Segment3D(_GeometricPrimitive3D):
3714 """Proxy of C++ IMP::algebra::Segment3D class"""
3715 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3716 def __init__(self, *args):
3718 __init__(IMP::algebra::Segment3D self) -> Segment3D
3719 __init__(IMP::algebra::Segment3D self, Vector3D start, Vector3D end) -> Segment3D
3721 this = _IMP_algebra.new_Segment3D(*args)
3722 try: self.this.append(this)
3723 except: self.this = this
3724 def get_point(self, i):
3727 return _IMP_algebra.Segment3D_get_point(self, i)
3730 def get_middle_point(self):
3731 """get_middle_point(Segment3D self) -> Vector3D"""
3732 return _IMP_algebra.Segment3D_get_middle_point(self)
3734 def get_direction(self):
3735 """get_direction(Segment3D self) -> Vector3D"""
3736 return _IMP_algebra.Segment3D_get_direction(self)
3738 def get_length(self):
3739 """get_length(Segment3D self) -> double"""
3740 return _IMP_algebra.Segment3D_get_length(self)
3742 def show(self, *args):
3744 show(Segment3D self, _ostream out=std::cout)
3745 show(Segment3D self)
3747 return _IMP_algebra.Segment3D_show(self, *args)
3750 """__str__(Segment3D self) -> std::string"""
3751 return _IMP_algebra.Segment3D___str__(self)
3754 """__repr__(Segment3D self) -> std::string"""
3755 return _IMP_algebra.Segment3D___repr__(self)
3757 __swig_destroy__ = _IMP_algebra.delete_Segment3D
3758 __del__ =
lambda self :
None;
3759 Segment3D_swigregister = _IMP_algebra.Segment3D_swigregister
3760 Segment3D_swigregister(Segment3D)
3763 def get_segment_3d_geometry(*args):
3764 """get_segment_3d_geometry(Segment3D g) -> Segment3D"""
3765 return _IMP_algebra.get_segment_3d_geometry(*args)
3768 """get_relative_projection_on_segment(Segment3D s, Vector3D p) -> double"""
3769 return _IMP_algebra.get_relative_projection_on_segment(*args)
3770 class Triangle3D(_GeometricPrimitive3D):
3771 """Proxy of C++ IMP::algebra::Triangle3D class"""
3772 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3773 def __init__(self, *args):
3775 __init__(IMP::algebra::Triangle3D self) -> Triangle3D
3776 __init__(IMP::algebra::Triangle3D self, Vector3D p1, Vector3D p2, Vector3D p3) -> Triangle3D
3778 this = _IMP_algebra.new_Triangle3D(*args)
3779 try: self.this.append(this)
3780 except: self.this = this
3781 def get_point(self, *args):
3782 """get_point(Triangle3D self, unsigned int i) -> Vector3D"""
3783 return _IMP_algebra.Triangle3D_get_point(self, *args)
3785 def show(self, *args):
3787 show(Triangle3D self, _ostream out=std::cout)
3788 show(Triangle3D self)
3790 return _IMP_algebra.Triangle3D_show(self, *args)
3792 def get_edge_lengths(self):
3793 """get_edge_lengths(Triangle3D self) -> IMP::Floats"""
3794 return _IMP_algebra.Triangle3D_get_edge_lengths(self)
3797 """__str__(Triangle3D self) -> std::string"""
3798 return _IMP_algebra.Triangle3D___str__(self)
3801 """__repr__(Triangle3D self) -> std::string"""
3802 return _IMP_algebra.Triangle3D___repr__(self)
3804 __swig_destroy__ = _IMP_algebra.delete_Triangle3D
3805 __del__ =
lambda self :
None;
3806 Triangle3D_swigregister = _IMP_algebra.Triangle3D_swigregister
3807 Triangle3D_swigregister(Triangle3D)
3811 """get_largest_triangle(IMP::algebra::Vector3Ds const & points) -> Triangle3D"""
3812 return _IMP_algebra.get_largest_triangle(*args)
3815 """get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri) -> Transformation3D"""
3816 return _IMP_algebra.get_transformation_from_first_triangle_to_second(*args)
3819 """get_are_colinear(Vector3D p1, Vector3D p2, Vector3D p3) -> bool"""
3820 return _IMP_algebra.get_are_colinear(*args)
3821 class LinearFit2D(_GeometricPrimitive2D):
3822 """Proxy of C++ IMP::algebra::LinearFit2D class"""
3823 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3824 def __init__(self, *args):
3826 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data, IMP::Floats const & error_bars=IMP::Floats()) -> LinearFit2D
3827 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data) -> LinearFit2D
3829 this = _IMP_algebra.new_LinearFit2D(*args)
3830 try: self.this.append(this)
3831 except: self.this = this
3832 def get_fit_error(self):
3833 """get_fit_error(LinearFit2D self) -> double"""
3834 return _IMP_algebra.LinearFit2D_get_fit_error(self)
3837 """get_a(LinearFit2D self) -> double"""
3838 return _IMP_algebra.LinearFit2D_get_a(self)
3841 """get_b(LinearFit2D self) -> double"""
3842 return _IMP_algebra.LinearFit2D_get_b(self)
3844 def show(self, *args):
3846 show(LinearFit2D self, _ostream out=std::cout)
3847 show(LinearFit2D self)
3849 return _IMP_algebra.LinearFit2D_show(self, *args)
3852 """__str__(LinearFit2D self) -> std::string"""
3853 return _IMP_algebra.LinearFit2D___str__(self)
3856 """__repr__(LinearFit2D self) -> std::string"""
3857 return _IMP_algebra.LinearFit2D___repr__(self)
3859 __swig_destroy__ = _IMP_algebra.delete_LinearFit2D
3860 __del__ =
lambda self :
None;
3861 LinearFit2D_swigregister = _IMP_algebra.LinearFit2D_swigregister
3862 LinearFit2D_swigregister(LinearFit2D)
3864 class ParabolicFit2D(_GeometricPrimitive2D):
3865 """Proxy of C++ IMP::algebra::ParabolicFit2D class"""
3866 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3867 def __init__(self, *args):
3868 """__init__(IMP::algebra::ParabolicFit2D self, IMP::algebra::Vector2Ds const & data) -> ParabolicFit2D"""
3869 this = _IMP_algebra.new_ParabolicFit2D(*args)
3870 try: self.this.append(this)
3871 except: self.this = this
3872 def get_fit_error(self):
3873 """get_fit_error(ParabolicFit2D self) -> double"""
3874 return _IMP_algebra.ParabolicFit2D_get_fit_error(self)
3877 """get_a(ParabolicFit2D self) -> double"""
3878 return _IMP_algebra.ParabolicFit2D_get_a(self)
3881 """get_b(ParabolicFit2D self) -> double"""
3882 return _IMP_algebra.ParabolicFit2D_get_b(self)
3885 """get_c(ParabolicFit2D self) -> double"""
3886 return _IMP_algebra.ParabolicFit2D_get_c(self)
3888 def show(self, *args):
3890 show(ParabolicFit2D self, _ostream out=std::cout)
3891 show(ParabolicFit2D self)
3893 return _IMP_algebra.ParabolicFit2D_show(self, *args)
3896 """__str__(ParabolicFit2D self) -> std::string"""
3897 return _IMP_algebra.ParabolicFit2D___str__(self)
3900 """__repr__(ParabolicFit2D self) -> std::string"""
3901 return _IMP_algebra.ParabolicFit2D___repr__(self)
3903 __swig_destroy__ = _IMP_algebra.delete_ParabolicFit2D
3904 __del__ =
lambda self :
None;
3905 ParabolicFit2D_swigregister = _IMP_algebra.ParabolicFit2D_swigregister
3906 ParabolicFit2D_swigregister(ParabolicFit2D)
3908 class Plane3D(_GeometricPrimitive3D):
3909 """Proxy of C++ IMP::algebra::Plane3D class"""
3910 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3911 def __init__(self, *args):
3913 __init__(IMP::algebra::Plane3D self) -> Plane3D
3914 __init__(IMP::algebra::Plane3D self, Vector3D point_on_plane, Vector3D normal_to_plane) -> Plane3D
3915 __init__(IMP::algebra::Plane3D self, double distance_to_plane, Vector3D normal_to_plane) -> Plane3D
3917 this = _IMP_algebra.new_Plane3D(*args)
3918 try: self.this.append(this)
3919 except: self.this = this
3920 def get_point_on_plane(self):
3921 """get_point_on_plane(Plane3D self) -> Vector3D"""
3922 return _IMP_algebra.Plane3D_get_point_on_plane(self)
3924 def get_normal(self):
3925 """get_normal(Plane3D self) -> Vector3D"""
3926 return _IMP_algebra.Plane3D_get_normal(self)
3928 def get_projected(self, *args):
3929 """get_projected(Plane3D self, Vector3D p) -> Vector3D"""
3930 return _IMP_algebra.Plane3D_get_projected(self, *args)
3933 """get_projection(Plane3D self, Vector3D p) -> Vector3D"""
3934 return _IMP_algebra.Plane3D_get_projection(self, *args)
3936 def get_is_above(self, *args):
3937 """get_is_above(Plane3D self, Vector3D p) -> bool"""
3938 return _IMP_algebra.Plane3D_get_is_above(self, *args)
3940 def get_is_below(self, *args):
3941 """get_is_below(Plane3D self, Vector3D p) -> bool"""
3942 return _IMP_algebra.Plane3D_get_is_below(self, *args)
3944 def get_height(self, *args):
3945 """get_height(Plane3D self, Vector3D p) -> double"""
3946 return _IMP_algebra.Plane3D_get_height(self, *args)
3948 def show(self, *args):
3950 show(Plane3D self, _ostream out=std::cout)
3953 return _IMP_algebra.Plane3D_show(self, *args)
3955 def get_opposite(self):
3956 """get_opposite(Plane3D self) -> Plane3D"""
3957 return _IMP_algebra.Plane3D_get_opposite(self)
3959 def get_distance_from_origin(self):
3960 """get_distance_from_origin(Plane3D self) -> double"""
3961 return _IMP_algebra.Plane3D_get_distance_from_origin(self)
3964 """__str__(Plane3D self) -> std::string"""
3965 return _IMP_algebra.Plane3D___str__(self)
3968 """__repr__(Plane3D self) -> std::string"""
3969 return _IMP_algebra.Plane3D___repr__(self)
3971 __swig_destroy__ = _IMP_algebra.delete_Plane3D
3972 __del__ =
lambda self :
None;
3973 Plane3D_swigregister = _IMP_algebra.Plane3D_swigregister
3974 Plane3D_swigregister(Plane3D)
3978 """get_reflected(Plane3D pln, Vector3D p) -> Vector3D"""
3979 return _IMP_algebra.get_reflected(*args)
3981 def get_plane_3d_geometry(*args):
3982 """get_plane_3d_geometry(Plane3D g) -> Plane3D"""
3983 return _IMP_algebra.get_plane_3d_geometry(*args)
3984 class Reflection3D(_GeometricPrimitive3D):
3985 """Proxy of C++ IMP::algebra::Reflection3D class"""
3986 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3987 def __init__(self, *args):
3989 __init__(IMP::algebra::Reflection3D self) -> Reflection3D
3990 __init__(IMP::algebra::Reflection3D self, Plane3D pl) -> Reflection3D
3992 this = _IMP_algebra.new_Reflection3D(*args)
3993 try: self.this.append(this)
3994 except: self.this = this
3996 """get_reflected(Reflection3D self, Vector3D v) -> Vector3D"""
3997 return _IMP_algebra.Reflection3D_get_reflected(self, *args)
3999 def show(self, *args):
4001 show(Reflection3D self, _ostream out=std::cout)
4002 show(Reflection3D self)
4004 return _IMP_algebra.Reflection3D_show(self, *args)
4007 """__str__(Reflection3D self) -> std::string"""
4008 return _IMP_algebra.Reflection3D___str__(self)
4011 """__repr__(Reflection3D self) -> std::string"""
4012 return _IMP_algebra.Reflection3D___repr__(self)
4014 __swig_destroy__ = _IMP_algebra.delete_Reflection3D
4015 __del__ =
lambda self :
None;
4016 Reflection3D_swigregister = _IMP_algebra.Reflection3D_swigregister
4017 Reflection3D_swigregister(Reflection3D)
4019 class Cylinder3D(_GeometricPrimitive3D):
4020 """Proxy of C++ IMP::algebra::Cylinder3D class"""
4021 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4022 def __init__(self, *args):
4024 __init__(IMP::algebra::Cylinder3D self) -> Cylinder3D
4025 __init__(IMP::algebra::Cylinder3D self, Segment3D s, double radius) -> Cylinder3D
4027 this = _IMP_algebra.new_Cylinder3D(*args)
4028 try: self.this.append(this)
4029 except: self.this = this
4030 def get_radius(self):
4031 """get_radius(Cylinder3D self) -> double"""
4032 return _IMP_algebra.Cylinder3D_get_radius(self)
4035 """get_segment(Cylinder3D self) -> Segment3D"""
4036 return _IMP_algebra.Cylinder3D_get_segment(self)
4038 def get_surface_point_at(self, *args):
4039 """get_surface_point_at(Cylinder3D self, double relative_height, double angle) -> Vector3D"""
4040 return _IMP_algebra.Cylinder3D_get_surface_point_at(self, *args)
4042 def get_inner_point_at(self, *args):
4043 """get_inner_point_at(Cylinder3D self, double relative_height, double relative_radius, double angle) -> Vector3D"""
4044 return _IMP_algebra.Cylinder3D_get_inner_point_at(self, *args)
4046 def show(self, *args):
4048 show(Cylinder3D self, _ostream out=std::cout)
4049 show(Cylinder3D self)
4051 return _IMP_algebra.Cylinder3D_show(self, *args)
4054 """__str__(Cylinder3D self) -> std::string"""
4055 return _IMP_algebra.Cylinder3D___str__(self)
4058 """__repr__(Cylinder3D self) -> std::string"""
4059 return _IMP_algebra.Cylinder3D___repr__(self)
4061 __swig_destroy__ = _IMP_algebra.delete_Cylinder3D
4062 __del__ =
lambda self :
None;
4063 Cylinder3D_swigregister = _IMP_algebra.Cylinder3D_swigregister
4064 Cylinder3D_swigregister(Cylinder3D)
4067 def get_cylinder_3d_geometry(*args):
4068 """get_cylinder_3d_geometry(Cylinder3D g) -> Cylinder3D"""
4069 return _IMP_algebra.get_cylinder_3d_geometry(*args)
4070 class Ellipsoid3D(_GeometricPrimitive3D):
4071 """Proxy of C++ IMP::algebra::Ellipsoid3D class"""
4072 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4073 def __init__(self, *args):
4075 __init__(IMP::algebra::Ellipsoid3D self) -> Ellipsoid3D
4076 __init__(IMP::algebra::Ellipsoid3D self, ReferenceFrame3D rf, Vector3D radii) -> Ellipsoid3D
4077 __init__(IMP::algebra::Ellipsoid3D self, Vector3D center, double radius_x, double radius_y, double radius_z, Rotation3D rot) -> Ellipsoid3D
4079 this = _IMP_algebra.new_Ellipsoid3D(*args)
4080 try: self.this.append(this)
4081 except: self.this = this
4082 def get_radii(self):
4083 """get_radii(Ellipsoid3D self) -> Vector3D"""
4084 return _IMP_algebra.Ellipsoid3D_get_radii(self)
4086 def get_reference_frame(self):
4087 """get_reference_frame(Ellipsoid3D self) -> ReferenceFrame3D"""
4088 return _IMP_algebra.Ellipsoid3D_get_reference_frame(self)
4090 def get_radius(self, *args):
4091 """get_radius(Ellipsoid3D self, unsigned int i) -> double"""
4092 return _IMP_algebra.Ellipsoid3D_get_radius(self, *args)
4094 def get_center(self):
4095 """get_center(Ellipsoid3D self) -> Vector3D"""
4096 return _IMP_algebra.Ellipsoid3D_get_center(self)
4098 def get_rotation(self):
4099 """get_rotation(Ellipsoid3D self) -> Rotation3D"""
4100 return _IMP_algebra.Ellipsoid3D_get_rotation(self)
4102 def get_transformation(self):
4103 """get_transformation(Ellipsoid3D self) -> Transformation3D"""
4104 return _IMP_algebra.Ellipsoid3D_get_transformation(self)
4106 def show(self, *args):
4108 show(Ellipsoid3D self, _ostream out=std::cout)
4109 show(Ellipsoid3D self)
4111 return _IMP_algebra.Ellipsoid3D_show(self, *args)
4114 """__str__(Ellipsoid3D self) -> std::string"""
4115 return _IMP_algebra.Ellipsoid3D___str__(self)
4118 """__repr__(Ellipsoid3D self) -> std::string"""
4119 return _IMP_algebra.Ellipsoid3D___repr__(self)
4121 __swig_destroy__ = _IMP_algebra.delete_Ellipsoid3D
4122 __del__ =
lambda self :
None;
4123 Ellipsoid3D_swigregister = _IMP_algebra.Ellipsoid3D_swigregister
4124 Ellipsoid3D_swigregister(Ellipsoid3D)
4127 def get_ellipsoid_3d_geometry(*args):
4128 """get_ellipsoid_3d_geometry(Ellipsoid3D g) -> Ellipsoid3D"""
4129 return _IMP_algebra.get_ellipsoid_3d_geometry(*args)
4130 class ConnollySurfacePoint(object):
4131 """Proxy of C++ IMP::algebra::ConnollySurfacePoint class"""
4132 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4133 def __init__(self, *args):
4134 """__init__(IMP::algebra::ConnollySurfacePoint self, int a0, int a1, int a2, Vector3D sp, float a, Vector3D n) -> ConnollySurfacePoint"""
4135 this = _IMP_algebra.new_ConnollySurfacePoint(*args)
4136 try: self.this.append(this)
4137 except: self.this = this
4139 """get_atom(ConnollySurfacePoint self, unsigned int i) -> int"""
4140 return _IMP_algebra.ConnollySurfacePoint_get_atom(self, *args)
4142 def get_surface_point(self):
4143 """get_surface_point(ConnollySurfacePoint self) -> Vector3D"""
4144 return _IMP_algebra.ConnollySurfacePoint_get_surface_point(self)
4147 """get_area(ConnollySurfacePoint self) -> double"""
4148 return _IMP_algebra.ConnollySurfacePoint_get_area(self)
4150 def get_normal(self):
4151 """get_normal(ConnollySurfacePoint self) -> Vector3D"""
4152 return _IMP_algebra.ConnollySurfacePoint_get_normal(self)
4154 def show(self, *args):
4156 show(ConnollySurfacePoint self, _ostream out=std::cout)
4157 show(ConnollySurfacePoint self)
4159 return _IMP_algebra.ConnollySurfacePoint_show(self, *args)
4162 """__str__(ConnollySurfacePoint self) -> std::string"""
4163 return _IMP_algebra.ConnollySurfacePoint___str__(self)
4166 """__repr__(ConnollySurfacePoint self) -> std::string"""
4167 return _IMP_algebra.ConnollySurfacePoint___repr__(self)
4169 __swig_destroy__ = _IMP_algebra.delete_ConnollySurfacePoint
4170 __del__ =
lambda self :
None;
4171 ConnollySurfacePoint_swigregister = _IMP_algebra.ConnollySurfacePoint_swigregister
4172 ConnollySurfacePoint_swigregister(ConnollySurfacePoint)
4176 """get_connolly_surface(IMP::algebra::Sphere3Ds const & spheres, double density, double probe_radius) -> IMP::algebra::ConnollySurfacePoints"""
4177 return _IMP_algebra.get_connolly_surface(*args)
4178 class LogEmbedding3D(object):
4179 """Proxy of C++ IMP::algebra::LogEmbeddingD<(3)> class"""
4180 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4181 def __init__(self, *args):
4183 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D origin, Vector3D cell, Vector3D base) -> LogEmbedding3D
4184 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding3D
4185 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts) -> LogEmbedding3D
4186 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D arg2, Vector3D arg3) -> LogEmbedding3D
4187 __init__(IMP::algebra::LogEmbeddingD<(3)> self) -> LogEmbedding3D
4189 this = _IMP_algebra.new_LogEmbedding3D(*args)
4190 try: self.this.append(this)
4191 except: self.this = this
4192 def set_origin(self, *args):
4193 """set_origin(LogEmbedding3D self, Vector3D o)"""
4194 return _IMP_algebra.LogEmbedding3D_set_origin(self, *args)
4196 def get_origin(self):
4197 """get_origin(LogEmbedding3D self) -> Vector3D"""
4198 return _IMP_algebra.LogEmbedding3D_get_origin(self)
4200 def get_dimension(self):
4201 """get_dimension(LogEmbedding3D self) -> unsigned int"""
4202 return _IMP_algebra.LogEmbedding3D_get_dimension(self)
4204 def set_unit_cell(self, *args):
4206 set_unit_cell(LogEmbedding3D self, Vector3D o, Vector3D base)
4207 set_unit_cell(LogEmbedding3D self, Vector3D o)
4209 return _IMP_algebra.LogEmbedding3D_set_unit_cell(self, *args)
4211 def get_unit_cell(self):
4212 """get_unit_cell(LogEmbedding3D self) -> Vector3D"""
4213 return _IMP_algebra.LogEmbedding3D_get_unit_cell(self)
4215 def get_extended_index(self, *args):
4216 """get_extended_index(LogEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
4217 return _IMP_algebra.LogEmbedding3D_get_extended_index(self, *args)
4220 """get_index(LogEmbedding3D self, Vector3D o) -> GridIndex3D"""
4221 return _IMP_algebra.LogEmbedding3D_get_index(self, *args)
4223 def get_center(self, *args):
4225 get_center(LogEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
4226 get_center(LogEmbedding3D self, GridIndex3D ei) -> Vector3D
4228 return _IMP_algebra.LogEmbedding3D_get_center(self, *args)
4230 def get_bounding_box(self, *args):
4232 get_bounding_box(LogEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
4233 get_bounding_box(LogEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
4235 return _IMP_algebra.LogEmbedding3D_get_bounding_box(self, *args)
4237 def show(self, *args):
4239 show(LogEmbedding3D self, _ostream out=std::cout)
4240 show(LogEmbedding3D self)
4242 return _IMP_algebra.LogEmbedding3D_show(self, *args)
4245 """__str__(LogEmbedding3D self) -> std::string"""
4246 return _IMP_algebra.LogEmbedding3D___str__(self)
4249 """__repr__(LogEmbedding3D self) -> std::string"""
4250 return _IMP_algebra.LogEmbedding3D___repr__(self)
4252 def __cmp__(self, *args):
4253 """__cmp__(LogEmbedding3D self, LogEmbedding3D arg2) -> int"""
4254 return _IMP_algebra.LogEmbedding3D___cmp__(self, *args)
4256 def __eq__(self, *args):
4257 """__eq__(LogEmbedding3D self, LogEmbedding3D arg2) -> bool"""
4258 return _IMP_algebra.LogEmbedding3D___eq__(self, *args)
4260 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding3D
4261 __del__ =
lambda self :
None;
4262 LogEmbedding3D_swigregister = _IMP_algebra.LogEmbedding3D_swigregister
4263 LogEmbedding3D_swigregister(LogEmbedding3D)
4265 class LogEmbeddingKD(object):
4266 """Proxy of C++ IMP::algebra::LogEmbeddingD<(-1)> class"""
4267 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4268 def __init__(self, *args):
4270 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell, VectorKD base) -> LogEmbeddingKD
4271 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbeddingKD
4272 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts) -> LogEmbeddingKD
4273 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD arg2, VectorKD arg3) -> LogEmbeddingKD
4274 __init__(IMP::algebra::LogEmbeddingD<(-1)> self) -> LogEmbeddingKD
4276 this = _IMP_algebra.new_LogEmbeddingKD(*args)
4277 try: self.this.append(this)
4278 except: self.this = this
4279 def set_origin(self, *args):
4280 """set_origin(LogEmbeddingKD self, VectorKD o)"""
4281 return _IMP_algebra.LogEmbeddingKD_set_origin(self, *args)
4283 def get_origin(self):
4284 """get_origin(LogEmbeddingKD self) -> VectorKD"""
4285 return _IMP_algebra.LogEmbeddingKD_get_origin(self)
4287 def get_dimension(self):
4288 """get_dimension(LogEmbeddingKD self) -> unsigned int"""
4289 return _IMP_algebra.LogEmbeddingKD_get_dimension(self)
4291 def set_unit_cell(self, *args):
4293 set_unit_cell(LogEmbeddingKD self, VectorKD o, VectorKD base)
4294 set_unit_cell(LogEmbeddingKD self, VectorKD o)
4296 return _IMP_algebra.LogEmbeddingKD_set_unit_cell(self, *args)
4298 def get_unit_cell(self):
4299 """get_unit_cell(LogEmbeddingKD self) -> VectorKD"""
4300 return _IMP_algebra.LogEmbeddingKD_get_unit_cell(self)
4302 def get_extended_index(self, *args):
4303 """get_extended_index(LogEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
4304 return _IMP_algebra.LogEmbeddingKD_get_extended_index(self, *args)
4307 """get_index(LogEmbeddingKD self, VectorKD o) -> GridIndexKD"""
4308 return _IMP_algebra.LogEmbeddingKD_get_index(self, *args)
4310 def get_center(self, *args):
4312 get_center(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
4313 get_center(LogEmbeddingKD self, GridIndexKD ei) -> VectorKD
4315 return _IMP_algebra.LogEmbeddingKD_get_center(self, *args)
4317 def get_bounding_box(self, *args):
4319 get_bounding_box(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
4320 get_bounding_box(LogEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
4322 return _IMP_algebra.LogEmbeddingKD_get_bounding_box(self, *args)
4324 def show(self, *args):
4326 show(LogEmbeddingKD self, _ostream out=std::cout)
4327 show(LogEmbeddingKD self)
4329 return _IMP_algebra.LogEmbeddingKD_show(self, *args)
4332 """__str__(LogEmbeddingKD self) -> std::string"""
4333 return _IMP_algebra.LogEmbeddingKD___str__(self)
4336 """__repr__(LogEmbeddingKD self) -> std::string"""
4337 return _IMP_algebra.LogEmbeddingKD___repr__(self)
4339 def __cmp__(self, *args):
4340 """__cmp__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> int"""
4341 return _IMP_algebra.LogEmbeddingKD___cmp__(self, *args)
4343 def __eq__(self, *args):
4344 """__eq__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> bool"""
4345 return _IMP_algebra.LogEmbeddingKD___eq__(self, *args)
4347 __swig_destroy__ = _IMP_algebra.delete_LogEmbeddingKD
4348 __del__ =
lambda self :
None;
4349 LogEmbeddingKD_swigregister = _IMP_algebra.LogEmbeddingKD_swigregister
4350 LogEmbeddingKD_swigregister(LogEmbeddingKD)
4352 class DenseFloatLogGridKD(object):
4353 """Proxy of C++ IMP::algebra::DenseFloatLogGridKD class"""
4354 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4355 def __init__(self, *args):
4356 """__init__(IMP::algebra::DenseFloatLogGridKD self, IMP::Ints const & sz, LogEmbeddingKD le) -> DenseFloatLogGridKD"""
4357 this = _IMP_algebra.new_DenseFloatLogGridKD(*args)
4358 try: self.this.append(this)
4359 except: self.this = this
4360 def add_voxel(self, *args):
4361 """add_voxel(DenseFloatLogGridKD self, ExtendedGridIndexKD i, float const & q) -> GridIndexKD"""
4362 return _IMP_algebra.DenseFloatLogGridKD_add_voxel(self, *args)
4364 def __getitem__(self, *args):
4366 __getitem__(DenseFloatLogGridKD self, GridIndexKD i) -> float
4367 __getitem__(DenseFloatLogGridKD self, VectorKD i) -> float
4369 return _IMP_algebra.DenseFloatLogGridKD___getitem__(self, *args)
4371 def __setitem__(self, *args):
4373 __setitem__(DenseFloatLogGridKD self, GridIndexKD i, float const & q)
4374 __setitem__(DenseFloatLogGridKD self, VectorKD i, float const & q)
4376 return _IMP_algebra.DenseFloatLogGridKD___setitem__(self, *args)
4378 def get_bounding_box(self, *args):
4380 get_bounding_box(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
4381 get_bounding_box(DenseFloatLogGridKD self) -> BoundingBoxKD
4383 return _IMP_algebra.DenseFloatLogGridKD_get_bounding_box(self, *args)
4387 get_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >
4388 get_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >
4390 return _IMP_algebra.DenseFloatLogGridKD_get_indexes(self, *args)
4392 def get_all_indexes(self):
4393 """get_all_indexes(DenseFloatLogGridKD self) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
4394 return _IMP_algebra.DenseFloatLogGridKD_get_all_indexes(self)
4396 def get_extended_indexes(self, *args):
4398 get_extended_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
4399 get_extended_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
4401 return _IMP_algebra.DenseFloatLogGridKD_get_extended_indexes(self, *args)
4403 def get_center(self, *args):
4405 get_center(DenseFloatLogGridKD self, ExtendedGridIndexKD ei) -> VectorKD
4406 get_center(DenseFloatLogGridKD self, GridIndexKD ei) -> VectorKD
4408 return _IMP_algebra.DenseFloatLogGridKD_get_center(self, *args)
4410 def get_extended_index(self, *args):
4411 """get_extended_index(DenseFloatLogGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
4412 return _IMP_algebra.DenseFloatLogGridKD_get_extended_index(self, *args)
4415 """get_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
4416 return _IMP_algebra.DenseFloatLogGridKD_get_index(self, *args)
4418 def get_origin(self):
4419 """get_origin(DenseFloatLogGridKD self) -> VectorKD"""
4420 return _IMP_algebra.DenseFloatLogGridKD_get_origin(self)
4422 def get_dimension(self):
4423 """get_dimension(DenseFloatLogGridKD self) -> unsigned int"""
4424 return _IMP_algebra.DenseFloatLogGridKD_get_dimension(self)
4426 def get_unit_cell(self):
4427 """get_unit_cell(DenseFloatLogGridKD self) -> VectorKD"""
4428 return _IMP_algebra.DenseFloatLogGridKD_get_unit_cell(self)
4430 def get_has_index(self, *args):
4431 """get_has_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> bool"""
4432 return _IMP_algebra.DenseFloatLogGridKD_get_has_index(self, *args)
4435 """__str__(DenseFloatLogGridKD self) -> std::string"""
4436 return _IMP_algebra.DenseFloatLogGridKD___str__(self)
4439 """__repr__(DenseFloatLogGridKD self) -> std::string"""
4440 return _IMP_algebra.DenseFloatLogGridKD___repr__(self)
4442 def show(self, *args):
4444 show(DenseFloatLogGridKD self, _ostream out=std::cout)
4445 show(DenseFloatLogGridKD self)
4447 return _IMP_algebra.DenseFloatLogGridKD_show(self, *args)
4449 __swig_destroy__ = _IMP_algebra.delete_DenseFloatLogGridKD
4450 __del__ =
lambda self :
None;
4451 DenseFloatLogGridKD_swigregister = _IMP_algebra.DenseFloatLogGridKD_swigregister
4452 DenseFloatLogGridKD_swigregister(DenseFloatLogGridKD)
4454 class DenseIntLogGrid3D(object):
4455 """Proxy of C++ IMP::algebra::DenseIntLogGrid3D class"""
4456 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4457 def __init__(self, *args):
4458 """__init__(IMP::algebra::DenseIntLogGrid3D self, IMP::Ints const & sz, LogEmbedding3D le) -> DenseIntLogGrid3D"""
4459 this = _IMP_algebra.new_DenseIntLogGrid3D(*args)
4460 try: self.this.append(this)
4461 except: self.this = this
4462 def add_voxel(self, *args):
4463 """add_voxel(DenseIntLogGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
4464 return _IMP_algebra.DenseIntLogGrid3D_add_voxel(self, *args)
4466 def __getitem__(self, *args):
4468 __getitem__(DenseIntLogGrid3D self, GridIndex3D i) -> int
4469 __getitem__(DenseIntLogGrid3D self, Vector3D i) -> int
4471 return _IMP_algebra.DenseIntLogGrid3D___getitem__(self, *args)
4473 def __setitem__(self, *args):
4475 __setitem__(DenseIntLogGrid3D self, GridIndex3D i, int const & q)
4476 __setitem__(DenseIntLogGrid3D self, Vector3D i, int const & q)
4478 return _IMP_algebra.DenseIntLogGrid3D___setitem__(self, *args)
4480 def get_bounding_box(self, *args):
4482 get_bounding_box(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
4483 get_bounding_box(DenseIntLogGrid3D self) -> BoundingBox3D
4485 return _IMP_algebra.DenseIntLogGrid3D_get_bounding_box(self, *args)
4489 get_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >
4490 get_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >
4492 return _IMP_algebra.DenseIntLogGrid3D_get_indexes(self, *args)
4494 def get_all_indexes(self):
4495 """get_all_indexes(DenseIntLogGrid3D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
4496 return _IMP_algebra.DenseIntLogGrid3D_get_all_indexes(self)
4498 def get_extended_indexes(self, *args):
4500 get_extended_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
4501 get_extended_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
4503 return _IMP_algebra.DenseIntLogGrid3D_get_extended_indexes(self, *args)
4505 def get_center(self, *args):
4507 get_center(DenseIntLogGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
4508 get_center(DenseIntLogGrid3D self, GridIndex3D ei) -> Vector3D
4510 return _IMP_algebra.DenseIntLogGrid3D_get_center(self, *args)
4512 def get_extended_index(self, *args):
4513 """get_extended_index(DenseIntLogGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
4514 return _IMP_algebra.DenseIntLogGrid3D_get_extended_index(self, *args)
4517 """get_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
4518 return _IMP_algebra.DenseIntLogGrid3D_get_index(self, *args)
4520 def get_origin(self):
4521 """get_origin(DenseIntLogGrid3D self) -> Vector3D"""
4522 return _IMP_algebra.DenseIntLogGrid3D_get_origin(self)
4524 def get_dimension(self):
4525 """get_dimension(DenseIntLogGrid3D self) -> unsigned int"""
4526 return _IMP_algebra.DenseIntLogGrid3D_get_dimension(self)
4528 def get_unit_cell(self):
4529 """get_unit_cell(DenseIntLogGrid3D self) -> Vector3D"""
4530 return _IMP_algebra.DenseIntLogGrid3D_get_unit_cell(self)
4532 def get_has_index(self, *args):
4533 """get_has_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> bool"""
4534 return _IMP_algebra.DenseIntLogGrid3D_get_has_index(self, *args)
4537 """__str__(DenseIntLogGrid3D self) -> std::string"""
4538 return _IMP_algebra.DenseIntLogGrid3D___str__(self)
4541 """__repr__(DenseIntLogGrid3D self) -> std::string"""
4542 return _IMP_algebra.DenseIntLogGrid3D___repr__(self)
4544 def show(self, *args):
4546 show(DenseIntLogGrid3D self, _ostream out=std::cout)
4547 show(DenseIntLogGrid3D self)
4549 return _IMP_algebra.DenseIntLogGrid3D_show(self, *args)
4551 __swig_destroy__ = _IMP_algebra.delete_DenseIntLogGrid3D
4552 __del__ =
lambda self :
None;
4553 DenseIntLogGrid3D_swigregister = _IMP_algebra.DenseIntLogGrid3D_swigregister
4554 DenseIntLogGrid3D_swigregister(DenseIntLogGrid3D)
4557 """Proxy of C++ IMP::algebra::DenseGrid3D<(double)> class"""
4558 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4559 def __init__(self, *args):
4561 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb, double _def=double()) -> DenseDoubleGrid3D
4562 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb) -> DenseDoubleGrid3D
4563 __init__(IMP::algebra::DenseGrid3D<(double)> self) -> DenseDoubleGrid3D
4565 this = _IMP_algebra.new_DenseDoubleGrid3D(*args)
4566 try: self.this.append(this)
4567 except: self.this = this
4568 def add_voxel(self, *args):
4569 """add_voxel(DenseDoubleGrid3D self, ExtendedGridIndex3D i, double const & q) -> GridIndex3D"""
4570 return _IMP_algebra.DenseDoubleGrid3D_add_voxel(self, *args)
4572 def __getitem__(self, *args):
4574 __getitem__(DenseDoubleGrid3D self, GridIndex3D i) -> double
4575 __getitem__(DenseDoubleGrid3D self, Vector3D i) -> double
4577 return _IMP_algebra.DenseDoubleGrid3D___getitem__(self, *args)
4579 def __setitem__(self, *args):
4581 __setitem__(DenseDoubleGrid3D self, GridIndex3D i, double const & q)
4582 __setitem__(DenseDoubleGrid3D self, Vector3D i, double const & q)
4584 return _IMP_algebra.DenseDoubleGrid3D___setitem__(self, *args)
4586 def get_bounding_box(self, *args):
4588 get_bounding_box(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
4589 get_bounding_box(DenseDoubleGrid3D self) -> BoundingBox3D
4591 return _IMP_algebra.DenseDoubleGrid3D_get_bounding_box(self, *args)
4595 get_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >
4596 get_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >
4598 return _IMP_algebra.DenseDoubleGrid3D_get_indexes(self, *args)
4600 def get_all_indexes(self):
4601 """get_all_indexes(DenseDoubleGrid3D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
4602 return _IMP_algebra.DenseDoubleGrid3D_get_all_indexes(self)
4604 def get_extended_indexes(self, *args):
4606 get_extended_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
4607 get_extended_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
4609 return _IMP_algebra.DenseDoubleGrid3D_get_extended_indexes(self, *args)
4611 def get_center(self, *args):
4613 get_center(DenseDoubleGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
4614 get_center(DenseDoubleGrid3D self, GridIndex3D ei) -> Vector3D
4616 return _IMP_algebra.DenseDoubleGrid3D_get_center(self, *args)
4618 def get_extended_index(self, *args):
4619 """get_extended_index(DenseDoubleGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
4620 return _IMP_algebra.DenseDoubleGrid3D_get_extended_index(self, *args)
4623 """get_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
4624 return _IMP_algebra.DenseDoubleGrid3D_get_index(self, *args)
4626 def get_origin(self):
4627 """get_origin(DenseDoubleGrid3D self) -> Vector3D"""
4628 return _IMP_algebra.DenseDoubleGrid3D_get_origin(self)
4630 def get_dimension(self):
4631 """get_dimension(DenseDoubleGrid3D self) -> unsigned int"""
4632 return _IMP_algebra.DenseDoubleGrid3D_get_dimension(self)
4634 def get_unit_cell(self):
4635 """get_unit_cell(DenseDoubleGrid3D self) -> Vector3D"""
4636 return _IMP_algebra.DenseDoubleGrid3D_get_unit_cell(self)
4638 def get_has_index(self, *args):
4639 """get_has_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> bool"""
4640 return _IMP_algebra.DenseDoubleGrid3D_get_has_index(self, *args)
4643 """__str__(DenseDoubleGrid3D self) -> std::string"""
4644 return _IMP_algebra.DenseDoubleGrid3D___str__(self)
4647 """__repr__(DenseDoubleGrid3D self) -> std::string"""
4648 return _IMP_algebra.DenseDoubleGrid3D___repr__(self)
4650 def show(self, *args):
4652 show(DenseDoubleGrid3D self, _ostream out=std::cout)
4653 show(DenseDoubleGrid3D self)
4655 return _IMP_algebra.DenseDoubleGrid3D_show(self, *args)
4657 __swig_destroy__ = _IMP_algebra.delete_DenseDoubleGrid3D
4658 __del__ =
lambda self :
None;
4659 DenseDoubleGrid3D_swigregister = _IMP_algebra.DenseDoubleGrid3D_swigregister
4660 DenseDoubleGrid3D_swigregister(DenseDoubleGrid3D)
4663 """Proxy of C++ IMP::algebra::DenseGrid3D<(float)> class"""
4664 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4665 def __init__(self, *args):
4667 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb, float _def=float()) -> DenseFloatGrid3D
4668 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb) -> DenseFloatGrid3D
4669 __init__(IMP::algebra::DenseGrid3D<(float)> self) -> DenseFloatGrid3D
4671 this = _IMP_algebra.new_DenseFloatGrid3D(*args)
4672 try: self.this.append(this)
4673 except: self.this = this
4674 def add_voxel(self, *args):
4675 """add_voxel(DenseFloatGrid3D self, ExtendedGridIndex3D i, float const & q) -> GridIndex3D"""
4676 return _IMP_algebra.DenseFloatGrid3D_add_voxel(self, *args)
4678 def __getitem__(self, *args):
4680 __getitem__(DenseFloatGrid3D self, GridIndex3D i) -> float
4681 __getitem__(DenseFloatGrid3D self, Vector3D i) -> float
4683 return _IMP_algebra.DenseFloatGrid3D___getitem__(self, *args)
4685 def __setitem__(self, *args):
4687 __setitem__(DenseFloatGrid3D self, GridIndex3D i, float const & q)
4688 __setitem__(DenseFloatGrid3D self, Vector3D i, float const & q)
4690 return _IMP_algebra.DenseFloatGrid3D___setitem__(self, *args)
4692 def get_bounding_box(self, *args):
4694 get_bounding_box(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
4695 get_bounding_box(DenseFloatGrid3D self) -> BoundingBox3D
4697 return _IMP_algebra.DenseFloatGrid3D_get_bounding_box(self, *args)
4701 get_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >
4702 get_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >
4704 return _IMP_algebra.DenseFloatGrid3D_get_indexes(self, *args)
4706 def get_all_indexes(self):
4707 """get_all_indexes(DenseFloatGrid3D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
4708 return _IMP_algebra.DenseFloatGrid3D_get_all_indexes(self)
4710 def get_extended_indexes(self, *args):
4712 get_extended_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
4713 get_extended_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
4715 return _IMP_algebra.DenseFloatGrid3D_get_extended_indexes(self, *args)
4717 def get_center(self, *args):
4719 get_center(DenseFloatGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
4720 get_center(DenseFloatGrid3D self, GridIndex3D ei) -> Vector3D
4722 return _IMP_algebra.DenseFloatGrid3D_get_center(self, *args)
4724 def get_extended_index(self, *args):
4725 """get_extended_index(DenseFloatGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
4726 return _IMP_algebra.DenseFloatGrid3D_get_extended_index(self, *args)
4729 """get_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
4730 return _IMP_algebra.DenseFloatGrid3D_get_index(self, *args)
4732 def get_origin(self):
4733 """get_origin(DenseFloatGrid3D self) -> Vector3D"""
4734 return _IMP_algebra.DenseFloatGrid3D_get_origin(self)
4736 def get_dimension(self):
4737 """get_dimension(DenseFloatGrid3D self) -> unsigned int"""
4738 return _IMP_algebra.DenseFloatGrid3D_get_dimension(self)
4740 def get_unit_cell(self):
4741 """get_unit_cell(DenseFloatGrid3D self) -> Vector3D"""
4742 return _IMP_algebra.DenseFloatGrid3D_get_unit_cell(self)
4744 def get_has_index(self, *args):
4745 """get_has_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> bool"""
4746 return _IMP_algebra.DenseFloatGrid3D_get_has_index(self, *args)
4749 """__str__(DenseFloatGrid3D self) -> std::string"""
4750 return _IMP_algebra.DenseFloatGrid3D___str__(self)
4753 """__repr__(DenseFloatGrid3D self) -> std::string"""
4754 return _IMP_algebra.DenseFloatGrid3D___repr__(self)
4756 def show(self, *args):
4758 show(DenseFloatGrid3D self, _ostream out=std::cout)
4759 show(DenseFloatGrid3D self)
4761 return _IMP_algebra.DenseFloatGrid3D_show(self, *args)
4763 __swig_destroy__ = _IMP_algebra.delete_DenseFloatGrid3D
4764 __del__ =
lambda self :
None;
4765 DenseFloatGrid3D_swigregister = _IMP_algebra.DenseFloatGrid3D_swigregister
4766 DenseFloatGrid3D_swigregister(DenseFloatGrid3D)
4769 """Proxy of C++ IMP::algebra::SparseUnboundedGrid3D<(int)> class"""
4770 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4771 def __init__(self, *args):
4773 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin, int _def=int()) -> SparseUnboundedIntGrid3D
4774 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin) -> SparseUnboundedIntGrid3D
4775 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin, int _def=int()) -> SparseUnboundedIntGrid3D
4776 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin) -> SparseUnboundedIntGrid3D
4777 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self) -> SparseUnboundedIntGrid3D
4779 this = _IMP_algebra.new_SparseUnboundedIntGrid3D(*args)
4780 try: self.this.append(this)
4781 except: self.this = this
4782 def add_voxel(self, *args):
4783 """add_voxel(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
4784 return _IMP_algebra.SparseUnboundedIntGrid3D_add_voxel(self, *args)
4786 def __getitem__(self, *args):
4788 __getitem__(SparseUnboundedIntGrid3D self, GridIndex3D i) -> int
4789 __getitem__(SparseUnboundedIntGrid3D self, Vector3D i) -> int
4791 return _IMP_algebra.SparseUnboundedIntGrid3D___getitem__(self, *args)
4793 def __setitem__(self, *args):
4795 __setitem__(SparseUnboundedIntGrid3D self, GridIndex3D i, int const & q)
4796 __setitem__(SparseUnboundedIntGrid3D self, Vector3D i, int const & q)
4798 return _IMP_algebra.SparseUnboundedIntGrid3D___setitem__(self, *args)
4800 def get_bounding_box(self, *args):
4802 get_bounding_box(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
4803 get_bounding_box(SparseUnboundedIntGrid3D self) -> BoundingBox3D
4805 return _IMP_algebra.SparseUnboundedIntGrid3D_get_bounding_box(self, *args)
4809 get_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >
4810 get_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >
4812 return _IMP_algebra.SparseUnboundedIntGrid3D_get_indexes(self, *args)
4814 def get_all_indexes(self):
4815 """get_all_indexes(SparseUnboundedIntGrid3D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
4816 return _IMP_algebra.SparseUnboundedIntGrid3D_get_all_indexes(self)
4818 def get_extended_indexes(self, *args):
4820 get_extended_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
4821 get_extended_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
4823 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_indexes(self, *args)
4825 def get_center(self, *args):
4827 get_center(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
4828 get_center(SparseUnboundedIntGrid3D self, GridIndex3D ei) -> Vector3D
4830 return _IMP_algebra.SparseUnboundedIntGrid3D_get_center(self, *args)
4832 def get_extended_index(self, *args):
4833 """get_extended_index(SparseUnboundedIntGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
4834 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_index(self, *args)
4837 """get_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
4838 return _IMP_algebra.SparseUnboundedIntGrid3D_get_index(self, *args)
4840 def get_origin(self):
4841 """get_origin(SparseUnboundedIntGrid3D self) -> Vector3D"""
4842 return _IMP_algebra.SparseUnboundedIntGrid3D_get_origin(self)
4844 def get_dimension(self):
4845 """get_dimension(SparseUnboundedIntGrid3D self) -> unsigned int"""
4846 return _IMP_algebra.SparseUnboundedIntGrid3D_get_dimension(self)
4848 def get_unit_cell(self):
4849 """get_unit_cell(SparseUnboundedIntGrid3D self) -> Vector3D"""
4850 return _IMP_algebra.SparseUnboundedIntGrid3D_get_unit_cell(self)
4852 def get_has_index(self, *args):
4853 """get_has_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> bool"""
4854 return _IMP_algebra.SparseUnboundedIntGrid3D_get_has_index(self, *args)
4857 """__str__(SparseUnboundedIntGrid3D self) -> std::string"""
4858 return _IMP_algebra.SparseUnboundedIntGrid3D___str__(self)
4861 """__repr__(SparseUnboundedIntGrid3D self) -> std::string"""
4862 return _IMP_algebra.SparseUnboundedIntGrid3D___repr__(self)
4864 def show(self, *args):
4866 show(SparseUnboundedIntGrid3D self, _ostream out=std::cout)
4867 show(SparseUnboundedIntGrid3D self)
4869 return _IMP_algebra.SparseUnboundedIntGrid3D_show(self, *args)
4871 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGrid3D
4872 __del__ =
lambda self :
None;
4873 SparseUnboundedIntGrid3D_swigregister = _IMP_algebra.SparseUnboundedIntGrid3D_swigregister
4874 SparseUnboundedIntGrid3D_swigregister(SparseUnboundedIntGrid3D)
4876 class SparseUnboundedIntGridKD(object):
4877 """Proxy of C++ IMP::algebra::SparseUnboundedGridD<(-1,int)> class"""
4878 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4879 def __init__(self, *args):
4881 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin, int _def=int()) -> SparseUnboundedIntGridKD
4882 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin) -> SparseUnboundedIntGridKD
4883 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self) -> SparseUnboundedIntGridKD
4885 this = _IMP_algebra.new_SparseUnboundedIntGridKD(*args)
4886 try: self.this.append(this)
4887 except: self.this = this
4888 def add_voxel(self, *args):
4889 """add_voxel(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i, int const & q) -> GridIndexKD"""
4890 return _IMP_algebra.SparseUnboundedIntGridKD_add_voxel(self, *args)
4892 def __getitem__(self, *args):
4894 __getitem__(SparseUnboundedIntGridKD self, GridIndexKD i) -> int
4895 __getitem__(SparseUnboundedIntGridKD self, VectorKD i) -> int
4897 return _IMP_algebra.SparseUnboundedIntGridKD___getitem__(self, *args)
4899 def __setitem__(self, *args):
4901 __setitem__(SparseUnboundedIntGridKD self, GridIndexKD i, int const & q)
4902 __setitem__(SparseUnboundedIntGridKD self, VectorKD i, int const & q)
4904 return _IMP_algebra.SparseUnboundedIntGridKD___setitem__(self, *args)
4906 def get_bounding_box(self, *args):
4908 get_bounding_box(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
4909 get_bounding_box(SparseUnboundedIntGridKD self) -> BoundingBoxKD
4911 return _IMP_algebra.SparseUnboundedIntGridKD_get_bounding_box(self, *args)
4915 get_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >
4916 get_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >
4918 return _IMP_algebra.SparseUnboundedIntGridKD_get_indexes(self, *args)
4920 def get_all_indexes(self):
4921 """get_all_indexes(SparseUnboundedIntGridKD self) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
4922 return _IMP_algebra.SparseUnboundedIntGridKD_get_all_indexes(self)
4924 def get_extended_indexes(self, *args):
4926 get_extended_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
4927 get_extended_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
4929 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_indexes(self, *args)
4931 def get_center(self, *args):
4933 get_center(SparseUnboundedIntGridKD self, ExtendedGridIndexKD ei) -> VectorKD
4934 get_center(SparseUnboundedIntGridKD self, GridIndexKD ei) -> VectorKD
4936 return _IMP_algebra.SparseUnboundedIntGridKD_get_center(self, *args)
4938 def get_extended_index(self, *args):
4939 """get_extended_index(SparseUnboundedIntGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
4940 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_index(self, *args)
4943 """get_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
4944 return _IMP_algebra.SparseUnboundedIntGridKD_get_index(self, *args)
4946 def get_origin(self):
4947 """get_origin(SparseUnboundedIntGridKD self) -> VectorKD"""
4948 return _IMP_algebra.SparseUnboundedIntGridKD_get_origin(self)
4950 def get_dimension(self):
4951 """get_dimension(SparseUnboundedIntGridKD self) -> unsigned int"""
4952 return _IMP_algebra.SparseUnboundedIntGridKD_get_dimension(self)
4954 def get_unit_cell(self):
4955 """get_unit_cell(SparseUnboundedIntGridKD self) -> VectorKD"""
4956 return _IMP_algebra.SparseUnboundedIntGridKD_get_unit_cell(self)
4958 def get_has_index(self, *args):
4959 """get_has_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> bool"""
4960 return _IMP_algebra.SparseUnboundedIntGridKD_get_has_index(self, *args)
4963 """__str__(SparseUnboundedIntGridKD self) -> std::string"""
4964 return _IMP_algebra.SparseUnboundedIntGridKD___str__(self)
4967 """__repr__(SparseUnboundedIntGridKD self) -> std::string"""
4968 return _IMP_algebra.SparseUnboundedIntGridKD___repr__(self)
4970 def show(self, *args):
4972 show(SparseUnboundedIntGridKD self, _ostream out=std::cout)
4973 show(SparseUnboundedIntGridKD self)
4975 return _IMP_algebra.SparseUnboundedIntGridKD_show(self, *args)
4977 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGridKD
4978 __del__ =
lambda self :
None;
4979 SparseUnboundedIntGridKD_swigregister = _IMP_algebra.SparseUnboundedIntGridKD_swigregister
4980 SparseUnboundedIntGridKD_swigregister(SparseUnboundedIntGridKD)
4982 class GridIndex1D(IMP.base._Value):
4983 """Proxy of C++ IMP::algebra::GridIndexD<(1)> class"""
4984 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4985 def __init__(self, *args):
4987 __init__(IMP::algebra::GridIndexD<(1)> self) -> GridIndex1D
4988 __init__(IMP::algebra::GridIndexD<(1)> self, int x) -> GridIndex1D
4989 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y) -> GridIndex1D
4990 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y, int z) -> GridIndex1D
4991 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l) -> GridIndex1D
4992 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m) -> GridIndex1D
4993 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> GridIndex1D
4995 this = _IMP_algebra.new_GridIndex1D(*args)
4996 try: self.this.append(this)
4997 except: self.this = this
4998 def get_dimension(self):
4999 """get_dimension(GridIndex1D self) -> unsigned int"""
5000 return _IMP_algebra.GridIndex1D_get_dimension(self)
5002 def __getitem__(self, *args):
5003 """__getitem__(GridIndex1D self, unsigned int i) -> int const &"""
5004 return _IMP_algebra.GridIndex1D___getitem__(self, *args)
5006 def show(self, *args):
5008 show(GridIndex1D self, _ostream out=std::cout)
5009 show(GridIndex1D self)
5011 return _IMP_algebra.GridIndex1D_show(self, *args)
5014 """__len__(GridIndex1D self) -> unsigned int"""
5015 return _IMP_algebra.GridIndex1D___len__(self)
5017 def __cmp__(self, *args):
5018 """__cmp__(GridIndex1D self, GridIndex1D o) -> int"""
5019 return _IMP_algebra.GridIndex1D___cmp__(self, *args)
5021 def __eq__(self, *args):
5022 """__eq__(GridIndex1D self, GridIndex1D o) -> bool"""
5023 return _IMP_algebra.GridIndex1D___eq__(self, *args)
5025 def __ne__(self, *args):
5026 """__ne__(GridIndex1D self, GridIndex1D o) -> bool"""
5027 return _IMP_algebra.GridIndex1D___ne__(self, *args)
5029 def __lt__(self, *args):
5030 """__lt__(GridIndex1D self, GridIndex1D o) -> bool"""
5031 return _IMP_algebra.GridIndex1D___lt__(self, *args)
5033 def __gt__(self, *args):
5034 """__gt__(GridIndex1D self, GridIndex1D o) -> bool"""
5035 return _IMP_algebra.GridIndex1D___gt__(self, *args)
5037 def __ge__(self, *args):
5038 """__ge__(GridIndex1D self, GridIndex1D o) -> bool"""
5039 return _IMP_algebra.GridIndex1D___ge__(self, *args)
5041 def __le__(self, *args):
5042 """__le__(GridIndex1D self, GridIndex1D o) -> bool"""
5043 return _IMP_algebra.GridIndex1D___le__(self, *args)
5046 """__hash__(GridIndex1D self) -> std::size_t"""
5047 return _IMP_algebra.GridIndex1D___hash__(self)
5050 """__str__(GridIndex1D self) -> std::string"""
5051 return _IMP_algebra.GridIndex1D___str__(self)
5054 """__repr__(GridIndex1D self) -> std::string"""
5055 return _IMP_algebra.GridIndex1D___repr__(self)
5057 __swig_destroy__ = _IMP_algebra.delete_GridIndex1D
5058 __del__ =
lambda self :
None;
5059 GridIndex1D_swigregister = _IMP_algebra.GridIndex1D_swigregister
5060 GridIndex1D_swigregister(GridIndex1D)
5062 class GridIndex2D(IMP.base._Value):
5063 """Proxy of C++ IMP::algebra::GridIndexD<(2)> class"""
5064 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5065 def __init__(self, *args):
5067 __init__(IMP::algebra::GridIndexD<(2)> self) -> GridIndex2D
5068 __init__(IMP::algebra::GridIndexD<(2)> self, int x) -> GridIndex2D
5069 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y) -> GridIndex2D
5070 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y, int z) -> GridIndex2D
5071 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l) -> GridIndex2D
5072 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m) -> GridIndex2D
5073 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> GridIndex2D
5075 this = _IMP_algebra.new_GridIndex2D(*args)
5076 try: self.this.append(this)
5077 except: self.this = this
5078 def get_dimension(self):
5079 """get_dimension(GridIndex2D self) -> unsigned int"""
5080 return _IMP_algebra.GridIndex2D_get_dimension(self)
5082 def __getitem__(self, *args):
5083 """__getitem__(GridIndex2D self, unsigned int i) -> int const &"""
5084 return _IMP_algebra.GridIndex2D___getitem__(self, *args)
5086 def show(self, *args):
5088 show(GridIndex2D self, _ostream out=std::cout)
5089 show(GridIndex2D self)
5091 return _IMP_algebra.GridIndex2D_show(self, *args)
5094 """__len__(GridIndex2D self) -> unsigned int"""
5095 return _IMP_algebra.GridIndex2D___len__(self)
5097 def __cmp__(self, *args):
5098 """__cmp__(GridIndex2D self, GridIndex2D o) -> int"""
5099 return _IMP_algebra.GridIndex2D___cmp__(self, *args)
5101 def __eq__(self, *args):
5102 """__eq__(GridIndex2D self, GridIndex2D o) -> bool"""
5103 return _IMP_algebra.GridIndex2D___eq__(self, *args)
5105 def __ne__(self, *args):
5106 """__ne__(GridIndex2D self, GridIndex2D o) -> bool"""
5107 return _IMP_algebra.GridIndex2D___ne__(self, *args)
5109 def __lt__(self, *args):
5110 """__lt__(GridIndex2D self, GridIndex2D o) -> bool"""
5111 return _IMP_algebra.GridIndex2D___lt__(self, *args)
5113 def __gt__(self, *args):
5114 """__gt__(GridIndex2D self, GridIndex2D o) -> bool"""
5115 return _IMP_algebra.GridIndex2D___gt__(self, *args)
5117 def __ge__(self, *args):
5118 """__ge__(GridIndex2D self, GridIndex2D o) -> bool"""
5119 return _IMP_algebra.GridIndex2D___ge__(self, *args)
5121 def __le__(self, *args):
5122 """__le__(GridIndex2D self, GridIndex2D o) -> bool"""
5123 return _IMP_algebra.GridIndex2D___le__(self, *args)
5126 """__hash__(GridIndex2D self) -> std::size_t"""
5127 return _IMP_algebra.GridIndex2D___hash__(self)
5130 """__str__(GridIndex2D self) -> std::string"""
5131 return _IMP_algebra.GridIndex2D___str__(self)
5134 """__repr__(GridIndex2D self) -> std::string"""
5135 return _IMP_algebra.GridIndex2D___repr__(self)
5137 __swig_destroy__ = _IMP_algebra.delete_GridIndex2D
5138 __del__ =
lambda self :
None;
5139 GridIndex2D_swigregister = _IMP_algebra.GridIndex2D_swigregister
5140 GridIndex2D_swigregister(GridIndex2D)
5142 class GridIndex3D(IMP.base._Value):
5143 """Proxy of C++ IMP::algebra::GridIndexD<(3)> class"""
5144 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5145 def __init__(self, *args):
5147 __init__(IMP::algebra::GridIndexD<(3)> self) -> GridIndex3D
5148 __init__(IMP::algebra::GridIndexD<(3)> self, int x) -> GridIndex3D
5149 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y) -> GridIndex3D
5150 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y, int z) -> GridIndex3D
5151 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l) -> GridIndex3D
5152 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m) -> GridIndex3D
5153 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> GridIndex3D
5155 this = _IMP_algebra.new_GridIndex3D(*args)
5156 try: self.this.append(this)
5157 except: self.this = this
5158 def get_dimension(self):
5159 """get_dimension(GridIndex3D self) -> unsigned int"""
5160 return _IMP_algebra.GridIndex3D_get_dimension(self)
5162 def __getitem__(self, *args):
5163 """__getitem__(GridIndex3D self, unsigned int i) -> int const &"""
5164 return _IMP_algebra.GridIndex3D___getitem__(self, *args)
5166 def show(self, *args):
5168 show(GridIndex3D self, _ostream out=std::cout)
5169 show(GridIndex3D self)
5171 return _IMP_algebra.GridIndex3D_show(self, *args)
5174 """__len__(GridIndex3D self) -> unsigned int"""
5175 return _IMP_algebra.GridIndex3D___len__(self)
5177 def __cmp__(self, *args):
5178 """__cmp__(GridIndex3D self, GridIndex3D o) -> int"""
5179 return _IMP_algebra.GridIndex3D___cmp__(self, *args)
5181 def __eq__(self, *args):
5182 """__eq__(GridIndex3D self, GridIndex3D o) -> bool"""
5183 return _IMP_algebra.GridIndex3D___eq__(self, *args)
5185 def __ne__(self, *args):
5186 """__ne__(GridIndex3D self, GridIndex3D o) -> bool"""
5187 return _IMP_algebra.GridIndex3D___ne__(self, *args)
5189 def __lt__(self, *args):
5190 """__lt__(GridIndex3D self, GridIndex3D o) -> bool"""
5191 return _IMP_algebra.GridIndex3D___lt__(self, *args)
5193 def __gt__(self, *args):
5194 """__gt__(GridIndex3D self, GridIndex3D o) -> bool"""
5195 return _IMP_algebra.GridIndex3D___gt__(self, *args)
5197 def __ge__(self, *args):
5198 """__ge__(GridIndex3D self, GridIndex3D o) -> bool"""
5199 return _IMP_algebra.GridIndex3D___ge__(self, *args)
5201 def __le__(self, *args):
5202 """__le__(GridIndex3D self, GridIndex3D o) -> bool"""
5203 return _IMP_algebra.GridIndex3D___le__(self, *args)
5206 """__hash__(GridIndex3D self) -> std::size_t"""
5207 return _IMP_algebra.GridIndex3D___hash__(self)
5210 """__str__(GridIndex3D self) -> std::string"""
5211 return _IMP_algebra.GridIndex3D___str__(self)
5214 """__repr__(GridIndex3D self) -> std::string"""
5215 return _IMP_algebra.GridIndex3D___repr__(self)
5217 __swig_destroy__ = _IMP_algebra.delete_GridIndex3D
5218 __del__ =
lambda self :
None;
5219 GridIndex3D_swigregister = _IMP_algebra.GridIndex3D_swigregister
5220 GridIndex3D_swigregister(GridIndex3D)
5222 class GridIndex4D(IMP.base._Value):
5223 """Proxy of C++ IMP::algebra::GridIndexD<(4)> class"""
5224 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5225 def __init__(self, *args):
5227 __init__(IMP::algebra::GridIndexD<(4)> self) -> GridIndex4D
5228 __init__(IMP::algebra::GridIndexD<(4)> self, int x) -> GridIndex4D
5229 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y) -> GridIndex4D
5230 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y, int z) -> GridIndex4D
5231 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l) -> GridIndex4D
5232 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m) -> GridIndex4D
5233 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> GridIndex4D
5235 this = _IMP_algebra.new_GridIndex4D(*args)
5236 try: self.this.append(this)
5237 except: self.this = this
5238 def get_dimension(self):
5239 """get_dimension(GridIndex4D self) -> unsigned int"""
5240 return _IMP_algebra.GridIndex4D_get_dimension(self)
5242 def __getitem__(self, *args):
5243 """__getitem__(GridIndex4D self, unsigned int i) -> int const &"""
5244 return _IMP_algebra.GridIndex4D___getitem__(self, *args)
5246 def show(self, *args):
5248 show(GridIndex4D self, _ostream out=std::cout)
5249 show(GridIndex4D self)
5251 return _IMP_algebra.GridIndex4D_show(self, *args)
5254 """__len__(GridIndex4D self) -> unsigned int"""
5255 return _IMP_algebra.GridIndex4D___len__(self)
5257 def __cmp__(self, *args):
5258 """__cmp__(GridIndex4D self, GridIndex4D o) -> int"""
5259 return _IMP_algebra.GridIndex4D___cmp__(self, *args)
5261 def __eq__(self, *args):
5262 """__eq__(GridIndex4D self, GridIndex4D o) -> bool"""
5263 return _IMP_algebra.GridIndex4D___eq__(self, *args)
5265 def __ne__(self, *args):
5266 """__ne__(GridIndex4D self, GridIndex4D o) -> bool"""
5267 return _IMP_algebra.GridIndex4D___ne__(self, *args)
5269 def __lt__(self, *args):
5270 """__lt__(GridIndex4D self, GridIndex4D o) -> bool"""
5271 return _IMP_algebra.GridIndex4D___lt__(self, *args)
5273 def __gt__(self, *args):
5274 """__gt__(GridIndex4D self, GridIndex4D o) -> bool"""
5275 return _IMP_algebra.GridIndex4D___gt__(self, *args)
5277 def __ge__(self, *args):
5278 """__ge__(GridIndex4D self, GridIndex4D o) -> bool"""
5279 return _IMP_algebra.GridIndex4D___ge__(self, *args)
5281 def __le__(self, *args):
5282 """__le__(GridIndex4D self, GridIndex4D o) -> bool"""
5283 return _IMP_algebra.GridIndex4D___le__(self, *args)
5286 """__hash__(GridIndex4D self) -> std::size_t"""
5287 return _IMP_algebra.GridIndex4D___hash__(self)
5290 """__str__(GridIndex4D self) -> std::string"""
5291 return _IMP_algebra.GridIndex4D___str__(self)
5294 """__repr__(GridIndex4D self) -> std::string"""
5295 return _IMP_algebra.GridIndex4D___repr__(self)
5297 __swig_destroy__ = _IMP_algebra.delete_GridIndex4D
5298 __del__ =
lambda self :
None;
5299 GridIndex4D_swigregister = _IMP_algebra.GridIndex4D_swigregister
5300 GridIndex4D_swigregister(GridIndex4D)
5302 class GridIndex5D(IMP.base._Value):
5303 """Proxy of C++ IMP::algebra::GridIndexD<(5)> class"""
5304 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5305 def __init__(self, *args):
5307 __init__(IMP::algebra::GridIndexD<(5)> self) -> GridIndex5D
5308 __init__(IMP::algebra::GridIndexD<(5)> self, int x) -> GridIndex5D
5309 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y) -> GridIndex5D
5310 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y, int z) -> GridIndex5D
5311 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l) -> GridIndex5D
5312 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m) -> GridIndex5D
5313 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> GridIndex5D
5315 this = _IMP_algebra.new_GridIndex5D(*args)
5316 try: self.this.append(this)
5317 except: self.this = this
5318 def get_dimension(self):
5319 """get_dimension(GridIndex5D self) -> unsigned int"""
5320 return _IMP_algebra.GridIndex5D_get_dimension(self)
5322 def __getitem__(self, *args):
5323 """__getitem__(GridIndex5D self, unsigned int i) -> int const &"""
5324 return _IMP_algebra.GridIndex5D___getitem__(self, *args)
5326 def show(self, *args):
5328 show(GridIndex5D self, _ostream out=std::cout)
5329 show(GridIndex5D self)
5331 return _IMP_algebra.GridIndex5D_show(self, *args)
5334 """__len__(GridIndex5D self) -> unsigned int"""
5335 return _IMP_algebra.GridIndex5D___len__(self)
5337 def __cmp__(self, *args):
5338 """__cmp__(GridIndex5D self, GridIndex5D o) -> int"""
5339 return _IMP_algebra.GridIndex5D___cmp__(self, *args)
5341 def __eq__(self, *args):
5342 """__eq__(GridIndex5D self, GridIndex5D o) -> bool"""
5343 return _IMP_algebra.GridIndex5D___eq__(self, *args)
5345 def __ne__(self, *args):
5346 """__ne__(GridIndex5D self, GridIndex5D o) -> bool"""
5347 return _IMP_algebra.GridIndex5D___ne__(self, *args)
5349 def __lt__(self, *args):
5350 """__lt__(GridIndex5D self, GridIndex5D o) -> bool"""
5351 return _IMP_algebra.GridIndex5D___lt__(self, *args)
5353 def __gt__(self, *args):
5354 """__gt__(GridIndex5D self, GridIndex5D o) -> bool"""
5355 return _IMP_algebra.GridIndex5D___gt__(self, *args)
5357 def __ge__(self, *args):
5358 """__ge__(GridIndex5D self, GridIndex5D o) -> bool"""
5359 return _IMP_algebra.GridIndex5D___ge__(self, *args)
5361 def __le__(self, *args):
5362 """__le__(GridIndex5D self, GridIndex5D o) -> bool"""
5363 return _IMP_algebra.GridIndex5D___le__(self, *args)
5366 """__hash__(GridIndex5D self) -> std::size_t"""
5367 return _IMP_algebra.GridIndex5D___hash__(self)
5370 """__str__(GridIndex5D self) -> std::string"""
5371 return _IMP_algebra.GridIndex5D___str__(self)
5374 """__repr__(GridIndex5D self) -> std::string"""
5375 return _IMP_algebra.GridIndex5D___repr__(self)
5377 __swig_destroy__ = _IMP_algebra.delete_GridIndex5D
5378 __del__ =
lambda self :
None;
5379 GridIndex5D_swigregister = _IMP_algebra.GridIndex5D_swigregister
5380 GridIndex5D_swigregister(GridIndex5D)
5382 class GridIndex6D(IMP.base._Value):
5383 """Proxy of C++ IMP::algebra::GridIndexD<(6)> class"""
5384 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5385 def __init__(self, *args):
5387 __init__(IMP::algebra::GridIndexD<(6)> self) -> GridIndex6D
5388 __init__(IMP::algebra::GridIndexD<(6)> self, int x) -> GridIndex6D
5389 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y) -> GridIndex6D
5390 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y, int z) -> GridIndex6D
5391 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l) -> GridIndex6D
5392 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m) -> GridIndex6D
5393 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> GridIndex6D
5395 this = _IMP_algebra.new_GridIndex6D(*args)
5396 try: self.this.append(this)
5397 except: self.this = this
5398 def get_dimension(self):
5399 """get_dimension(GridIndex6D self) -> unsigned int"""
5400 return _IMP_algebra.GridIndex6D_get_dimension(self)
5402 def __getitem__(self, *args):
5403 """__getitem__(GridIndex6D self, unsigned int i) -> int const &"""
5404 return _IMP_algebra.GridIndex6D___getitem__(self, *args)
5406 def show(self, *args):
5408 show(GridIndex6D self, _ostream out=std::cout)
5409 show(GridIndex6D self)
5411 return _IMP_algebra.GridIndex6D_show(self, *args)
5414 """__len__(GridIndex6D self) -> unsigned int"""
5415 return _IMP_algebra.GridIndex6D___len__(self)
5417 def __cmp__(self, *args):
5418 """__cmp__(GridIndex6D self, GridIndex6D o) -> int"""
5419 return _IMP_algebra.GridIndex6D___cmp__(self, *args)
5421 def __eq__(self, *args):
5422 """__eq__(GridIndex6D self, GridIndex6D o) -> bool"""
5423 return _IMP_algebra.GridIndex6D___eq__(self, *args)
5425 def __ne__(self, *args):
5426 """__ne__(GridIndex6D self, GridIndex6D o) -> bool"""
5427 return _IMP_algebra.GridIndex6D___ne__(self, *args)
5429 def __lt__(self, *args):
5430 """__lt__(GridIndex6D self, GridIndex6D o) -> bool"""
5431 return _IMP_algebra.GridIndex6D___lt__(self, *args)
5433 def __gt__(self, *args):
5434 """__gt__(GridIndex6D self, GridIndex6D o) -> bool"""
5435 return _IMP_algebra.GridIndex6D___gt__(self, *args)
5437 def __ge__(self, *args):
5438 """__ge__(GridIndex6D self, GridIndex6D o) -> bool"""
5439 return _IMP_algebra.GridIndex6D___ge__(self, *args)
5441 def __le__(self, *args):
5442 """__le__(GridIndex6D self, GridIndex6D o) -> bool"""
5443 return _IMP_algebra.GridIndex6D___le__(self, *args)
5446 """__hash__(GridIndex6D self) -> std::size_t"""
5447 return _IMP_algebra.GridIndex6D___hash__(self)
5450 """__str__(GridIndex6D self) -> std::string"""
5451 return _IMP_algebra.GridIndex6D___str__(self)
5454 """__repr__(GridIndex6D self) -> std::string"""
5455 return _IMP_algebra.GridIndex6D___repr__(self)
5457 __swig_destroy__ = _IMP_algebra.delete_GridIndex6D
5458 __del__ =
lambda self :
None;
5459 GridIndex6D_swigregister = _IMP_algebra.GridIndex6D_swigregister
5460 GridIndex6D_swigregister(GridIndex6D)
5462 class GridIndexKD(IMP.base._Value):
5463 """Proxy of C++ IMP::algebra::GridIndexD<(-1)> class"""
5464 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5465 def __init__(self, *args):
5467 __init__(IMP::algebra::GridIndexD<(-1)> self) -> GridIndexKD
5468 __init__(IMP::algebra::GridIndexD<(-1)> self, int x) -> GridIndexKD
5469 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y) -> GridIndexKD
5470 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y, int z) -> GridIndexKD
5471 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l) -> GridIndexKD
5472 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> GridIndexKD
5473 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> GridIndexKD
5475 this = _IMP_algebra.new_GridIndexKD(*args)
5476 try: self.this.append(this)
5477 except: self.this = this
5478 def get_dimension(self):
5479 """get_dimension(GridIndexKD self) -> unsigned int"""
5480 return _IMP_algebra.GridIndexKD_get_dimension(self)
5482 def __getitem__(self, *args):
5483 """__getitem__(GridIndexKD self, unsigned int i) -> int const &"""
5484 return _IMP_algebra.GridIndexKD___getitem__(self, *args)
5486 def show(self, *args):
5488 show(GridIndexKD self, _ostream out=std::cout)
5489 show(GridIndexKD self)
5491 return _IMP_algebra.GridIndexKD_show(self, *args)
5494 """__len__(GridIndexKD self) -> unsigned int"""
5495 return _IMP_algebra.GridIndexKD___len__(self)
5497 def __cmp__(self, *args):
5498 """__cmp__(GridIndexKD self, GridIndexKD o) -> int"""
5499 return _IMP_algebra.GridIndexKD___cmp__(self, *args)
5501 def __eq__(self, *args):
5502 """__eq__(GridIndexKD self, GridIndexKD o) -> bool"""
5503 return _IMP_algebra.GridIndexKD___eq__(self, *args)
5505 def __ne__(self, *args):
5506 """__ne__(GridIndexKD self, GridIndexKD o) -> bool"""
5507 return _IMP_algebra.GridIndexKD___ne__(self, *args)
5509 def __lt__(self, *args):
5510 """__lt__(GridIndexKD self, GridIndexKD o) -> bool"""
5511 return _IMP_algebra.GridIndexKD___lt__(self, *args)
5513 def __gt__(self, *args):
5514 """__gt__(GridIndexKD self, GridIndexKD o) -> bool"""
5515 return _IMP_algebra.GridIndexKD___gt__(self, *args)
5517 def __ge__(self, *args):
5518 """__ge__(GridIndexKD self, GridIndexKD o) -> bool"""
5519 return _IMP_algebra.GridIndexKD___ge__(self, *args)
5521 def __le__(self, *args):
5522 """__le__(GridIndexKD self, GridIndexKD o) -> bool"""
5523 return _IMP_algebra.GridIndexKD___le__(self, *args)
5526 """__hash__(GridIndexKD self) -> std::size_t"""
5527 return _IMP_algebra.GridIndexKD___hash__(self)
5530 """__str__(GridIndexKD self) -> std::string"""
5531 return _IMP_algebra.GridIndexKD___str__(self)
5534 """__repr__(GridIndexKD self) -> std::string"""
5535 return _IMP_algebra.GridIndexKD___repr__(self)
5537 __swig_destroy__ = _IMP_algebra.delete_GridIndexKD
5538 __del__ =
lambda self :
None;
5539 GridIndexKD_swigregister = _IMP_algebra.GridIndexKD_swigregister
5540 GridIndexKD_swigregister(GridIndexKD)
5542 class ExtendedGridIndex1D(IMP.base._Value):
5543 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(1)> class"""
5544 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5545 def __init__(self, *args):
5547 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, IMP::Ints vals) -> ExtendedGridIndex1D
5548 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x) -> ExtendedGridIndex1D
5549 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y) -> ExtendedGridIndex1D
5550 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y, int z) -> ExtendedGridIndex1D
5551 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l) -> ExtendedGridIndex1D
5552 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex1D
5553 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex1D
5554 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self) -> ExtendedGridIndex1D
5556 this = _IMP_algebra.new_ExtendedGridIndex1D(*args)
5557 try: self.this.append(this)
5558 except: self.this = this
5559 def get_dimension(self):
5560 """get_dimension(ExtendedGridIndex1D self) -> unsigned int"""
5561 return _IMP_algebra.ExtendedGridIndex1D_get_dimension(self)
5563 def __cmp__(self, *args):
5564 """__cmp__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> int"""
5565 return _IMP_algebra.ExtendedGridIndex1D___cmp__(self, *args)
5567 def __eq__(self, *args):
5568 """__eq__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
5569 return _IMP_algebra.ExtendedGridIndex1D___eq__(self, *args)
5571 def __ne__(self, *args):
5572 """__ne__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
5573 return _IMP_algebra.ExtendedGridIndex1D___ne__(self, *args)
5575 def __lt__(self, *args):
5576 """__lt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
5577 return _IMP_algebra.ExtendedGridIndex1D___lt__(self, *args)
5579 def __gt__(self, *args):
5580 """__gt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
5581 return _IMP_algebra.ExtendedGridIndex1D___gt__(self, *args)
5583 def __ge__(self, *args):
5584 """__ge__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
5585 return _IMP_algebra.ExtendedGridIndex1D___ge__(self, *args)
5587 def __le__(self, *args):
5588 """__le__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
5589 return _IMP_algebra.ExtendedGridIndex1D___le__(self, *args)
5591 def __setitem__(self, *args):
5592 """__setitem__(ExtendedGridIndex1D self, unsigned int i, int const & v)"""
5593 return _IMP_algebra.ExtendedGridIndex1D___setitem__(self, *args)
5595 def __getitem__(self, *args):
5596 """__getitem__(ExtendedGridIndex1D self, unsigned int i) -> int const &"""
5597 return _IMP_algebra.ExtendedGridIndex1D___getitem__(self, *args)
5599 def show(self, *args):
5601 show(ExtendedGridIndex1D self, _ostream out=std::cout)
5602 show(ExtendedGridIndex1D self)
5604 return _IMP_algebra.ExtendedGridIndex1D_show(self, *args)
5607 """__len__(ExtendedGridIndex1D self) -> unsigned int"""
5608 return _IMP_algebra.ExtendedGridIndex1D___len__(self)
5611 """__hash__(ExtendedGridIndex1D self) -> std::size_t"""
5612 return _IMP_algebra.ExtendedGridIndex1D___hash__(self)
5614 def get_uniform_offset(self, *args):
5615 """get_uniform_offset(ExtendedGridIndex1D self, int ii) -> ExtendedGridIndex1D"""
5616 return _IMP_algebra.ExtendedGridIndex1D_get_uniform_offset(self, *args)
5618 def get_offset(self, *args):
5619 """get_offset(ExtendedGridIndex1D self, int i, int j, int k) -> ExtendedGridIndex1D"""
5620 return _IMP_algebra.ExtendedGridIndex1D_get_offset(self, *args)
5623 """__str__(ExtendedGridIndex1D self) -> std::string"""
5624 return _IMP_algebra.ExtendedGridIndex1D___str__(self)
5627 """__repr__(ExtendedGridIndex1D self) -> std::string"""
5628 return _IMP_algebra.ExtendedGridIndex1D___repr__(self)
5630 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex1D
5631 __del__ =
lambda self :
None;
5632 ExtendedGridIndex1D_swigregister = _IMP_algebra.ExtendedGridIndex1D_swigregister
5633 ExtendedGridIndex1D_swigregister(ExtendedGridIndex1D)
5635 class ExtendedGridIndex2D(IMP.base._Value):
5636 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(2)> class"""
5637 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5638 def __init__(self, *args):
5640 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, IMP::Ints vals) -> ExtendedGridIndex2D
5641 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x) -> ExtendedGridIndex2D
5642 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y) -> ExtendedGridIndex2D
5643 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y, int z) -> ExtendedGridIndex2D
5644 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l) -> ExtendedGridIndex2D
5645 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex2D
5646 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex2D
5647 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self) -> ExtendedGridIndex2D
5649 this = _IMP_algebra.new_ExtendedGridIndex2D(*args)
5650 try: self.this.append(this)
5651 except: self.this = this
5652 def get_dimension(self):
5653 """get_dimension(ExtendedGridIndex2D self) -> unsigned int"""
5654 return _IMP_algebra.ExtendedGridIndex2D_get_dimension(self)
5656 def __cmp__(self, *args):
5657 """__cmp__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> int"""
5658 return _IMP_algebra.ExtendedGridIndex2D___cmp__(self, *args)
5660 def __eq__(self, *args):
5661 """__eq__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
5662 return _IMP_algebra.ExtendedGridIndex2D___eq__(self, *args)
5664 def __ne__(self, *args):
5665 """__ne__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
5666 return _IMP_algebra.ExtendedGridIndex2D___ne__(self, *args)
5668 def __lt__(self, *args):
5669 """__lt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
5670 return _IMP_algebra.ExtendedGridIndex2D___lt__(self, *args)
5672 def __gt__(self, *args):
5673 """__gt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
5674 return _IMP_algebra.ExtendedGridIndex2D___gt__(self, *args)
5676 def __ge__(self, *args):
5677 """__ge__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
5678 return _IMP_algebra.ExtendedGridIndex2D___ge__(self, *args)
5680 def __le__(self, *args):
5681 """__le__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
5682 return _IMP_algebra.ExtendedGridIndex2D___le__(self, *args)
5684 def __setitem__(self, *args):
5685 """__setitem__(ExtendedGridIndex2D self, unsigned int i, int const & v)"""
5686 return _IMP_algebra.ExtendedGridIndex2D___setitem__(self, *args)
5688 def __getitem__(self, *args):
5689 """__getitem__(ExtendedGridIndex2D self, unsigned int i) -> int const &"""
5690 return _IMP_algebra.ExtendedGridIndex2D___getitem__(self, *args)
5692 def show(self, *args):
5694 show(ExtendedGridIndex2D self, _ostream out=std::cout)
5695 show(ExtendedGridIndex2D self)
5697 return _IMP_algebra.ExtendedGridIndex2D_show(self, *args)
5700 """__len__(ExtendedGridIndex2D self) -> unsigned int"""
5701 return _IMP_algebra.ExtendedGridIndex2D___len__(self)
5704 """__hash__(ExtendedGridIndex2D self) -> std::size_t"""
5705 return _IMP_algebra.ExtendedGridIndex2D___hash__(self)
5707 def get_uniform_offset(self, *args):
5708 """get_uniform_offset(ExtendedGridIndex2D self, int ii) -> ExtendedGridIndex2D"""
5709 return _IMP_algebra.ExtendedGridIndex2D_get_uniform_offset(self, *args)
5711 def get_offset(self, *args):
5712 """get_offset(ExtendedGridIndex2D self, int i, int j, int k) -> ExtendedGridIndex2D"""
5713 return _IMP_algebra.ExtendedGridIndex2D_get_offset(self, *args)
5716 """__str__(ExtendedGridIndex2D self) -> std::string"""
5717 return _IMP_algebra.ExtendedGridIndex2D___str__(self)
5720 """__repr__(ExtendedGridIndex2D self) -> std::string"""
5721 return _IMP_algebra.ExtendedGridIndex2D___repr__(self)
5723 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex2D
5724 __del__ =
lambda self :
None;
5725 ExtendedGridIndex2D_swigregister = _IMP_algebra.ExtendedGridIndex2D_swigregister
5726 ExtendedGridIndex2D_swigregister(ExtendedGridIndex2D)
5728 class ExtendedGridIndex3D(IMP.base._Value):
5729 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(3)> class"""
5730 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5731 def __init__(self, *args):
5733 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, IMP::Ints vals) -> ExtendedGridIndex3D
5734 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x) -> ExtendedGridIndex3D
5735 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y) -> ExtendedGridIndex3D
5736 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y, int z) -> ExtendedGridIndex3D
5737 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l) -> ExtendedGridIndex3D
5738 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex3D
5739 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex3D
5740 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self) -> ExtendedGridIndex3D
5742 this = _IMP_algebra.new_ExtendedGridIndex3D(*args)
5743 try: self.this.append(this)
5744 except: self.this = this
5745 def get_dimension(self):
5746 """get_dimension(ExtendedGridIndex3D self) -> unsigned int"""
5747 return _IMP_algebra.ExtendedGridIndex3D_get_dimension(self)
5749 def __cmp__(self, *args):
5750 """__cmp__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> int"""
5751 return _IMP_algebra.ExtendedGridIndex3D___cmp__(self, *args)
5753 def __eq__(self, *args):
5754 """__eq__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5755 return _IMP_algebra.ExtendedGridIndex3D___eq__(self, *args)
5757 def __ne__(self, *args):
5758 """__ne__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5759 return _IMP_algebra.ExtendedGridIndex3D___ne__(self, *args)
5761 def __lt__(self, *args):
5762 """__lt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5763 return _IMP_algebra.ExtendedGridIndex3D___lt__(self, *args)
5765 def __gt__(self, *args):
5766 """__gt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5767 return _IMP_algebra.ExtendedGridIndex3D___gt__(self, *args)
5769 def __ge__(self, *args):
5770 """__ge__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5771 return _IMP_algebra.ExtendedGridIndex3D___ge__(self, *args)
5773 def __le__(self, *args):
5774 """__le__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5775 return _IMP_algebra.ExtendedGridIndex3D___le__(self, *args)
5777 def __setitem__(self, *args):
5778 """__setitem__(ExtendedGridIndex3D self, unsigned int i, int const & v)"""
5779 return _IMP_algebra.ExtendedGridIndex3D___setitem__(self, *args)
5781 def __getitem__(self, *args):
5782 """__getitem__(ExtendedGridIndex3D self, unsigned int i) -> int const &"""
5783 return _IMP_algebra.ExtendedGridIndex3D___getitem__(self, *args)
5785 def show(self, *args):
5787 show(ExtendedGridIndex3D self, _ostream out=std::cout)
5788 show(ExtendedGridIndex3D self)
5790 return _IMP_algebra.ExtendedGridIndex3D_show(self, *args)
5793 """__len__(ExtendedGridIndex3D self) -> unsigned int"""
5794 return _IMP_algebra.ExtendedGridIndex3D___len__(self)
5797 """__hash__(ExtendedGridIndex3D self) -> std::size_t"""
5798 return _IMP_algebra.ExtendedGridIndex3D___hash__(self)
5800 def get_uniform_offset(self, *args):
5801 """get_uniform_offset(ExtendedGridIndex3D self, int ii) -> ExtendedGridIndex3D"""
5802 return _IMP_algebra.ExtendedGridIndex3D_get_uniform_offset(self, *args)
5804 def get_offset(self, *args):
5805 """get_offset(ExtendedGridIndex3D self, int i, int j, int k) -> ExtendedGridIndex3D"""
5806 return _IMP_algebra.ExtendedGridIndex3D_get_offset(self, *args)
5809 """__str__(ExtendedGridIndex3D self) -> std::string"""
5810 return _IMP_algebra.ExtendedGridIndex3D___str__(self)
5813 """__repr__(ExtendedGridIndex3D self) -> std::string"""
5814 return _IMP_algebra.ExtendedGridIndex3D___repr__(self)
5816 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex3D
5817 __del__ =
lambda self :
None;
5818 ExtendedGridIndex3D_swigregister = _IMP_algebra.ExtendedGridIndex3D_swigregister
5819 ExtendedGridIndex3D_swigregister(ExtendedGridIndex3D)
5821 class ExtendedGridIndex4D(IMP.base._Value):
5822 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(4)> class"""
5823 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5824 def __init__(self, *args):
5826 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, IMP::Ints vals) -> ExtendedGridIndex4D
5827 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x) -> ExtendedGridIndex4D
5828 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y) -> ExtendedGridIndex4D
5829 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y, int z) -> ExtendedGridIndex4D
5830 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l) -> ExtendedGridIndex4D
5831 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex4D
5832 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex4D
5833 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self) -> ExtendedGridIndex4D
5835 this = _IMP_algebra.new_ExtendedGridIndex4D(*args)
5836 try: self.this.append(this)
5837 except: self.this = this
5838 def get_dimension(self):
5839 """get_dimension(ExtendedGridIndex4D self) -> unsigned int"""
5840 return _IMP_algebra.ExtendedGridIndex4D_get_dimension(self)
5842 def __cmp__(self, *args):
5843 """__cmp__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> int"""
5844 return _IMP_algebra.ExtendedGridIndex4D___cmp__(self, *args)
5846 def __eq__(self, *args):
5847 """__eq__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5848 return _IMP_algebra.ExtendedGridIndex4D___eq__(self, *args)
5850 def __ne__(self, *args):
5851 """__ne__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5852 return _IMP_algebra.ExtendedGridIndex4D___ne__(self, *args)
5854 def __lt__(self, *args):
5855 """__lt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5856 return _IMP_algebra.ExtendedGridIndex4D___lt__(self, *args)
5858 def __gt__(self, *args):
5859 """__gt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5860 return _IMP_algebra.ExtendedGridIndex4D___gt__(self, *args)
5862 def __ge__(self, *args):
5863 """__ge__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5864 return _IMP_algebra.ExtendedGridIndex4D___ge__(self, *args)
5866 def __le__(self, *args):
5867 """__le__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5868 return _IMP_algebra.ExtendedGridIndex4D___le__(self, *args)
5870 def __setitem__(self, *args):
5871 """__setitem__(ExtendedGridIndex4D self, unsigned int i, int const & v)"""
5872 return _IMP_algebra.ExtendedGridIndex4D___setitem__(self, *args)
5874 def __getitem__(self, *args):
5875 """__getitem__(ExtendedGridIndex4D self, unsigned int i) -> int const &"""
5876 return _IMP_algebra.ExtendedGridIndex4D___getitem__(self, *args)
5878 def show(self, *args):
5880 show(ExtendedGridIndex4D self, _ostream out=std::cout)
5881 show(ExtendedGridIndex4D self)
5883 return _IMP_algebra.ExtendedGridIndex4D_show(self, *args)
5886 """__len__(ExtendedGridIndex4D self) -> unsigned int"""
5887 return _IMP_algebra.ExtendedGridIndex4D___len__(self)
5890 """__hash__(ExtendedGridIndex4D self) -> std::size_t"""
5891 return _IMP_algebra.ExtendedGridIndex4D___hash__(self)
5893 def get_uniform_offset(self, *args):
5894 """get_uniform_offset(ExtendedGridIndex4D self, int ii) -> ExtendedGridIndex4D"""
5895 return _IMP_algebra.ExtendedGridIndex4D_get_uniform_offset(self, *args)
5897 def get_offset(self, *args):
5898 """get_offset(ExtendedGridIndex4D self, int i, int j, int k) -> ExtendedGridIndex4D"""
5899 return _IMP_algebra.ExtendedGridIndex4D_get_offset(self, *args)
5902 """__str__(ExtendedGridIndex4D self) -> std::string"""
5903 return _IMP_algebra.ExtendedGridIndex4D___str__(self)
5906 """__repr__(ExtendedGridIndex4D self) -> std::string"""
5907 return _IMP_algebra.ExtendedGridIndex4D___repr__(self)
5909 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex4D
5910 __del__ =
lambda self :
None;
5911 ExtendedGridIndex4D_swigregister = _IMP_algebra.ExtendedGridIndex4D_swigregister
5912 ExtendedGridIndex4D_swigregister(ExtendedGridIndex4D)
5914 class ExtendedGridIndex5D(IMP.base._Value):
5915 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(5)> class"""
5916 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5917 def __init__(self, *args):
5919 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, IMP::Ints vals) -> ExtendedGridIndex5D
5920 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x) -> ExtendedGridIndex5D
5921 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y) -> ExtendedGridIndex5D
5922 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y, int z) -> ExtendedGridIndex5D
5923 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l) -> ExtendedGridIndex5D
5924 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex5D
5925 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex5D
5926 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self) -> ExtendedGridIndex5D
5928 this = _IMP_algebra.new_ExtendedGridIndex5D(*args)
5929 try: self.this.append(this)
5930 except: self.this = this
5931 def get_dimension(self):
5932 """get_dimension(ExtendedGridIndex5D self) -> unsigned int"""
5933 return _IMP_algebra.ExtendedGridIndex5D_get_dimension(self)
5935 def __cmp__(self, *args):
5936 """__cmp__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> int"""
5937 return _IMP_algebra.ExtendedGridIndex5D___cmp__(self, *args)
5939 def __eq__(self, *args):
5940 """__eq__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5941 return _IMP_algebra.ExtendedGridIndex5D___eq__(self, *args)
5943 def __ne__(self, *args):
5944 """__ne__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5945 return _IMP_algebra.ExtendedGridIndex5D___ne__(self, *args)
5947 def __lt__(self, *args):
5948 """__lt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5949 return _IMP_algebra.ExtendedGridIndex5D___lt__(self, *args)
5951 def __gt__(self, *args):
5952 """__gt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5953 return _IMP_algebra.ExtendedGridIndex5D___gt__(self, *args)
5955 def __ge__(self, *args):
5956 """__ge__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5957 return _IMP_algebra.ExtendedGridIndex5D___ge__(self, *args)
5959 def __le__(self, *args):
5960 """__le__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5961 return _IMP_algebra.ExtendedGridIndex5D___le__(self, *args)
5963 def __setitem__(self, *args):
5964 """__setitem__(ExtendedGridIndex5D self, unsigned int i, int const & v)"""
5965 return _IMP_algebra.ExtendedGridIndex5D___setitem__(self, *args)
5967 def __getitem__(self, *args):
5968 """__getitem__(ExtendedGridIndex5D self, unsigned int i) -> int const &"""
5969 return _IMP_algebra.ExtendedGridIndex5D___getitem__(self, *args)
5971 def show(self, *args):
5973 show(ExtendedGridIndex5D self, _ostream out=std::cout)
5974 show(ExtendedGridIndex5D self)
5976 return _IMP_algebra.ExtendedGridIndex5D_show(self, *args)
5979 """__len__(ExtendedGridIndex5D self) -> unsigned int"""
5980 return _IMP_algebra.ExtendedGridIndex5D___len__(self)
5983 """__hash__(ExtendedGridIndex5D self) -> std::size_t"""
5984 return _IMP_algebra.ExtendedGridIndex5D___hash__(self)
5986 def get_uniform_offset(self, *args):
5987 """get_uniform_offset(ExtendedGridIndex5D self, int ii) -> ExtendedGridIndex5D"""
5988 return _IMP_algebra.ExtendedGridIndex5D_get_uniform_offset(self, *args)
5990 def get_offset(self, *args):
5991 """get_offset(ExtendedGridIndex5D self, int i, int j, int k) -> ExtendedGridIndex5D"""
5992 return _IMP_algebra.ExtendedGridIndex5D_get_offset(self, *args)
5995 """__str__(ExtendedGridIndex5D self) -> std::string"""
5996 return _IMP_algebra.ExtendedGridIndex5D___str__(self)
5999 """__repr__(ExtendedGridIndex5D self) -> std::string"""
6000 return _IMP_algebra.ExtendedGridIndex5D___repr__(self)
6002 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex5D
6003 __del__ =
lambda self :
None;
6004 ExtendedGridIndex5D_swigregister = _IMP_algebra.ExtendedGridIndex5D_swigregister
6005 ExtendedGridIndex5D_swigregister(ExtendedGridIndex5D)
6007 class ExtendedGridIndex6D(IMP.base._Value):
6008 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(6)> class"""
6009 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6010 def __init__(self, *args):
6012 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, IMP::Ints vals) -> ExtendedGridIndex6D
6013 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x) -> ExtendedGridIndex6D
6014 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y) -> ExtendedGridIndex6D
6015 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y, int z) -> ExtendedGridIndex6D
6016 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l) -> ExtendedGridIndex6D
6017 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex6D
6018 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex6D
6019 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self) -> ExtendedGridIndex6D
6021 this = _IMP_algebra.new_ExtendedGridIndex6D(*args)
6022 try: self.this.append(this)
6023 except: self.this = this
6024 def get_dimension(self):
6025 """get_dimension(ExtendedGridIndex6D self) -> unsigned int"""
6026 return _IMP_algebra.ExtendedGridIndex6D_get_dimension(self)
6028 def __cmp__(self, *args):
6029 """__cmp__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> int"""
6030 return _IMP_algebra.ExtendedGridIndex6D___cmp__(self, *args)
6032 def __eq__(self, *args):
6033 """__eq__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
6034 return _IMP_algebra.ExtendedGridIndex6D___eq__(self, *args)
6036 def __ne__(self, *args):
6037 """__ne__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
6038 return _IMP_algebra.ExtendedGridIndex6D___ne__(self, *args)
6040 def __lt__(self, *args):
6041 """__lt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
6042 return _IMP_algebra.ExtendedGridIndex6D___lt__(self, *args)
6044 def __gt__(self, *args):
6045 """__gt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
6046 return _IMP_algebra.ExtendedGridIndex6D___gt__(self, *args)
6048 def __ge__(self, *args):
6049 """__ge__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
6050 return _IMP_algebra.ExtendedGridIndex6D___ge__(self, *args)
6052 def __le__(self, *args):
6053 """__le__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
6054 return _IMP_algebra.ExtendedGridIndex6D___le__(self, *args)
6056 def __setitem__(self, *args):
6057 """__setitem__(ExtendedGridIndex6D self, unsigned int i, int const & v)"""
6058 return _IMP_algebra.ExtendedGridIndex6D___setitem__(self, *args)
6060 def __getitem__(self, *args):
6061 """__getitem__(ExtendedGridIndex6D self, unsigned int i) -> int const &"""
6062 return _IMP_algebra.ExtendedGridIndex6D___getitem__(self, *args)
6064 def show(self, *args):
6066 show(ExtendedGridIndex6D self, _ostream out=std::cout)
6067 show(ExtendedGridIndex6D self)
6069 return _IMP_algebra.ExtendedGridIndex6D_show(self, *args)
6072 """__len__(ExtendedGridIndex6D self) -> unsigned int"""
6073 return _IMP_algebra.ExtendedGridIndex6D___len__(self)
6076 """__hash__(ExtendedGridIndex6D self) -> std::size_t"""
6077 return _IMP_algebra.ExtendedGridIndex6D___hash__(self)
6079 def get_uniform_offset(self, *args):
6080 """get_uniform_offset(ExtendedGridIndex6D self, int ii) -> ExtendedGridIndex6D"""
6081 return _IMP_algebra.ExtendedGridIndex6D_get_uniform_offset(self, *args)
6083 def get_offset(self, *args):
6084 """get_offset(ExtendedGridIndex6D self, int i, int j, int k) -> ExtendedGridIndex6D"""
6085 return _IMP_algebra.ExtendedGridIndex6D_get_offset(self, *args)
6088 """__str__(ExtendedGridIndex6D self) -> std::string"""
6089 return _IMP_algebra.ExtendedGridIndex6D___str__(self)
6092 """__repr__(ExtendedGridIndex6D self) -> std::string"""
6093 return _IMP_algebra.ExtendedGridIndex6D___repr__(self)
6095 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex6D
6096 __del__ =
lambda self :
None;
6097 ExtendedGridIndex6D_swigregister = _IMP_algebra.ExtendedGridIndex6D_swigregister
6098 ExtendedGridIndex6D_swigregister(ExtendedGridIndex6D)
6100 class ExtendedGridIndexKD(IMP.base._Value):
6101 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(-1)> class"""
6102 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6103 def __init__(self, *args):
6105 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, IMP::Ints vals) -> ExtendedGridIndexKD
6106 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x) -> ExtendedGridIndexKD
6107 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y) -> ExtendedGridIndexKD
6108 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y, int z) -> ExtendedGridIndexKD
6109 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l) -> ExtendedGridIndexKD
6110 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndexKD
6111 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndexKD
6112 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self) -> ExtendedGridIndexKD
6114 this = _IMP_algebra.new_ExtendedGridIndexKD(*args)
6115 try: self.this.append(this)
6116 except: self.this = this
6117 def get_dimension(self):
6118 """get_dimension(ExtendedGridIndexKD self) -> unsigned int"""
6119 return _IMP_algebra.ExtendedGridIndexKD_get_dimension(self)
6121 def __cmp__(self, *args):
6122 """__cmp__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> int"""
6123 return _IMP_algebra.ExtendedGridIndexKD___cmp__(self, *args)
6125 def __eq__(self, *args):
6126 """__eq__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
6127 return _IMP_algebra.ExtendedGridIndexKD___eq__(self, *args)
6129 def __ne__(self, *args):
6130 """__ne__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
6131 return _IMP_algebra.ExtendedGridIndexKD___ne__(self, *args)
6133 def __lt__(self, *args):
6134 """__lt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
6135 return _IMP_algebra.ExtendedGridIndexKD___lt__(self, *args)
6137 def __gt__(self, *args):
6138 """__gt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
6139 return _IMP_algebra.ExtendedGridIndexKD___gt__(self, *args)
6141 def __ge__(self, *args):
6142 """__ge__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
6143 return _IMP_algebra.ExtendedGridIndexKD___ge__(self, *args)
6145 def __le__(self, *args):
6146 """__le__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
6147 return _IMP_algebra.ExtendedGridIndexKD___le__(self, *args)
6149 def __setitem__(self, *args):
6150 """__setitem__(ExtendedGridIndexKD self, unsigned int i, int const & v)"""
6151 return _IMP_algebra.ExtendedGridIndexKD___setitem__(self, *args)
6153 def __getitem__(self, *args):
6154 """__getitem__(ExtendedGridIndexKD self, unsigned int i) -> int const &"""
6155 return _IMP_algebra.ExtendedGridIndexKD___getitem__(self, *args)
6157 def show(self, *args):
6159 show(ExtendedGridIndexKD self, _ostream out=std::cout)
6160 show(ExtendedGridIndexKD self)
6162 return _IMP_algebra.ExtendedGridIndexKD_show(self, *args)
6165 """__len__(ExtendedGridIndexKD self) -> unsigned int"""
6166 return _IMP_algebra.ExtendedGridIndexKD___len__(self)
6169 """__hash__(ExtendedGridIndexKD self) -> std::size_t"""
6170 return _IMP_algebra.ExtendedGridIndexKD___hash__(self)
6172 def get_uniform_offset(self, *args):
6173 """get_uniform_offset(ExtendedGridIndexKD self, int ii) -> ExtendedGridIndexKD"""
6174 return _IMP_algebra.ExtendedGridIndexKD_get_uniform_offset(self, *args)
6176 def get_offset(self, *args):
6177 """get_offset(ExtendedGridIndexKD self, int i, int j, int k) -> ExtendedGridIndexKD"""
6178 return _IMP_algebra.ExtendedGridIndexKD_get_offset(self, *args)
6181 """__str__(ExtendedGridIndexKD self) -> std::string"""
6182 return _IMP_algebra.ExtendedGridIndexKD___str__(self)
6185 """__repr__(ExtendedGridIndexKD self) -> std::string"""
6186 return _IMP_algebra.ExtendedGridIndexKD___repr__(self)
6188 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndexKD
6189 __del__ =
lambda self :
None;
6190 ExtendedGridIndexKD_swigregister = _IMP_algebra.ExtendedGridIndexKD_swigregister
6191 ExtendedGridIndexKD_swigregister(ExtendedGridIndexKD)
6193 class BoundedGridRange1D(object):
6194 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(1)> class"""
6195 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6196 def get_is_bounded():
6197 """get_is_bounded() -> bool"""
6198 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
6200 get_is_bounded = staticmethod(get_is_bounded)
6201 def __init__(self, *args):
6203 __init__(IMP::algebra::BoundedGridRangeD<(1)> self) -> BoundedGridRange1D
6204 __init__(IMP::algebra::BoundedGridRangeD<(1)> self, IMP::Ints const & counts) -> BoundedGridRange1D
6206 this = _IMP_algebra.new_BoundedGridRange1D(*args)
6207 try: self.this.append(this)
6208 except: self.this = this
6209 def get_number_of_voxels(self, *args):
6211 get_number_of_voxels(BoundedGridRange1D self, unsigned int i) -> unsigned int
6212 get_number_of_voxels(BoundedGridRange1D self) -> unsigned int
6214 return _IMP_algebra.BoundedGridRange1D_get_number_of_voxels(self, *args)
6216 def get_end_index(self):
6217 """get_end_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
6218 return _IMP_algebra.BoundedGridRange1D_get_end_index(self)
6220 def show(self, *args):
6222 show(BoundedGridRange1D self, _ostream out=std::cout)
6223 show(BoundedGridRange1D self)
6225 return _IMP_algebra.BoundedGridRange1D_show(self, *args)
6227 def get_all_indexes(self):
6228 """get_all_indexes(BoundedGridRange1D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 1 > >"""
6229 return _IMP_algebra.BoundedGridRange1D_get_all_indexes(self)
6232 """get_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 1 > >"""
6233 return _IMP_algebra.BoundedGridRange1D_get_indexes(self, *args)
6235 def get_extended_indexes(self, *args):
6236 """get_extended_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
6237 return _IMP_algebra.BoundedGridRange1D_get_extended_indexes(self, *args)
6240 """get_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> GridIndex1D"""
6241 return _IMP_algebra.BoundedGridRange1D_get_index(self, *args)
6243 def get_has_index(self, *args):
6244 """get_has_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> bool"""
6245 return _IMP_algebra.BoundedGridRange1D_get_has_index(self, *args)
6247 def get_minimum_extended_index(self):
6248 """get_minimum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
6249 return _IMP_algebra.BoundedGridRange1D_get_minimum_extended_index(self)
6251 def get_maximum_extended_index(self):
6252 """get_maximum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
6253 return _IMP_algebra.BoundedGridRange1D_get_maximum_extended_index(self)
6256 """__str__(BoundedGridRange1D self) -> std::string"""
6257 return _IMP_algebra.BoundedGridRange1D___str__(self)
6260 """__repr__(BoundedGridRange1D self) -> std::string"""
6261 return _IMP_algebra.BoundedGridRange1D___repr__(self)
6263 def __cmp__(self, *args):
6264 """__cmp__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> int"""
6265 return _IMP_algebra.BoundedGridRange1D___cmp__(self, *args)
6267 def __eq__(self, *args):
6268 """__eq__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> bool"""
6269 return _IMP_algebra.BoundedGridRange1D___eq__(self, *args)
6271 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange1D
6272 __del__ =
lambda self :
None;
6273 BoundedGridRange1D_swigregister = _IMP_algebra.BoundedGridRange1D_swigregister
6274 BoundedGridRange1D_swigregister(BoundedGridRange1D)
6276 def BoundedGridRange1D_get_is_bounded():
6277 """BoundedGridRange1D_get_is_bounded() -> bool"""
6278 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
6280 class BoundedGridRange2D(object):
6281 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(2)> class"""
6282 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6283 def get_is_bounded():
6284 """get_is_bounded() -> bool"""
6285 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
6287 get_is_bounded = staticmethod(get_is_bounded)
6288 def __init__(self, *args):
6290 __init__(IMP::algebra::BoundedGridRangeD<(2)> self) -> BoundedGridRange2D
6291 __init__(IMP::algebra::BoundedGridRangeD<(2)> self, IMP::Ints const & counts) -> BoundedGridRange2D
6293 this = _IMP_algebra.new_BoundedGridRange2D(*args)
6294 try: self.this.append(this)
6295 except: self.this = this
6296 def get_number_of_voxels(self, *args):
6298 get_number_of_voxels(BoundedGridRange2D self, unsigned int i) -> unsigned int
6299 get_number_of_voxels(BoundedGridRange2D self) -> unsigned int
6301 return _IMP_algebra.BoundedGridRange2D_get_number_of_voxels(self, *args)
6303 def get_end_index(self):
6304 """get_end_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
6305 return _IMP_algebra.BoundedGridRange2D_get_end_index(self)
6307 def show(self, *args):
6309 show(BoundedGridRange2D self, _ostream out=std::cout)
6310 show(BoundedGridRange2D self)
6312 return _IMP_algebra.BoundedGridRange2D_show(self, *args)
6314 def get_all_indexes(self):
6315 """get_all_indexes(BoundedGridRange2D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 2 > >"""
6316 return _IMP_algebra.BoundedGridRange2D_get_all_indexes(self)
6319 """get_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 2 > >"""
6320 return _IMP_algebra.BoundedGridRange2D_get_indexes(self, *args)
6322 def get_extended_indexes(self, *args):
6323 """get_extended_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
6324 return _IMP_algebra.BoundedGridRange2D_get_extended_indexes(self, *args)
6327 """get_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> GridIndex2D"""
6328 return _IMP_algebra.BoundedGridRange2D_get_index(self, *args)
6330 def get_has_index(self, *args):
6331 """get_has_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> bool"""
6332 return _IMP_algebra.BoundedGridRange2D_get_has_index(self, *args)
6334 def get_minimum_extended_index(self):
6335 """get_minimum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
6336 return _IMP_algebra.BoundedGridRange2D_get_minimum_extended_index(self)
6338 def get_maximum_extended_index(self):
6339 """get_maximum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
6340 return _IMP_algebra.BoundedGridRange2D_get_maximum_extended_index(self)
6343 """__str__(BoundedGridRange2D self) -> std::string"""
6344 return _IMP_algebra.BoundedGridRange2D___str__(self)
6347 """__repr__(BoundedGridRange2D self) -> std::string"""
6348 return _IMP_algebra.BoundedGridRange2D___repr__(self)
6350 def __cmp__(self, *args):
6351 """__cmp__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> int"""
6352 return _IMP_algebra.BoundedGridRange2D___cmp__(self, *args)
6354 def __eq__(self, *args):
6355 """__eq__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> bool"""
6356 return _IMP_algebra.BoundedGridRange2D___eq__(self, *args)
6358 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange2D
6359 __del__ =
lambda self :
None;
6360 BoundedGridRange2D_swigregister = _IMP_algebra.BoundedGridRange2D_swigregister
6361 BoundedGridRange2D_swigregister(BoundedGridRange2D)
6363 def BoundedGridRange2D_get_is_bounded():
6364 """BoundedGridRange2D_get_is_bounded() -> bool"""
6365 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
6367 class BoundedGridRange3D(object):
6368 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(3)> class"""
6369 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6370 def get_is_bounded():
6371 """get_is_bounded() -> bool"""
6372 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
6374 get_is_bounded = staticmethod(get_is_bounded)
6375 def __init__(self, *args):
6377 __init__(IMP::algebra::BoundedGridRangeD<(3)> self) -> BoundedGridRange3D
6378 __init__(IMP::algebra::BoundedGridRangeD<(3)> self, IMP::Ints const & counts) -> BoundedGridRange3D
6380 this = _IMP_algebra.new_BoundedGridRange3D(*args)
6381 try: self.this.append(this)
6382 except: self.this = this
6383 def get_number_of_voxels(self, *args):
6385 get_number_of_voxels(BoundedGridRange3D self, unsigned int i) -> unsigned int
6386 get_number_of_voxels(BoundedGridRange3D self) -> unsigned int
6388 return _IMP_algebra.BoundedGridRange3D_get_number_of_voxels(self, *args)
6390 def get_end_index(self):
6391 """get_end_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
6392 return _IMP_algebra.BoundedGridRange3D_get_end_index(self)
6394 def show(self, *args):
6396 show(BoundedGridRange3D self, _ostream out=std::cout)
6397 show(BoundedGridRange3D self)
6399 return _IMP_algebra.BoundedGridRange3D_show(self, *args)
6401 def get_all_indexes(self):
6402 """get_all_indexes(BoundedGridRange3D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
6403 return _IMP_algebra.BoundedGridRange3D_get_all_indexes(self)
6406 """get_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
6407 return _IMP_algebra.BoundedGridRange3D_get_indexes(self, *args)
6409 def get_extended_indexes(self, *args):
6410 """get_extended_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
6411 return _IMP_algebra.BoundedGridRange3D_get_extended_indexes(self, *args)
6414 """get_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6415 return _IMP_algebra.BoundedGridRange3D_get_index(self, *args)
6417 def get_has_index(self, *args):
6418 """get_has_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> bool"""
6419 return _IMP_algebra.BoundedGridRange3D_get_has_index(self, *args)
6421 def get_minimum_extended_index(self):
6422 """get_minimum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
6423 return _IMP_algebra.BoundedGridRange3D_get_minimum_extended_index(self)
6425 def get_maximum_extended_index(self):
6426 """get_maximum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
6427 return _IMP_algebra.BoundedGridRange3D_get_maximum_extended_index(self)
6430 """__str__(BoundedGridRange3D self) -> std::string"""
6431 return _IMP_algebra.BoundedGridRange3D___str__(self)
6434 """__repr__(BoundedGridRange3D self) -> std::string"""
6435 return _IMP_algebra.BoundedGridRange3D___repr__(self)
6437 def __cmp__(self, *args):
6438 """__cmp__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> int"""
6439 return _IMP_algebra.BoundedGridRange3D___cmp__(self, *args)
6441 def __eq__(self, *args):
6442 """__eq__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> bool"""
6443 return _IMP_algebra.BoundedGridRange3D___eq__(self, *args)
6445 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange3D
6446 __del__ =
lambda self :
None;
6447 BoundedGridRange3D_swigregister = _IMP_algebra.BoundedGridRange3D_swigregister
6448 BoundedGridRange3D_swigregister(BoundedGridRange3D)
6450 def BoundedGridRange3D_get_is_bounded():
6451 """BoundedGridRange3D_get_is_bounded() -> bool"""
6452 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
6454 class BoundedGridRange4D(object):
6455 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(4)> class"""
6456 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6457 def get_is_bounded():
6458 """get_is_bounded() -> bool"""
6459 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
6461 get_is_bounded = staticmethod(get_is_bounded)
6462 def __init__(self, *args):
6464 __init__(IMP::algebra::BoundedGridRangeD<(4)> self) -> BoundedGridRange4D
6465 __init__(IMP::algebra::BoundedGridRangeD<(4)> self, IMP::Ints const & counts) -> BoundedGridRange4D
6467 this = _IMP_algebra.new_BoundedGridRange4D(*args)
6468 try: self.this.append(this)
6469 except: self.this = this
6470 def get_number_of_voxels(self, *args):
6472 get_number_of_voxels(BoundedGridRange4D self, unsigned int i) -> unsigned int
6473 get_number_of_voxels(BoundedGridRange4D self) -> unsigned int
6475 return _IMP_algebra.BoundedGridRange4D_get_number_of_voxels(self, *args)
6477 def get_end_index(self):
6478 """get_end_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
6479 return _IMP_algebra.BoundedGridRange4D_get_end_index(self)
6481 def show(self, *args):
6483 show(BoundedGridRange4D self, _ostream out=std::cout)
6484 show(BoundedGridRange4D self)
6486 return _IMP_algebra.BoundedGridRange4D_show(self, *args)
6488 def get_all_indexes(self):
6489 """get_all_indexes(BoundedGridRange4D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 4 > >"""
6490 return _IMP_algebra.BoundedGridRange4D_get_all_indexes(self)
6493 """get_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 4 > >"""
6494 return _IMP_algebra.BoundedGridRange4D_get_indexes(self, *args)
6496 def get_extended_indexes(self, *args):
6497 """get_extended_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
6498 return _IMP_algebra.BoundedGridRange4D_get_extended_indexes(self, *args)
6501 """get_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> GridIndex4D"""
6502 return _IMP_algebra.BoundedGridRange4D_get_index(self, *args)
6504 def get_has_index(self, *args):
6505 """get_has_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> bool"""
6506 return _IMP_algebra.BoundedGridRange4D_get_has_index(self, *args)
6508 def get_minimum_extended_index(self):
6509 """get_minimum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
6510 return _IMP_algebra.BoundedGridRange4D_get_minimum_extended_index(self)
6512 def get_maximum_extended_index(self):
6513 """get_maximum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
6514 return _IMP_algebra.BoundedGridRange4D_get_maximum_extended_index(self)
6517 """__str__(BoundedGridRange4D self) -> std::string"""
6518 return _IMP_algebra.BoundedGridRange4D___str__(self)
6521 """__repr__(BoundedGridRange4D self) -> std::string"""
6522 return _IMP_algebra.BoundedGridRange4D___repr__(self)
6524 def __cmp__(self, *args):
6525 """__cmp__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> int"""
6526 return _IMP_algebra.BoundedGridRange4D___cmp__(self, *args)
6528 def __eq__(self, *args):
6529 """__eq__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> bool"""
6530 return _IMP_algebra.BoundedGridRange4D___eq__(self, *args)
6532 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange4D
6533 __del__ =
lambda self :
None;
6534 BoundedGridRange4D_swigregister = _IMP_algebra.BoundedGridRange4D_swigregister
6535 BoundedGridRange4D_swigregister(BoundedGridRange4D)
6537 def BoundedGridRange4D_get_is_bounded():
6538 """BoundedGridRange4D_get_is_bounded() -> bool"""
6539 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
6541 class BoundedGridRange5D(object):
6542 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(5)> class"""
6543 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6544 def get_is_bounded():
6545 """get_is_bounded() -> bool"""
6546 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
6548 get_is_bounded = staticmethod(get_is_bounded)
6549 def __init__(self, *args):
6551 __init__(IMP::algebra::BoundedGridRangeD<(5)> self) -> BoundedGridRange5D
6552 __init__(IMP::algebra::BoundedGridRangeD<(5)> self, IMP::Ints const & counts) -> BoundedGridRange5D
6554 this = _IMP_algebra.new_BoundedGridRange5D(*args)
6555 try: self.this.append(this)
6556 except: self.this = this
6557 def get_number_of_voxels(self, *args):
6559 get_number_of_voxels(BoundedGridRange5D self, unsigned int i) -> unsigned int
6560 get_number_of_voxels(BoundedGridRange5D self) -> unsigned int
6562 return _IMP_algebra.BoundedGridRange5D_get_number_of_voxels(self, *args)
6564 def get_end_index(self):
6565 """get_end_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
6566 return _IMP_algebra.BoundedGridRange5D_get_end_index(self)
6568 def show(self, *args):
6570 show(BoundedGridRange5D self, _ostream out=std::cout)
6571 show(BoundedGridRange5D self)
6573 return _IMP_algebra.BoundedGridRange5D_show(self, *args)
6575 def get_all_indexes(self):
6576 """get_all_indexes(BoundedGridRange5D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 5 > >"""
6577 return _IMP_algebra.BoundedGridRange5D_get_all_indexes(self)
6580 """get_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 5 > >"""
6581 return _IMP_algebra.BoundedGridRange5D_get_indexes(self, *args)
6583 def get_extended_indexes(self, *args):
6584 """get_extended_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
6585 return _IMP_algebra.BoundedGridRange5D_get_extended_indexes(self, *args)
6588 """get_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> GridIndex5D"""
6589 return _IMP_algebra.BoundedGridRange5D_get_index(self, *args)
6591 def get_has_index(self, *args):
6592 """get_has_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> bool"""
6593 return _IMP_algebra.BoundedGridRange5D_get_has_index(self, *args)
6595 def get_minimum_extended_index(self):
6596 """get_minimum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
6597 return _IMP_algebra.BoundedGridRange5D_get_minimum_extended_index(self)
6599 def get_maximum_extended_index(self):
6600 """get_maximum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
6601 return _IMP_algebra.BoundedGridRange5D_get_maximum_extended_index(self)
6604 """__str__(BoundedGridRange5D self) -> std::string"""
6605 return _IMP_algebra.BoundedGridRange5D___str__(self)
6608 """__repr__(BoundedGridRange5D self) -> std::string"""
6609 return _IMP_algebra.BoundedGridRange5D___repr__(self)
6611 def __cmp__(self, *args):
6612 """__cmp__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> int"""
6613 return _IMP_algebra.BoundedGridRange5D___cmp__(self, *args)
6615 def __eq__(self, *args):
6616 """__eq__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> bool"""
6617 return _IMP_algebra.BoundedGridRange5D___eq__(self, *args)
6619 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange5D
6620 __del__ =
lambda self :
None;
6621 BoundedGridRange5D_swigregister = _IMP_algebra.BoundedGridRange5D_swigregister
6622 BoundedGridRange5D_swigregister(BoundedGridRange5D)
6624 def BoundedGridRange5D_get_is_bounded():
6625 """BoundedGridRange5D_get_is_bounded() -> bool"""
6626 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
6628 class BoundedGridRange6D(object):
6629 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(6)> class"""
6630 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6631 def get_is_bounded():
6632 """get_is_bounded() -> bool"""
6633 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
6635 get_is_bounded = staticmethod(get_is_bounded)
6636 def __init__(self, *args):
6638 __init__(IMP::algebra::BoundedGridRangeD<(6)> self) -> BoundedGridRange6D
6639 __init__(IMP::algebra::BoundedGridRangeD<(6)> self, IMP::Ints const & counts) -> BoundedGridRange6D
6641 this = _IMP_algebra.new_BoundedGridRange6D(*args)
6642 try: self.this.append(this)
6643 except: self.this = this
6644 def get_number_of_voxels(self, *args):
6646 get_number_of_voxels(BoundedGridRange6D self, unsigned int i) -> unsigned int
6647 get_number_of_voxels(BoundedGridRange6D self) -> unsigned int
6649 return _IMP_algebra.BoundedGridRange6D_get_number_of_voxels(self, *args)
6651 def get_end_index(self):
6652 """get_end_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
6653 return _IMP_algebra.BoundedGridRange6D_get_end_index(self)
6655 def show(self, *args):
6657 show(BoundedGridRange6D self, _ostream out=std::cout)
6658 show(BoundedGridRange6D self)
6660 return _IMP_algebra.BoundedGridRange6D_show(self, *args)
6662 def get_all_indexes(self):
6663 """get_all_indexes(BoundedGridRange6D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 6 > >"""
6664 return _IMP_algebra.BoundedGridRange6D_get_all_indexes(self)
6667 """get_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 6 > >"""
6668 return _IMP_algebra.BoundedGridRange6D_get_indexes(self, *args)
6670 def get_extended_indexes(self, *args):
6671 """get_extended_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
6672 return _IMP_algebra.BoundedGridRange6D_get_extended_indexes(self, *args)
6675 """get_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> GridIndex6D"""
6676 return _IMP_algebra.BoundedGridRange6D_get_index(self, *args)
6678 def get_has_index(self, *args):
6679 """get_has_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> bool"""
6680 return _IMP_algebra.BoundedGridRange6D_get_has_index(self, *args)
6682 def get_minimum_extended_index(self):
6683 """get_minimum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
6684 return _IMP_algebra.BoundedGridRange6D_get_minimum_extended_index(self)
6686 def get_maximum_extended_index(self):
6687 """get_maximum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
6688 return _IMP_algebra.BoundedGridRange6D_get_maximum_extended_index(self)
6691 """__str__(BoundedGridRange6D self) -> std::string"""
6692 return _IMP_algebra.BoundedGridRange6D___str__(self)
6695 """__repr__(BoundedGridRange6D self) -> std::string"""
6696 return _IMP_algebra.BoundedGridRange6D___repr__(self)
6698 def __cmp__(self, *args):
6699 """__cmp__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> int"""
6700 return _IMP_algebra.BoundedGridRange6D___cmp__(self, *args)
6702 def __eq__(self, *args):
6703 """__eq__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> bool"""
6704 return _IMP_algebra.BoundedGridRange6D___eq__(self, *args)
6706 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange6D
6707 __del__ =
lambda self :
None;
6708 BoundedGridRange6D_swigregister = _IMP_algebra.BoundedGridRange6D_swigregister
6709 BoundedGridRange6D_swigregister(BoundedGridRange6D)
6711 def BoundedGridRange6D_get_is_bounded():
6712 """BoundedGridRange6D_get_is_bounded() -> bool"""
6713 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
6715 class BoundedGridRangeKD(object):
6716 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(-1)> class"""
6717 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6718 def get_is_bounded():
6719 """get_is_bounded() -> bool"""
6720 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
6722 get_is_bounded = staticmethod(get_is_bounded)
6723 def __init__(self, *args):
6725 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self) -> BoundedGridRangeKD
6726 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self, IMP::Ints const & counts) -> BoundedGridRangeKD
6728 this = _IMP_algebra.new_BoundedGridRangeKD(*args)
6729 try: self.this.append(this)
6730 except: self.this = this
6731 def get_number_of_voxels(self, *args):
6733 get_number_of_voxels(BoundedGridRangeKD self, unsigned int i) -> unsigned int
6734 get_number_of_voxels(BoundedGridRangeKD self) -> unsigned int
6736 return _IMP_algebra.BoundedGridRangeKD_get_number_of_voxels(self, *args)
6738 def get_end_index(self):
6739 """get_end_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
6740 return _IMP_algebra.BoundedGridRangeKD_get_end_index(self)
6742 def show(self, *args):
6744 show(BoundedGridRangeKD self, _ostream out=std::cout)
6745 show(BoundedGridRangeKD self)
6747 return _IMP_algebra.BoundedGridRangeKD_show(self, *args)
6749 def get_all_indexes(self):
6750 """get_all_indexes(BoundedGridRangeKD self) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
6751 return _IMP_algebra.BoundedGridRangeKD_get_all_indexes(self)
6754 """get_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
6755 return _IMP_algebra.BoundedGridRangeKD_get_indexes(self, *args)
6757 def get_extended_indexes(self, *args):
6758 """get_extended_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
6759 return _IMP_algebra.BoundedGridRangeKD_get_extended_indexes(self, *args)
6762 """get_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
6763 return _IMP_algebra.BoundedGridRangeKD_get_index(self, *args)
6765 def get_has_index(self, *args):
6766 """get_has_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> bool"""
6767 return _IMP_algebra.BoundedGridRangeKD_get_has_index(self, *args)
6769 def get_minimum_extended_index(self):
6770 """get_minimum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
6771 return _IMP_algebra.BoundedGridRangeKD_get_minimum_extended_index(self)
6773 def get_maximum_extended_index(self):
6774 """get_maximum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
6775 return _IMP_algebra.BoundedGridRangeKD_get_maximum_extended_index(self)
6778 """__str__(BoundedGridRangeKD self) -> std::string"""
6779 return _IMP_algebra.BoundedGridRangeKD___str__(self)
6782 """__repr__(BoundedGridRangeKD self) -> std::string"""
6783 return _IMP_algebra.BoundedGridRangeKD___repr__(self)
6785 def __cmp__(self, *args):
6786 """__cmp__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> int"""
6787 return _IMP_algebra.BoundedGridRangeKD___cmp__(self, *args)
6789 def __eq__(self, *args):
6790 """__eq__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> bool"""
6791 return _IMP_algebra.BoundedGridRangeKD___eq__(self, *args)
6793 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRangeKD
6794 __del__ =
lambda self :
None;
6795 BoundedGridRangeKD_swigregister = _IMP_algebra.BoundedGridRangeKD_swigregister
6796 BoundedGridRangeKD_swigregister(BoundedGridRangeKD)
6798 def BoundedGridRangeKD_get_is_bounded():
6799 """BoundedGridRangeKD_get_is_bounded() -> bool"""
6800 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
6802 class UnboundedGridRange1D(object):
6803 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(1)> class"""
6804 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6805 def __init__(self, *args):
6807 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self) -> UnboundedGridRange1D
6808 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self, IMP::Ints const & arg2) -> UnboundedGridRange1D
6810 this = _IMP_algebra.new_UnboundedGridRange1D(*args)
6811 try: self.this.append(this)
6812 except: self.this = this
6813 def set_number_of_voxels(self, *args):
6814 """set_number_of_voxels(UnboundedGridRange1D self, IMP::Ints arg2)"""
6815 return _IMP_algebra.UnboundedGridRange1D_set_number_of_voxels(self, *args)
6817 def get_number_of_voxels(self, *args):
6818 """get_number_of_voxels(UnboundedGridRange1D self, int arg2) -> unsigned int"""
6819 return _IMP_algebra.UnboundedGridRange1D_get_number_of_voxels(self, *args)
6821 def get_is_bounded():
6822 """get_is_bounded() -> bool"""
6823 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
6825 get_is_bounded = staticmethod(get_is_bounded)
6826 def get_has_index(self, *args):
6827 """get_has_index(UnboundedGridRange1D self, ExtendedGridIndex1D arg2) -> bool"""
6828 return _IMP_algebra.UnboundedGridRange1D_get_has_index(self, *args)
6830 def show(self, *args):
6832 show(UnboundedGridRange1D self, _ostream out=std::cout)
6833 show(UnboundedGridRange1D self)
6835 return _IMP_algebra.UnboundedGridRange1D_show(self, *args)
6837 def get_extended_indexes(self, *args):
6838 """get_extended_indexes(UnboundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
6839 return _IMP_algebra.UnboundedGridRange1D_get_extended_indexes(self, *args)
6842 """__str__(UnboundedGridRange1D self) -> std::string"""
6843 return _IMP_algebra.UnboundedGridRange1D___str__(self)
6846 """__repr__(UnboundedGridRange1D self) -> std::string"""
6847 return _IMP_algebra.UnboundedGridRange1D___repr__(self)
6849 def __cmp__(self, *args):
6850 """__cmp__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> int"""
6851 return _IMP_algebra.UnboundedGridRange1D___cmp__(self, *args)
6853 def __eq__(self, *args):
6854 """__eq__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> bool"""
6855 return _IMP_algebra.UnboundedGridRange1D___eq__(self, *args)
6857 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange1D
6858 __del__ =
lambda self :
None;
6859 UnboundedGridRange1D_swigregister = _IMP_algebra.UnboundedGridRange1D_swigregister
6860 UnboundedGridRange1D_swigregister(UnboundedGridRange1D)
6862 def UnboundedGridRange1D_get_is_bounded():
6863 """UnboundedGridRange1D_get_is_bounded() -> bool"""
6864 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
6866 class UnboundedGridRange2D(object):
6867 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(2)> class"""
6868 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6869 def __init__(self, *args):
6871 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self) -> UnboundedGridRange2D
6872 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self, IMP::Ints const & arg2) -> UnboundedGridRange2D
6874 this = _IMP_algebra.new_UnboundedGridRange2D(*args)
6875 try: self.this.append(this)
6876 except: self.this = this
6877 def set_number_of_voxels(self, *args):
6878 """set_number_of_voxels(UnboundedGridRange2D self, IMP::Ints arg2)"""
6879 return _IMP_algebra.UnboundedGridRange2D_set_number_of_voxels(self, *args)
6881 def get_number_of_voxels(self, *args):
6882 """get_number_of_voxels(UnboundedGridRange2D self, int arg2) -> unsigned int"""
6883 return _IMP_algebra.UnboundedGridRange2D_get_number_of_voxels(self, *args)
6885 def get_is_bounded():
6886 """get_is_bounded() -> bool"""
6887 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
6889 get_is_bounded = staticmethod(get_is_bounded)
6890 def get_has_index(self, *args):
6891 """get_has_index(UnboundedGridRange2D self, ExtendedGridIndex2D arg2) -> bool"""
6892 return _IMP_algebra.UnboundedGridRange2D_get_has_index(self, *args)
6894 def show(self, *args):
6896 show(UnboundedGridRange2D self, _ostream out=std::cout)
6897 show(UnboundedGridRange2D self)
6899 return _IMP_algebra.UnboundedGridRange2D_show(self, *args)
6901 def get_extended_indexes(self, *args):
6902 """get_extended_indexes(UnboundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
6903 return _IMP_algebra.UnboundedGridRange2D_get_extended_indexes(self, *args)
6906 """__str__(UnboundedGridRange2D self) -> std::string"""
6907 return _IMP_algebra.UnboundedGridRange2D___str__(self)
6910 """__repr__(UnboundedGridRange2D self) -> std::string"""
6911 return _IMP_algebra.UnboundedGridRange2D___repr__(self)
6913 def __cmp__(self, *args):
6914 """__cmp__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> int"""
6915 return _IMP_algebra.UnboundedGridRange2D___cmp__(self, *args)
6917 def __eq__(self, *args):
6918 """__eq__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> bool"""
6919 return _IMP_algebra.UnboundedGridRange2D___eq__(self, *args)
6921 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange2D
6922 __del__ =
lambda self :
None;
6923 UnboundedGridRange2D_swigregister = _IMP_algebra.UnboundedGridRange2D_swigregister
6924 UnboundedGridRange2D_swigregister(UnboundedGridRange2D)
6926 def UnboundedGridRange2D_get_is_bounded():
6927 """UnboundedGridRange2D_get_is_bounded() -> bool"""
6928 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
6930 class UnboundedGridRange3D(object):
6931 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(3)> class"""
6932 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6933 def __init__(self, *args):
6935 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self) -> UnboundedGridRange3D
6936 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self, IMP::Ints const & arg2) -> UnboundedGridRange3D
6938 this = _IMP_algebra.new_UnboundedGridRange3D(*args)
6939 try: self.this.append(this)
6940 except: self.this = this
6941 def set_number_of_voxels(self, *args):
6942 """set_number_of_voxels(UnboundedGridRange3D self, IMP::Ints arg2)"""
6943 return _IMP_algebra.UnboundedGridRange3D_set_number_of_voxels(self, *args)
6945 def get_number_of_voxels(self, *args):
6946 """get_number_of_voxels(UnboundedGridRange3D self, int arg2) -> unsigned int"""
6947 return _IMP_algebra.UnboundedGridRange3D_get_number_of_voxels(self, *args)
6949 def get_is_bounded():
6950 """get_is_bounded() -> bool"""
6951 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
6953 get_is_bounded = staticmethod(get_is_bounded)
6954 def get_has_index(self, *args):
6955 """get_has_index(UnboundedGridRange3D self, ExtendedGridIndex3D arg2) -> bool"""
6956 return _IMP_algebra.UnboundedGridRange3D_get_has_index(self, *args)
6958 def show(self, *args):
6960 show(UnboundedGridRange3D self, _ostream out=std::cout)
6961 show(UnboundedGridRange3D self)
6963 return _IMP_algebra.UnboundedGridRange3D_show(self, *args)
6965 def get_extended_indexes(self, *args):
6966 """get_extended_indexes(UnboundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
6967 return _IMP_algebra.UnboundedGridRange3D_get_extended_indexes(self, *args)
6970 """__str__(UnboundedGridRange3D self) -> std::string"""
6971 return _IMP_algebra.UnboundedGridRange3D___str__(self)
6974 """__repr__(UnboundedGridRange3D self) -> std::string"""
6975 return _IMP_algebra.UnboundedGridRange3D___repr__(self)
6977 def __cmp__(self, *args):
6978 """__cmp__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> int"""
6979 return _IMP_algebra.UnboundedGridRange3D___cmp__(self, *args)
6981 def __eq__(self, *args):
6982 """__eq__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> bool"""
6983 return _IMP_algebra.UnboundedGridRange3D___eq__(self, *args)
6985 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange3D
6986 __del__ =
lambda self :
None;
6987 UnboundedGridRange3D_swigregister = _IMP_algebra.UnboundedGridRange3D_swigregister
6988 UnboundedGridRange3D_swigregister(UnboundedGridRange3D)
6990 def UnboundedGridRange3D_get_is_bounded():
6991 """UnboundedGridRange3D_get_is_bounded() -> bool"""
6992 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
6994 class UnboundedGridRange4D(object):
6995 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(4)> class"""
6996 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6997 def __init__(self, *args):
6999 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self) -> UnboundedGridRange4D
7000 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self, IMP::Ints const & arg2) -> UnboundedGridRange4D
7002 this = _IMP_algebra.new_UnboundedGridRange4D(*args)
7003 try: self.this.append(this)
7004 except: self.this = this
7005 def set_number_of_voxels(self, *args):
7006 """set_number_of_voxels(UnboundedGridRange4D self, IMP::Ints arg2)"""
7007 return _IMP_algebra.UnboundedGridRange4D_set_number_of_voxels(self, *args)
7009 def get_number_of_voxels(self, *args):
7010 """get_number_of_voxels(UnboundedGridRange4D self, int arg2) -> unsigned int"""
7011 return _IMP_algebra.UnboundedGridRange4D_get_number_of_voxels(self, *args)
7013 def get_is_bounded():
7014 """get_is_bounded() -> bool"""
7015 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
7017 get_is_bounded = staticmethod(get_is_bounded)
7018 def get_has_index(self, *args):
7019 """get_has_index(UnboundedGridRange4D self, ExtendedGridIndex4D arg2) -> bool"""
7020 return _IMP_algebra.UnboundedGridRange4D_get_has_index(self, *args)
7022 def show(self, *args):
7024 show(UnboundedGridRange4D self, _ostream out=std::cout)
7025 show(UnboundedGridRange4D self)
7027 return _IMP_algebra.UnboundedGridRange4D_show(self, *args)
7029 def get_extended_indexes(self, *args):
7030 """get_extended_indexes(UnboundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
7031 return _IMP_algebra.UnboundedGridRange4D_get_extended_indexes(self, *args)
7034 """__str__(UnboundedGridRange4D self) -> std::string"""
7035 return _IMP_algebra.UnboundedGridRange4D___str__(self)
7038 """__repr__(UnboundedGridRange4D self) -> std::string"""
7039 return _IMP_algebra.UnboundedGridRange4D___repr__(self)
7041 def __cmp__(self, *args):
7042 """__cmp__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> int"""
7043 return _IMP_algebra.UnboundedGridRange4D___cmp__(self, *args)
7045 def __eq__(self, *args):
7046 """__eq__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> bool"""
7047 return _IMP_algebra.UnboundedGridRange4D___eq__(self, *args)
7049 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange4D
7050 __del__ =
lambda self :
None;
7051 UnboundedGridRange4D_swigregister = _IMP_algebra.UnboundedGridRange4D_swigregister
7052 UnboundedGridRange4D_swigregister(UnboundedGridRange4D)
7054 def UnboundedGridRange4D_get_is_bounded():
7055 """UnboundedGridRange4D_get_is_bounded() -> bool"""
7056 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
7058 class UnboundedGridRange5D(object):
7059 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(5)> class"""
7060 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7061 def __init__(self, *args):
7063 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self) -> UnboundedGridRange5D
7064 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self, IMP::Ints const & arg2) -> UnboundedGridRange5D
7066 this = _IMP_algebra.new_UnboundedGridRange5D(*args)
7067 try: self.this.append(this)
7068 except: self.this = this
7069 def set_number_of_voxels(self, *args):
7070 """set_number_of_voxels(UnboundedGridRange5D self, IMP::Ints arg2)"""
7071 return _IMP_algebra.UnboundedGridRange5D_set_number_of_voxels(self, *args)
7073 def get_number_of_voxels(self, *args):
7074 """get_number_of_voxels(UnboundedGridRange5D self, int arg2) -> unsigned int"""
7075 return _IMP_algebra.UnboundedGridRange5D_get_number_of_voxels(self, *args)
7077 def get_is_bounded():
7078 """get_is_bounded() -> bool"""
7079 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
7081 get_is_bounded = staticmethod(get_is_bounded)
7082 def get_has_index(self, *args):
7083 """get_has_index(UnboundedGridRange5D self, ExtendedGridIndex5D arg2) -> bool"""
7084 return _IMP_algebra.UnboundedGridRange5D_get_has_index(self, *args)
7086 def show(self, *args):
7088 show(UnboundedGridRange5D self, _ostream out=std::cout)
7089 show(UnboundedGridRange5D self)
7091 return _IMP_algebra.UnboundedGridRange5D_show(self, *args)
7093 def get_extended_indexes(self, *args):
7094 """get_extended_indexes(UnboundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
7095 return _IMP_algebra.UnboundedGridRange5D_get_extended_indexes(self, *args)
7098 """__str__(UnboundedGridRange5D self) -> std::string"""
7099 return _IMP_algebra.UnboundedGridRange5D___str__(self)
7102 """__repr__(UnboundedGridRange5D self) -> std::string"""
7103 return _IMP_algebra.UnboundedGridRange5D___repr__(self)
7105 def __cmp__(self, *args):
7106 """__cmp__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> int"""
7107 return _IMP_algebra.UnboundedGridRange5D___cmp__(self, *args)
7109 def __eq__(self, *args):
7110 """__eq__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> bool"""
7111 return _IMP_algebra.UnboundedGridRange5D___eq__(self, *args)
7113 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange5D
7114 __del__ =
lambda self :
None;
7115 UnboundedGridRange5D_swigregister = _IMP_algebra.UnboundedGridRange5D_swigregister
7116 UnboundedGridRange5D_swigregister(UnboundedGridRange5D)
7118 def UnboundedGridRange5D_get_is_bounded():
7119 """UnboundedGridRange5D_get_is_bounded() -> bool"""
7120 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
7122 class UnboundedGridRange6D(object):
7123 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(6)> class"""
7124 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7125 def __init__(self, *args):
7127 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self) -> UnboundedGridRange6D
7128 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self, IMP::Ints const & arg2) -> UnboundedGridRange6D
7130 this = _IMP_algebra.new_UnboundedGridRange6D(*args)
7131 try: self.this.append(this)
7132 except: self.this = this
7133 def set_number_of_voxels(self, *args):
7134 """set_number_of_voxels(UnboundedGridRange6D self, IMP::Ints arg2)"""
7135 return _IMP_algebra.UnboundedGridRange6D_set_number_of_voxels(self, *args)
7137 def get_number_of_voxels(self, *args):
7138 """get_number_of_voxels(UnboundedGridRange6D self, int arg2) -> unsigned int"""
7139 return _IMP_algebra.UnboundedGridRange6D_get_number_of_voxels(self, *args)
7141 def get_is_bounded():
7142 """get_is_bounded() -> bool"""
7143 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
7145 get_is_bounded = staticmethod(get_is_bounded)
7146 def get_has_index(self, *args):
7147 """get_has_index(UnboundedGridRange6D self, ExtendedGridIndex6D arg2) -> bool"""
7148 return _IMP_algebra.UnboundedGridRange6D_get_has_index(self, *args)
7150 def show(self, *args):
7152 show(UnboundedGridRange6D self, _ostream out=std::cout)
7153 show(UnboundedGridRange6D self)
7155 return _IMP_algebra.UnboundedGridRange6D_show(self, *args)
7157 def get_extended_indexes(self, *args):
7158 """get_extended_indexes(UnboundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
7159 return _IMP_algebra.UnboundedGridRange6D_get_extended_indexes(self, *args)
7162 """__str__(UnboundedGridRange6D self) -> std::string"""
7163 return _IMP_algebra.UnboundedGridRange6D___str__(self)
7166 """__repr__(UnboundedGridRange6D self) -> std::string"""
7167 return _IMP_algebra.UnboundedGridRange6D___repr__(self)
7169 def __cmp__(self, *args):
7170 """__cmp__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> int"""
7171 return _IMP_algebra.UnboundedGridRange6D___cmp__(self, *args)
7173 def __eq__(self, *args):
7174 """__eq__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> bool"""
7175 return _IMP_algebra.UnboundedGridRange6D___eq__(self, *args)
7177 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange6D
7178 __del__ =
lambda self :
None;
7179 UnboundedGridRange6D_swigregister = _IMP_algebra.UnboundedGridRange6D_swigregister
7180 UnboundedGridRange6D_swigregister(UnboundedGridRange6D)
7182 def UnboundedGridRange6D_get_is_bounded():
7183 """UnboundedGridRange6D_get_is_bounded() -> bool"""
7184 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
7186 class UnboundedGridRangeKD(object):
7187 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(-1)> class"""
7188 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7189 def __init__(self, *args):
7191 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self) -> UnboundedGridRangeKD
7192 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self, IMP::Ints const & arg2) -> UnboundedGridRangeKD
7194 this = _IMP_algebra.new_UnboundedGridRangeKD(*args)
7195 try: self.this.append(this)
7196 except: self.this = this
7197 def set_number_of_voxels(self, *args):
7198 """set_number_of_voxels(UnboundedGridRangeKD self, IMP::Ints arg2)"""
7199 return _IMP_algebra.UnboundedGridRangeKD_set_number_of_voxels(self, *args)
7201 def get_number_of_voxels(self, *args):
7202 """get_number_of_voxels(UnboundedGridRangeKD self, int arg2) -> unsigned int"""
7203 return _IMP_algebra.UnboundedGridRangeKD_get_number_of_voxels(self, *args)
7205 def get_is_bounded():
7206 """get_is_bounded() -> bool"""
7207 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
7209 get_is_bounded = staticmethod(get_is_bounded)
7210 def get_has_index(self, *args):
7211 """get_has_index(UnboundedGridRangeKD self, ExtendedGridIndexKD arg2) -> bool"""
7212 return _IMP_algebra.UnboundedGridRangeKD_get_has_index(self, *args)
7214 def show(self, *args):
7216 show(UnboundedGridRangeKD self, _ostream out=std::cout)
7217 show(UnboundedGridRangeKD self)
7219 return _IMP_algebra.UnboundedGridRangeKD_show(self, *args)
7221 def get_extended_indexes(self, *args):
7222 """get_extended_indexes(UnboundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
7223 return _IMP_algebra.UnboundedGridRangeKD_get_extended_indexes(self, *args)
7226 """__str__(UnboundedGridRangeKD self) -> std::string"""
7227 return _IMP_algebra.UnboundedGridRangeKD___str__(self)
7230 """__repr__(UnboundedGridRangeKD self) -> std::string"""
7231 return _IMP_algebra.UnboundedGridRangeKD___repr__(self)
7233 def __cmp__(self, *args):
7234 """__cmp__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> int"""
7235 return _IMP_algebra.UnboundedGridRangeKD___cmp__(self, *args)
7237 def __eq__(self, *args):
7238 """__eq__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> bool"""
7239 return _IMP_algebra.UnboundedGridRangeKD___eq__(self, *args)
7241 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRangeKD
7242 __del__ =
lambda self :
None;
7243 UnboundedGridRangeKD_swigregister = _IMP_algebra.UnboundedGridRangeKD_swigregister
7244 UnboundedGridRangeKD_swigregister(UnboundedGridRangeKD)
7246 def UnboundedGridRangeKD_get_is_bounded():
7247 """UnboundedGridRangeKD_get_is_bounded() -> bool"""
7248 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
7250 class DefaultEmbedding1D(object):
7251 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(1)> class"""
7252 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7253 def __init__(self, *args):
7255 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self, Vector1D origin, Vector1D cell) -> DefaultEmbedding1D
7256 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self) -> DefaultEmbedding1D
7258 this = _IMP_algebra.new_DefaultEmbedding1D(*args)
7259 try: self.this.append(this)
7260 except: self.this = this
7261 def set_origin(self, *args):
7262 """set_origin(DefaultEmbedding1D self, Vector1D o)"""
7263 return _IMP_algebra.DefaultEmbedding1D_set_origin(self, *args)
7265 def get_origin(self):
7266 """get_origin(DefaultEmbedding1D self) -> Vector1D"""
7267 return _IMP_algebra.DefaultEmbedding1D_get_origin(self)
7269 def get_dimension(self):
7270 """get_dimension(DefaultEmbedding1D self) -> unsigned int"""
7271 return _IMP_algebra.DefaultEmbedding1D_get_dimension(self)
7273 def set_unit_cell(self, *args):
7274 """set_unit_cell(DefaultEmbedding1D self, Vector1D o)"""
7275 return _IMP_algebra.DefaultEmbedding1D_set_unit_cell(self, *args)
7277 def get_inverse_unit_cell(self):
7278 """get_inverse_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
7279 return _IMP_algebra.DefaultEmbedding1D_get_inverse_unit_cell(self)
7281 def get_unit_cell(self):
7282 """get_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
7283 return _IMP_algebra.DefaultEmbedding1D_get_unit_cell(self)
7285 def get_extended_index(self, *args):
7286 """get_extended_index(DefaultEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
7287 return _IMP_algebra.DefaultEmbedding1D_get_extended_index(self, *args)
7290 """get_index(DefaultEmbedding1D self, Vector1D o) -> GridIndex1D"""
7291 return _IMP_algebra.DefaultEmbedding1D_get_index(self, *args)
7293 def get_center(self, *args):
7295 get_center(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
7296 get_center(DefaultEmbedding1D self, GridIndex1D ei) -> Vector1D
7298 return _IMP_algebra.DefaultEmbedding1D_get_center(self, *args)
7300 def get_bounding_box(self, *args):
7302 get_bounding_box(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
7303 get_bounding_box(DefaultEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
7305 return _IMP_algebra.DefaultEmbedding1D_get_bounding_box(self, *args)
7307 def show(self, *args):
7309 show(DefaultEmbedding1D self, _ostream out=std::cout)
7310 show(DefaultEmbedding1D self)
7312 return _IMP_algebra.DefaultEmbedding1D_show(self, *args)
7315 """__str__(DefaultEmbedding1D self) -> std::string"""
7316 return _IMP_algebra.DefaultEmbedding1D___str__(self)
7319 """__repr__(DefaultEmbedding1D self) -> std::string"""
7320 return _IMP_algebra.DefaultEmbedding1D___repr__(self)
7322 def __cmp__(self, *args):
7323 """__cmp__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> int"""
7324 return _IMP_algebra.DefaultEmbedding1D___cmp__(self, *args)
7326 def __eq__(self, *args):
7327 """__eq__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> bool"""
7328 return _IMP_algebra.DefaultEmbedding1D___eq__(self, *args)
7330 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding1D
7331 __del__ =
lambda self :
None;
7332 DefaultEmbedding1D_swigregister = _IMP_algebra.DefaultEmbedding1D_swigregister
7333 DefaultEmbedding1D_swigregister(DefaultEmbedding1D)
7335 class DefaultEmbedding2D(object):
7336 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(2)> class"""
7337 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7338 def __init__(self, *args):
7340 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self, Vector2D origin, Vector2D cell) -> DefaultEmbedding2D
7341 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self) -> DefaultEmbedding2D
7343 this = _IMP_algebra.new_DefaultEmbedding2D(*args)
7344 try: self.this.append(this)
7345 except: self.this = this
7346 def set_origin(self, *args):
7347 """set_origin(DefaultEmbedding2D self, Vector2D o)"""
7348 return _IMP_algebra.DefaultEmbedding2D_set_origin(self, *args)
7350 def get_origin(self):
7351 """get_origin(DefaultEmbedding2D self) -> Vector2D"""
7352 return _IMP_algebra.DefaultEmbedding2D_get_origin(self)
7354 def get_dimension(self):
7355 """get_dimension(DefaultEmbedding2D self) -> unsigned int"""
7356 return _IMP_algebra.DefaultEmbedding2D_get_dimension(self)
7358 def set_unit_cell(self, *args):
7359 """set_unit_cell(DefaultEmbedding2D self, Vector2D o)"""
7360 return _IMP_algebra.DefaultEmbedding2D_set_unit_cell(self, *args)
7362 def get_inverse_unit_cell(self):
7363 """get_inverse_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
7364 return _IMP_algebra.DefaultEmbedding2D_get_inverse_unit_cell(self)
7366 def get_unit_cell(self):
7367 """get_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
7368 return _IMP_algebra.DefaultEmbedding2D_get_unit_cell(self)
7370 def get_extended_index(self, *args):
7371 """get_extended_index(DefaultEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
7372 return _IMP_algebra.DefaultEmbedding2D_get_extended_index(self, *args)
7375 """get_index(DefaultEmbedding2D self, Vector2D o) -> GridIndex2D"""
7376 return _IMP_algebra.DefaultEmbedding2D_get_index(self, *args)
7378 def get_center(self, *args):
7380 get_center(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
7381 get_center(DefaultEmbedding2D self, GridIndex2D ei) -> Vector2D
7383 return _IMP_algebra.DefaultEmbedding2D_get_center(self, *args)
7385 def get_bounding_box(self, *args):
7387 get_bounding_box(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
7388 get_bounding_box(DefaultEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
7390 return _IMP_algebra.DefaultEmbedding2D_get_bounding_box(self, *args)
7392 def show(self, *args):
7394 show(DefaultEmbedding2D self, _ostream out=std::cout)
7395 show(DefaultEmbedding2D self)
7397 return _IMP_algebra.DefaultEmbedding2D_show(self, *args)
7400 """__str__(DefaultEmbedding2D self) -> std::string"""
7401 return _IMP_algebra.DefaultEmbedding2D___str__(self)
7404 """__repr__(DefaultEmbedding2D self) -> std::string"""
7405 return _IMP_algebra.DefaultEmbedding2D___repr__(self)
7407 def __cmp__(self, *args):
7408 """__cmp__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> int"""
7409 return _IMP_algebra.DefaultEmbedding2D___cmp__(self, *args)
7411 def __eq__(self, *args):
7412 """__eq__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> bool"""
7413 return _IMP_algebra.DefaultEmbedding2D___eq__(self, *args)
7415 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding2D
7416 __del__ =
lambda self :
None;
7417 DefaultEmbedding2D_swigregister = _IMP_algebra.DefaultEmbedding2D_swigregister
7418 DefaultEmbedding2D_swigregister(DefaultEmbedding2D)
7420 class DefaultEmbedding3D(object):
7421 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(3)> class"""
7422 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7423 def __init__(self, *args):
7425 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self, Vector3D origin, Vector3D cell) -> DefaultEmbedding3D
7426 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self) -> DefaultEmbedding3D
7428 this = _IMP_algebra.new_DefaultEmbedding3D(*args)
7429 try: self.this.append(this)
7430 except: self.this = this
7431 def set_origin(self, *args):
7432 """set_origin(DefaultEmbedding3D self, Vector3D o)"""
7433 return _IMP_algebra.DefaultEmbedding3D_set_origin(self, *args)
7435 def get_origin(self):
7436 """get_origin(DefaultEmbedding3D self) -> Vector3D"""
7437 return _IMP_algebra.DefaultEmbedding3D_get_origin(self)
7439 def get_dimension(self):
7440 """get_dimension(DefaultEmbedding3D self) -> unsigned int"""
7441 return _IMP_algebra.DefaultEmbedding3D_get_dimension(self)
7443 def set_unit_cell(self, *args):
7444 """set_unit_cell(DefaultEmbedding3D self, Vector3D o)"""
7445 return _IMP_algebra.DefaultEmbedding3D_set_unit_cell(self, *args)
7447 def get_inverse_unit_cell(self):
7448 """get_inverse_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
7449 return _IMP_algebra.DefaultEmbedding3D_get_inverse_unit_cell(self)
7451 def get_unit_cell(self):
7452 """get_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
7453 return _IMP_algebra.DefaultEmbedding3D_get_unit_cell(self)
7455 def get_extended_index(self, *args):
7456 """get_extended_index(DefaultEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
7457 return _IMP_algebra.DefaultEmbedding3D_get_extended_index(self, *args)
7460 """get_index(DefaultEmbedding3D self, Vector3D o) -> GridIndex3D"""
7461 return _IMP_algebra.DefaultEmbedding3D_get_index(self, *args)
7463 def get_center(self, *args):
7465 get_center(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
7466 get_center(DefaultEmbedding3D self, GridIndex3D ei) -> Vector3D
7468 return _IMP_algebra.DefaultEmbedding3D_get_center(self, *args)
7470 def get_bounding_box(self, *args):
7472 get_bounding_box(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
7473 get_bounding_box(DefaultEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
7475 return _IMP_algebra.DefaultEmbedding3D_get_bounding_box(self, *args)
7477 def show(self, *args):
7479 show(DefaultEmbedding3D self, _ostream out=std::cout)
7480 show(DefaultEmbedding3D self)
7482 return _IMP_algebra.DefaultEmbedding3D_show(self, *args)
7485 """__str__(DefaultEmbedding3D self) -> std::string"""
7486 return _IMP_algebra.DefaultEmbedding3D___str__(self)
7489 """__repr__(DefaultEmbedding3D self) -> std::string"""
7490 return _IMP_algebra.DefaultEmbedding3D___repr__(self)
7492 def __cmp__(self, *args):
7493 """__cmp__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> int"""
7494 return _IMP_algebra.DefaultEmbedding3D___cmp__(self, *args)
7496 def __eq__(self, *args):
7497 """__eq__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> bool"""
7498 return _IMP_algebra.DefaultEmbedding3D___eq__(self, *args)
7500 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding3D
7501 __del__ =
lambda self :
None;
7502 DefaultEmbedding3D_swigregister = _IMP_algebra.DefaultEmbedding3D_swigregister
7503 DefaultEmbedding3D_swigregister(DefaultEmbedding3D)
7505 class DefaultEmbedding4D(object):
7506 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(4)> class"""
7507 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7508 def __init__(self, *args):
7510 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self, Vector4D origin, Vector4D cell) -> DefaultEmbedding4D
7511 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self) -> DefaultEmbedding4D
7513 this = _IMP_algebra.new_DefaultEmbedding4D(*args)
7514 try: self.this.append(this)
7515 except: self.this = this
7516 def set_origin(self, *args):
7517 """set_origin(DefaultEmbedding4D self, Vector4D o)"""
7518 return _IMP_algebra.DefaultEmbedding4D_set_origin(self, *args)
7520 def get_origin(self):
7521 """get_origin(DefaultEmbedding4D self) -> Vector4D"""
7522 return _IMP_algebra.DefaultEmbedding4D_get_origin(self)
7524 def get_dimension(self):
7525 """get_dimension(DefaultEmbedding4D self) -> unsigned int"""
7526 return _IMP_algebra.DefaultEmbedding4D_get_dimension(self)
7528 def set_unit_cell(self, *args):
7529 """set_unit_cell(DefaultEmbedding4D self, Vector4D o)"""
7530 return _IMP_algebra.DefaultEmbedding4D_set_unit_cell(self, *args)
7532 def get_inverse_unit_cell(self):
7533 """get_inverse_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
7534 return _IMP_algebra.DefaultEmbedding4D_get_inverse_unit_cell(self)
7536 def get_unit_cell(self):
7537 """get_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
7538 return _IMP_algebra.DefaultEmbedding4D_get_unit_cell(self)
7540 def get_extended_index(self, *args):
7541 """get_extended_index(DefaultEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
7542 return _IMP_algebra.DefaultEmbedding4D_get_extended_index(self, *args)
7545 """get_index(DefaultEmbedding4D self, Vector4D o) -> GridIndex4D"""
7546 return _IMP_algebra.DefaultEmbedding4D_get_index(self, *args)
7548 def get_center(self, *args):
7550 get_center(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
7551 get_center(DefaultEmbedding4D self, GridIndex4D ei) -> Vector4D
7553 return _IMP_algebra.DefaultEmbedding4D_get_center(self, *args)
7555 def get_bounding_box(self, *args):
7557 get_bounding_box(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
7558 get_bounding_box(DefaultEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
7560 return _IMP_algebra.DefaultEmbedding4D_get_bounding_box(self, *args)
7562 def show(self, *args):
7564 show(DefaultEmbedding4D self, _ostream out=std::cout)
7565 show(DefaultEmbedding4D self)
7567 return _IMP_algebra.DefaultEmbedding4D_show(self, *args)
7570 """__str__(DefaultEmbedding4D self) -> std::string"""
7571 return _IMP_algebra.DefaultEmbedding4D___str__(self)
7574 """__repr__(DefaultEmbedding4D self) -> std::string"""
7575 return _IMP_algebra.DefaultEmbedding4D___repr__(self)
7577 def __cmp__(self, *args):
7578 """__cmp__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> int"""
7579 return _IMP_algebra.DefaultEmbedding4D___cmp__(self, *args)
7581 def __eq__(self, *args):
7582 """__eq__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> bool"""
7583 return _IMP_algebra.DefaultEmbedding4D___eq__(self, *args)
7585 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding4D
7586 __del__ =
lambda self :
None;
7587 DefaultEmbedding4D_swigregister = _IMP_algebra.DefaultEmbedding4D_swigregister
7588 DefaultEmbedding4D_swigregister(DefaultEmbedding4D)
7590 class DefaultEmbedding5D(object):
7591 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(5)> class"""
7592 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7593 def __init__(self, *args):
7595 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self, Vector5D origin, Vector5D cell) -> DefaultEmbedding5D
7596 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self) -> DefaultEmbedding5D
7598 this = _IMP_algebra.new_DefaultEmbedding5D(*args)
7599 try: self.this.append(this)
7600 except: self.this = this
7601 def set_origin(self, *args):
7602 """set_origin(DefaultEmbedding5D self, Vector5D o)"""
7603 return _IMP_algebra.DefaultEmbedding5D_set_origin(self, *args)
7605 def get_origin(self):
7606 """get_origin(DefaultEmbedding5D self) -> Vector5D"""
7607 return _IMP_algebra.DefaultEmbedding5D_get_origin(self)
7609 def get_dimension(self):
7610 """get_dimension(DefaultEmbedding5D self) -> unsigned int"""
7611 return _IMP_algebra.DefaultEmbedding5D_get_dimension(self)
7613 def set_unit_cell(self, *args):
7614 """set_unit_cell(DefaultEmbedding5D self, Vector5D o)"""
7615 return _IMP_algebra.DefaultEmbedding5D_set_unit_cell(self, *args)
7617 def get_inverse_unit_cell(self):
7618 """get_inverse_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
7619 return _IMP_algebra.DefaultEmbedding5D_get_inverse_unit_cell(self)
7621 def get_unit_cell(self):
7622 """get_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
7623 return _IMP_algebra.DefaultEmbedding5D_get_unit_cell(self)
7625 def get_extended_index(self, *args):
7626 """get_extended_index(DefaultEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
7627 return _IMP_algebra.DefaultEmbedding5D_get_extended_index(self, *args)
7630 """get_index(DefaultEmbedding5D self, Vector5D o) -> GridIndex5D"""
7631 return _IMP_algebra.DefaultEmbedding5D_get_index(self, *args)
7633 def get_center(self, *args):
7635 get_center(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
7636 get_center(DefaultEmbedding5D self, GridIndex5D ei) -> Vector5D
7638 return _IMP_algebra.DefaultEmbedding5D_get_center(self, *args)
7640 def get_bounding_box(self, *args):
7642 get_bounding_box(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
7643 get_bounding_box(DefaultEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
7645 return _IMP_algebra.DefaultEmbedding5D_get_bounding_box(self, *args)
7647 def show(self, *args):
7649 show(DefaultEmbedding5D self, _ostream out=std::cout)
7650 show(DefaultEmbedding5D self)
7652 return _IMP_algebra.DefaultEmbedding5D_show(self, *args)
7655 """__str__(DefaultEmbedding5D self) -> std::string"""
7656 return _IMP_algebra.DefaultEmbedding5D___str__(self)
7659 """__repr__(DefaultEmbedding5D self) -> std::string"""
7660 return _IMP_algebra.DefaultEmbedding5D___repr__(self)
7662 def __cmp__(self, *args):
7663 """__cmp__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> int"""
7664 return _IMP_algebra.DefaultEmbedding5D___cmp__(self, *args)
7666 def __eq__(self, *args):
7667 """__eq__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> bool"""
7668 return _IMP_algebra.DefaultEmbedding5D___eq__(self, *args)
7670 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding5D
7671 __del__ =
lambda self :
None;
7672 DefaultEmbedding5D_swigregister = _IMP_algebra.DefaultEmbedding5D_swigregister
7673 DefaultEmbedding5D_swigregister(DefaultEmbedding5D)
7675 class DefaultEmbedding6D(object):
7676 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(6)> class"""
7677 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7678 def __init__(self, *args):
7680 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self, Vector6D origin, Vector6D cell) -> DefaultEmbedding6D
7681 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self) -> DefaultEmbedding6D
7683 this = _IMP_algebra.new_DefaultEmbedding6D(*args)
7684 try: self.this.append(this)
7685 except: self.this = this
7686 def set_origin(self, *args):
7687 """set_origin(DefaultEmbedding6D self, Vector6D o)"""
7688 return _IMP_algebra.DefaultEmbedding6D_set_origin(self, *args)
7690 def get_origin(self):
7691 """get_origin(DefaultEmbedding6D self) -> Vector6D"""
7692 return _IMP_algebra.DefaultEmbedding6D_get_origin(self)
7694 def get_dimension(self):
7695 """get_dimension(DefaultEmbedding6D self) -> unsigned int"""
7696 return _IMP_algebra.DefaultEmbedding6D_get_dimension(self)
7698 def set_unit_cell(self, *args):
7699 """set_unit_cell(DefaultEmbedding6D self, Vector6D o)"""
7700 return _IMP_algebra.DefaultEmbedding6D_set_unit_cell(self, *args)
7702 def get_inverse_unit_cell(self):
7703 """get_inverse_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
7704 return _IMP_algebra.DefaultEmbedding6D_get_inverse_unit_cell(self)
7706 def get_unit_cell(self):
7707 """get_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
7708 return _IMP_algebra.DefaultEmbedding6D_get_unit_cell(self)
7710 def get_extended_index(self, *args):
7711 """get_extended_index(DefaultEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
7712 return _IMP_algebra.DefaultEmbedding6D_get_extended_index(self, *args)
7715 """get_index(DefaultEmbedding6D self, Vector6D o) -> GridIndex6D"""
7716 return _IMP_algebra.DefaultEmbedding6D_get_index(self, *args)
7718 def get_center(self, *args):
7720 get_center(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
7721 get_center(DefaultEmbedding6D self, GridIndex6D ei) -> Vector6D
7723 return _IMP_algebra.DefaultEmbedding6D_get_center(self, *args)
7725 def get_bounding_box(self, *args):
7727 get_bounding_box(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
7728 get_bounding_box(DefaultEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
7730 return _IMP_algebra.DefaultEmbedding6D_get_bounding_box(self, *args)
7732 def show(self, *args):
7734 show(DefaultEmbedding6D self, _ostream out=std::cout)
7735 show(DefaultEmbedding6D self)
7737 return _IMP_algebra.DefaultEmbedding6D_show(self, *args)
7740 """__str__(DefaultEmbedding6D self) -> std::string"""
7741 return _IMP_algebra.DefaultEmbedding6D___str__(self)
7744 """__repr__(DefaultEmbedding6D self) -> std::string"""
7745 return _IMP_algebra.DefaultEmbedding6D___repr__(self)
7747 def __cmp__(self, *args):
7748 """__cmp__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> int"""
7749 return _IMP_algebra.DefaultEmbedding6D___cmp__(self, *args)
7751 def __eq__(self, *args):
7752 """__eq__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> bool"""
7753 return _IMP_algebra.DefaultEmbedding6D___eq__(self, *args)
7755 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding6D
7756 __del__ =
lambda self :
None;
7757 DefaultEmbedding6D_swigregister = _IMP_algebra.DefaultEmbedding6D_swigregister
7758 DefaultEmbedding6D_swigregister(DefaultEmbedding6D)
7760 class DefaultEmbeddingKD(object):
7761 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(-1)> class"""
7762 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7763 def __init__(self, *args):
7765 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell) -> DefaultEmbeddingKD
7766 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self) -> DefaultEmbeddingKD
7768 this = _IMP_algebra.new_DefaultEmbeddingKD(*args)
7769 try: self.this.append(this)
7770 except: self.this = this
7771 def set_origin(self, *args):
7772 """set_origin(DefaultEmbeddingKD self, VectorKD o)"""
7773 return _IMP_algebra.DefaultEmbeddingKD_set_origin(self, *args)
7775 def get_origin(self):
7776 """get_origin(DefaultEmbeddingKD self) -> VectorKD"""
7777 return _IMP_algebra.DefaultEmbeddingKD_get_origin(self)
7779 def get_dimension(self):
7780 """get_dimension(DefaultEmbeddingKD self) -> unsigned int"""
7781 return _IMP_algebra.DefaultEmbeddingKD_get_dimension(self)
7783 def set_unit_cell(self, *args):
7784 """set_unit_cell(DefaultEmbeddingKD self, VectorKD o)"""
7785 return _IMP_algebra.DefaultEmbeddingKD_set_unit_cell(self, *args)
7787 def get_inverse_unit_cell(self):
7788 """get_inverse_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
7789 return _IMP_algebra.DefaultEmbeddingKD_get_inverse_unit_cell(self)
7791 def get_unit_cell(self):
7792 """get_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
7793 return _IMP_algebra.DefaultEmbeddingKD_get_unit_cell(self)
7795 def get_extended_index(self, *args):
7796 """get_extended_index(DefaultEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
7797 return _IMP_algebra.DefaultEmbeddingKD_get_extended_index(self, *args)
7800 """get_index(DefaultEmbeddingKD self, VectorKD o) -> GridIndexKD"""
7801 return _IMP_algebra.DefaultEmbeddingKD_get_index(self, *args)
7803 def get_center(self, *args):
7805 get_center(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
7806 get_center(DefaultEmbeddingKD self, GridIndexKD ei) -> VectorKD
7808 return _IMP_algebra.DefaultEmbeddingKD_get_center(self, *args)
7810 def get_bounding_box(self, *args):
7812 get_bounding_box(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
7813 get_bounding_box(DefaultEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
7815 return _IMP_algebra.DefaultEmbeddingKD_get_bounding_box(self, *args)
7817 def show(self, *args):
7819 show(DefaultEmbeddingKD self, _ostream out=std::cout)
7820 show(DefaultEmbeddingKD self)
7822 return _IMP_algebra.DefaultEmbeddingKD_show(self, *args)
7825 """__str__(DefaultEmbeddingKD self) -> std::string"""
7826 return _IMP_algebra.DefaultEmbeddingKD___str__(self)
7829 """__repr__(DefaultEmbeddingKD self) -> std::string"""
7830 return _IMP_algebra.DefaultEmbeddingKD___repr__(self)
7832 def __cmp__(self, *args):
7833 """__cmp__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> int"""
7834 return _IMP_algebra.DefaultEmbeddingKD___cmp__(self, *args)
7836 def __eq__(self, *args):
7837 """__eq__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> bool"""
7838 return _IMP_algebra.DefaultEmbeddingKD___eq__(self, *args)
7840 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbeddingKD
7841 __del__ =
lambda self :
None;
7842 DefaultEmbeddingKD_swigregister = _IMP_algebra.DefaultEmbeddingKD_swigregister
7843 DefaultEmbeddingKD_swigregister(DefaultEmbeddingKD)
7845 class LogEmbedding1D(object):
7846 """Proxy of C++ IMP::algebra::LogEmbeddingD<(1)> class"""
7847 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7848 def __init__(self, *args):
7850 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D origin, Vector1D cell, Vector1D base) -> LogEmbedding1D
7851 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding1D
7852 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts) -> LogEmbedding1D
7853 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D arg2, Vector1D arg3) -> LogEmbedding1D
7854 __init__(IMP::algebra::LogEmbeddingD<(1)> self) -> LogEmbedding1D
7856 this = _IMP_algebra.new_LogEmbedding1D(*args)
7857 try: self.this.append(this)
7858 except: self.this = this
7859 def set_origin(self, *args):
7860 """set_origin(LogEmbedding1D self, Vector1D o)"""
7861 return _IMP_algebra.LogEmbedding1D_set_origin(self, *args)
7863 def get_origin(self):
7864 """get_origin(LogEmbedding1D self) -> Vector1D"""
7865 return _IMP_algebra.LogEmbedding1D_get_origin(self)
7867 def get_dimension(self):
7868 """get_dimension(LogEmbedding1D self) -> unsigned int"""
7869 return _IMP_algebra.LogEmbedding1D_get_dimension(self)
7871 def set_unit_cell(self, *args):
7873 set_unit_cell(LogEmbedding1D self, Vector1D o, Vector1D base)
7874 set_unit_cell(LogEmbedding1D self, Vector1D o)
7876 return _IMP_algebra.LogEmbedding1D_set_unit_cell(self, *args)
7878 def get_unit_cell(self):
7879 """get_unit_cell(LogEmbedding1D self) -> Vector1D"""
7880 return _IMP_algebra.LogEmbedding1D_get_unit_cell(self)
7882 def get_extended_index(self, *args):
7883 """get_extended_index(LogEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
7884 return _IMP_algebra.LogEmbedding1D_get_extended_index(self, *args)
7887 """get_index(LogEmbedding1D self, Vector1D o) -> GridIndex1D"""
7888 return _IMP_algebra.LogEmbedding1D_get_index(self, *args)
7890 def get_center(self, *args):
7892 get_center(LogEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
7893 get_center(LogEmbedding1D self, GridIndex1D ei) -> Vector1D
7895 return _IMP_algebra.LogEmbedding1D_get_center(self, *args)
7897 def get_bounding_box(self, *args):
7899 get_bounding_box(LogEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
7900 get_bounding_box(LogEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
7902 return _IMP_algebra.LogEmbedding1D_get_bounding_box(self, *args)
7904 def show(self, *args):
7906 show(LogEmbedding1D self, _ostream out=std::cout)
7907 show(LogEmbedding1D self)
7909 return _IMP_algebra.LogEmbedding1D_show(self, *args)
7912 """__str__(LogEmbedding1D self) -> std::string"""
7913 return _IMP_algebra.LogEmbedding1D___str__(self)
7916 """__repr__(LogEmbedding1D self) -> std::string"""
7917 return _IMP_algebra.LogEmbedding1D___repr__(self)
7919 def __cmp__(self, *args):
7920 """__cmp__(LogEmbedding1D self, LogEmbedding1D arg2) -> int"""
7921 return _IMP_algebra.LogEmbedding1D___cmp__(self, *args)
7923 def __eq__(self, *args):
7924 """__eq__(LogEmbedding1D self, LogEmbedding1D arg2) -> bool"""
7925 return _IMP_algebra.LogEmbedding1D___eq__(self, *args)
7927 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding1D
7928 __del__ =
lambda self :
None;
7929 LogEmbedding1D_swigregister = _IMP_algebra.LogEmbedding1D_swigregister
7930 LogEmbedding1D_swigregister(LogEmbedding1D)
7932 class LogEmbedding2D(object):
7933 """Proxy of C++ IMP::algebra::LogEmbeddingD<(2)> class"""
7934 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7935 def __init__(self, *args):
7937 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D origin, Vector2D cell, Vector2D base) -> LogEmbedding2D
7938 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding2D
7939 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts) -> LogEmbedding2D
7940 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D arg2, Vector2D arg3) -> LogEmbedding2D
7941 __init__(IMP::algebra::LogEmbeddingD<(2)> self) -> LogEmbedding2D
7943 this = _IMP_algebra.new_LogEmbedding2D(*args)
7944 try: self.this.append(this)
7945 except: self.this = this
7946 def set_origin(self, *args):
7947 """set_origin(LogEmbedding2D self, Vector2D o)"""
7948 return _IMP_algebra.LogEmbedding2D_set_origin(self, *args)
7950 def get_origin(self):
7951 """get_origin(LogEmbedding2D self) -> Vector2D"""
7952 return _IMP_algebra.LogEmbedding2D_get_origin(self)
7954 def get_dimension(self):
7955 """get_dimension(LogEmbedding2D self) -> unsigned int"""
7956 return _IMP_algebra.LogEmbedding2D_get_dimension(self)
7958 def set_unit_cell(self, *args):
7960 set_unit_cell(LogEmbedding2D self, Vector2D o, Vector2D base)
7961 set_unit_cell(LogEmbedding2D self, Vector2D o)
7963 return _IMP_algebra.LogEmbedding2D_set_unit_cell(self, *args)
7965 def get_unit_cell(self):
7966 """get_unit_cell(LogEmbedding2D self) -> Vector2D"""
7967 return _IMP_algebra.LogEmbedding2D_get_unit_cell(self)
7969 def get_extended_index(self, *args):
7970 """get_extended_index(LogEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
7971 return _IMP_algebra.LogEmbedding2D_get_extended_index(self, *args)
7974 """get_index(LogEmbedding2D self, Vector2D o) -> GridIndex2D"""
7975 return _IMP_algebra.LogEmbedding2D_get_index(self, *args)
7977 def get_center(self, *args):
7979 get_center(LogEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
7980 get_center(LogEmbedding2D self, GridIndex2D ei) -> Vector2D
7982 return _IMP_algebra.LogEmbedding2D_get_center(self, *args)
7984 def get_bounding_box(self, *args):
7986 get_bounding_box(LogEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
7987 get_bounding_box(LogEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
7989 return _IMP_algebra.LogEmbedding2D_get_bounding_box(self, *args)
7991 def show(self, *args):
7993 show(LogEmbedding2D self, _ostream out=std::cout)
7994 show(LogEmbedding2D self)
7996 return _IMP_algebra.LogEmbedding2D_show(self, *args)
7999 """__str__(LogEmbedding2D self) -> std::string"""
8000 return _IMP_algebra.LogEmbedding2D___str__(self)
8003 """__repr__(LogEmbedding2D self) -> std::string"""
8004 return _IMP_algebra.LogEmbedding2D___repr__(self)
8006 def __cmp__(self, *args):
8007 """__cmp__(LogEmbedding2D self, LogEmbedding2D arg2) -> int"""
8008 return _IMP_algebra.LogEmbedding2D___cmp__(self, *args)
8010 def __eq__(self, *args):
8011 """__eq__(LogEmbedding2D self, LogEmbedding2D arg2) -> bool"""
8012 return _IMP_algebra.LogEmbedding2D___eq__(self, *args)
8014 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding2D
8015 __del__ =
lambda self :
None;
8016 LogEmbedding2D_swigregister = _IMP_algebra.LogEmbedding2D_swigregister
8017 LogEmbedding2D_swigregister(LogEmbedding2D)
8019 class LogEmbedding4D(object):
8020 """Proxy of C++ IMP::algebra::LogEmbeddingD<(4)> class"""
8021 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8022 def __init__(self, *args):
8024 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D origin, Vector4D cell, Vector4D base) -> LogEmbedding4D
8025 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding4D
8026 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts) -> LogEmbedding4D
8027 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D arg2, Vector4D arg3) -> LogEmbedding4D
8028 __init__(IMP::algebra::LogEmbeddingD<(4)> self) -> LogEmbedding4D
8030 this = _IMP_algebra.new_LogEmbedding4D(*args)
8031 try: self.this.append(this)
8032 except: self.this = this
8033 def set_origin(self, *args):
8034 """set_origin(LogEmbedding4D self, Vector4D o)"""
8035 return _IMP_algebra.LogEmbedding4D_set_origin(self, *args)
8037 def get_origin(self):
8038 """get_origin(LogEmbedding4D self) -> Vector4D"""
8039 return _IMP_algebra.LogEmbedding4D_get_origin(self)
8041 def get_dimension(self):
8042 """get_dimension(LogEmbedding4D self) -> unsigned int"""
8043 return _IMP_algebra.LogEmbedding4D_get_dimension(self)
8045 def set_unit_cell(self, *args):
8047 set_unit_cell(LogEmbedding4D self, Vector4D o, Vector4D base)
8048 set_unit_cell(LogEmbedding4D self, Vector4D o)
8050 return _IMP_algebra.LogEmbedding4D_set_unit_cell(self, *args)
8052 def get_unit_cell(self):
8053 """get_unit_cell(LogEmbedding4D self) -> Vector4D"""
8054 return _IMP_algebra.LogEmbedding4D_get_unit_cell(self)
8056 def get_extended_index(self, *args):
8057 """get_extended_index(LogEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
8058 return _IMP_algebra.LogEmbedding4D_get_extended_index(self, *args)
8061 """get_index(LogEmbedding4D self, Vector4D o) -> GridIndex4D"""
8062 return _IMP_algebra.LogEmbedding4D_get_index(self, *args)
8064 def get_center(self, *args):
8066 get_center(LogEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
8067 get_center(LogEmbedding4D self, GridIndex4D ei) -> Vector4D
8069 return _IMP_algebra.LogEmbedding4D_get_center(self, *args)
8071 def get_bounding_box(self, *args):
8073 get_bounding_box(LogEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
8074 get_bounding_box(LogEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
8076 return _IMP_algebra.LogEmbedding4D_get_bounding_box(self, *args)
8078 def show(self, *args):
8080 show(LogEmbedding4D self, _ostream out=std::cout)
8081 show(LogEmbedding4D self)
8083 return _IMP_algebra.LogEmbedding4D_show(self, *args)
8086 """__str__(LogEmbedding4D self) -> std::string"""
8087 return _IMP_algebra.LogEmbedding4D___str__(self)
8090 """__repr__(LogEmbedding4D self) -> std::string"""
8091 return _IMP_algebra.LogEmbedding4D___repr__(self)
8093 def __cmp__(self, *args):
8094 """__cmp__(LogEmbedding4D self, LogEmbedding4D arg2) -> int"""
8095 return _IMP_algebra.LogEmbedding4D___cmp__(self, *args)
8097 def __eq__(self, *args):
8098 """__eq__(LogEmbedding4D self, LogEmbedding4D arg2) -> bool"""
8099 return _IMP_algebra.LogEmbedding4D___eq__(self, *args)
8101 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding4D
8102 __del__ =
lambda self :
None;
8103 LogEmbedding4D_swigregister = _IMP_algebra.LogEmbedding4D_swigregister
8104 LogEmbedding4D_swigregister(LogEmbedding4D)
8106 class LogEmbedding5D(object):
8107 """Proxy of C++ IMP::algebra::LogEmbeddingD<(5)> class"""
8108 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8109 def __init__(self, *args):
8111 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D origin, Vector5D cell, Vector5D base) -> LogEmbedding5D
8112 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding5D
8113 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts) -> LogEmbedding5D
8114 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D arg2, Vector5D arg3) -> LogEmbedding5D
8115 __init__(IMP::algebra::LogEmbeddingD<(5)> self) -> LogEmbedding5D
8117 this = _IMP_algebra.new_LogEmbedding5D(*args)
8118 try: self.this.append(this)
8119 except: self.this = this
8120 def set_origin(self, *args):
8121 """set_origin(LogEmbedding5D self, Vector5D o)"""
8122 return _IMP_algebra.LogEmbedding5D_set_origin(self, *args)
8124 def get_origin(self):
8125 """get_origin(LogEmbedding5D self) -> Vector5D"""
8126 return _IMP_algebra.LogEmbedding5D_get_origin(self)
8128 def get_dimension(self):
8129 """get_dimension(LogEmbedding5D self) -> unsigned int"""
8130 return _IMP_algebra.LogEmbedding5D_get_dimension(self)
8132 def set_unit_cell(self, *args):
8134 set_unit_cell(LogEmbedding5D self, Vector5D o, Vector5D base)
8135 set_unit_cell(LogEmbedding5D self, Vector5D o)
8137 return _IMP_algebra.LogEmbedding5D_set_unit_cell(self, *args)
8139 def get_unit_cell(self):
8140 """get_unit_cell(LogEmbedding5D self) -> Vector5D"""
8141 return _IMP_algebra.LogEmbedding5D_get_unit_cell(self)
8143 def get_extended_index(self, *args):
8144 """get_extended_index(LogEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
8145 return _IMP_algebra.LogEmbedding5D_get_extended_index(self, *args)
8148 """get_index(LogEmbedding5D self, Vector5D o) -> GridIndex5D"""
8149 return _IMP_algebra.LogEmbedding5D_get_index(self, *args)
8151 def get_center(self, *args):
8153 get_center(LogEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
8154 get_center(LogEmbedding5D self, GridIndex5D ei) -> Vector5D
8156 return _IMP_algebra.LogEmbedding5D_get_center(self, *args)
8158 def get_bounding_box(self, *args):
8160 get_bounding_box(LogEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
8161 get_bounding_box(LogEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
8163 return _IMP_algebra.LogEmbedding5D_get_bounding_box(self, *args)
8165 def show(self, *args):
8167 show(LogEmbedding5D self, _ostream out=std::cout)
8168 show(LogEmbedding5D self)
8170 return _IMP_algebra.LogEmbedding5D_show(self, *args)
8173 """__str__(LogEmbedding5D self) -> std::string"""
8174 return _IMP_algebra.LogEmbedding5D___str__(self)
8177 """__repr__(LogEmbedding5D self) -> std::string"""
8178 return _IMP_algebra.LogEmbedding5D___repr__(self)
8180 def __cmp__(self, *args):
8181 """__cmp__(LogEmbedding5D self, LogEmbedding5D arg2) -> int"""
8182 return _IMP_algebra.LogEmbedding5D___cmp__(self, *args)
8184 def __eq__(self, *args):
8185 """__eq__(LogEmbedding5D self, LogEmbedding5D arg2) -> bool"""
8186 return _IMP_algebra.LogEmbedding5D___eq__(self, *args)
8188 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding5D
8189 __del__ =
lambda self :
None;
8190 LogEmbedding5D_swigregister = _IMP_algebra.LogEmbedding5D_swigregister
8191 LogEmbedding5D_swigregister(LogEmbedding5D)
8193 class LogEmbedding6D(object):
8194 """Proxy of C++ IMP::algebra::LogEmbeddingD<(6)> class"""
8195 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8196 def __init__(self, *args):
8198 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D origin, Vector6D cell, Vector6D base) -> LogEmbedding6D
8199 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding6D
8200 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts) -> LogEmbedding6D
8201 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D arg2, Vector6D arg3) -> LogEmbedding6D
8202 __init__(IMP::algebra::LogEmbeddingD<(6)> self) -> LogEmbedding6D
8204 this = _IMP_algebra.new_LogEmbedding6D(*args)
8205 try: self.this.append(this)
8206 except: self.this = this
8207 def set_origin(self, *args):
8208 """set_origin(LogEmbedding6D self, Vector6D o)"""
8209 return _IMP_algebra.LogEmbedding6D_set_origin(self, *args)
8211 def get_origin(self):
8212 """get_origin(LogEmbedding6D self) -> Vector6D"""
8213 return _IMP_algebra.LogEmbedding6D_get_origin(self)
8215 def get_dimension(self):
8216 """get_dimension(LogEmbedding6D self) -> unsigned int"""
8217 return _IMP_algebra.LogEmbedding6D_get_dimension(self)
8219 def set_unit_cell(self, *args):
8221 set_unit_cell(LogEmbedding6D self, Vector6D o, Vector6D base)
8222 set_unit_cell(LogEmbedding6D self, Vector6D o)
8224 return _IMP_algebra.LogEmbedding6D_set_unit_cell(self, *args)
8226 def get_unit_cell(self):
8227 """get_unit_cell(LogEmbedding6D self) -> Vector6D"""
8228 return _IMP_algebra.LogEmbedding6D_get_unit_cell(self)
8230 def get_extended_index(self, *args):
8231 """get_extended_index(LogEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
8232 return _IMP_algebra.LogEmbedding6D_get_extended_index(self, *args)
8235 """get_index(LogEmbedding6D self, Vector6D o) -> GridIndex6D"""
8236 return _IMP_algebra.LogEmbedding6D_get_index(self, *args)
8238 def get_center(self, *args):
8240 get_center(LogEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
8241 get_center(LogEmbedding6D self, GridIndex6D ei) -> Vector6D
8243 return _IMP_algebra.LogEmbedding6D_get_center(self, *args)
8245 def get_bounding_box(self, *args):
8247 get_bounding_box(LogEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
8248 get_bounding_box(LogEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
8250 return _IMP_algebra.LogEmbedding6D_get_bounding_box(self, *args)
8252 def show(self, *args):
8254 show(LogEmbedding6D self, _ostream out=std::cout)
8255 show(LogEmbedding6D self)
8257 return _IMP_algebra.LogEmbedding6D_show(self, *args)
8260 """__str__(LogEmbedding6D self) -> std::string"""
8261 return _IMP_algebra.LogEmbedding6D___str__(self)
8264 """__repr__(LogEmbedding6D self) -> std::string"""
8265 return _IMP_algebra.LogEmbedding6D___repr__(self)
8267 def __cmp__(self, *args):
8268 """__cmp__(LogEmbedding6D self, LogEmbedding6D arg2) -> int"""
8269 return _IMP_algebra.LogEmbedding6D___cmp__(self, *args)
8271 def __eq__(self, *args):
8272 """__eq__(LogEmbedding6D self, LogEmbedding6D arg2) -> bool"""
8273 return _IMP_algebra.LogEmbedding6D___eq__(self, *args)
8275 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding6D
8276 __del__ =
lambda self :
None;
8277 LogEmbedding6D_swigregister = _IMP_algebra.LogEmbedding6D_swigregister
8278 LogEmbedding6D_swigregister(LogEmbedding6D)
8280 class SpherePatch3D(_GeometricPrimitive3D):
8281 """Proxy of C++ IMP::algebra::SpherePatch3D class"""
8282 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8283 def __init__(self, *args):
8285 __init__(IMP::algebra::SpherePatch3D self) -> SpherePatch3D
8286 __init__(IMP::algebra::SpherePatch3D self, Sphere3D sph, Plane3D crossing_plane) -> SpherePatch3D
8288 this = _IMP_algebra.new_SpherePatch3D(*args)
8289 try: self.this.append(this)
8290 except: self.this = this
8291 def get_contains(self, *args):
8292 """get_contains(SpherePatch3D self, Vector3D p) -> bool"""
8293 return _IMP_algebra.SpherePatch3D_get_contains(self, *args)
8295 def get_plane(self):
8296 """get_plane(SpherePatch3D self) -> Plane3D"""
8297 return _IMP_algebra.SpherePatch3D_get_plane(self)
8299 def get_sphere(self):
8300 """get_sphere(SpherePatch3D self) -> Sphere3D"""
8301 return _IMP_algebra.SpherePatch3D_get_sphere(self)
8303 def show(self, *args):
8305 show(SpherePatch3D self, _ostream out=std::cout)
8306 show(SpherePatch3D self)
8308 return _IMP_algebra.SpherePatch3D_show(self, *args)
8310 def get_boundary_point(self):
8311 """get_boundary_point(SpherePatch3D self) -> Vector3D"""
8312 return _IMP_algebra.SpherePatch3D_get_boundary_point(self)
8315 """__str__(SpherePatch3D self) -> std::string"""
8316 return _IMP_algebra.SpherePatch3D___str__(self)
8319 """__repr__(SpherePatch3D self) -> std::string"""
8320 return _IMP_algebra.SpherePatch3D___repr__(self)
8322 __swig_destroy__ = _IMP_algebra.delete_SpherePatch3D
8323 __del__ =
lambda self :
None;
8324 SpherePatch3D_swigregister = _IMP_algebra.SpherePatch3D_swigregister
8325 SpherePatch3D_swigregister(SpherePatch3D)
8330 get_area(Plane3D g) -> double
8331 get_area(SpherePatch3D g) -> double
8333 return _IMP_algebra.get_area(*args)
8335 def get_sphere_patch_3d_geometry(*args):
8336 """get_sphere_patch_3d_geometry(SpherePatch3D g) -> SpherePatch3D"""
8337 return _IMP_algebra.get_sphere_patch_3d_geometry(*args)
8338 class Cone3D(_GeometricPrimitive3D):
8339 """Proxy of C++ IMP::algebra::Cone3D class"""
8340 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8341 def __init__(self, *args):
8343 __init__(IMP::algebra::Cone3D self) -> Cone3D
8344 __init__(IMP::algebra::Cone3D self, Segment3D s, double radius) -> Cone3D
8346 this = _IMP_algebra.new_Cone3D(*args)
8347 try: self.this.append(this)
8348 except: self.this = this
8350 """get_tip(Cone3D self) -> Vector3D"""
8351 return _IMP_algebra.Cone3D_get_tip(self)
8353 def get_direction(self):
8354 """get_direction(Cone3D self) -> Vector3D"""
8355 return _IMP_algebra.Cone3D_get_direction(self)
8357 def get_height(self):
8358 """get_height(Cone3D self) -> double"""
8359 return _IMP_algebra.Cone3D_get_height(self)
8361 def get_angle(self):
8362 """get_angle(Cone3D self) -> double"""
8363 return _IMP_algebra.Cone3D_get_angle(self)
8365 def get_radius(self):
8366 """get_radius(Cone3D self) -> double"""
8367 return _IMP_algebra.Cone3D_get_radius(self)
8369 def get_contains(self, *args):
8370 """get_contains(Cone3D self, Vector3D v) -> bool"""
8371 return _IMP_algebra.Cone3D_get_contains(self, *args)
8373 def get_base_plane(self):
8374 """get_base_plane(Cone3D self) -> Plane3D"""
8375 return _IMP_algebra.Cone3D_get_base_plane(self)
8377 def show(self, *args):
8379 show(Cone3D self, _ostream out=std::cout)
8382 return _IMP_algebra.Cone3D_show(self, *args)
8385 """__str__(Cone3D self) -> std::string"""
8386 return _IMP_algebra.Cone3D___str__(self)
8389 """__repr__(Cone3D self) -> std::string"""
8390 return _IMP_algebra.Cone3D___repr__(self)
8392 __swig_destroy__ = _IMP_algebra.delete_Cone3D
8393 __del__ =
lambda self :
None;
8394 Cone3D_swigregister = _IMP_algebra.Cone3D_swigregister
8395 Cone3D_swigregister(Cone3D)
8400 get_surface_area(BoundingBox3D g) -> double
8401 get_surface_area(Sphere3D g) -> double
8402 get_surface_area(Cylinder3D g) -> double
8403 get_surface_area(Ellipsoid3D g) -> double
8404 get_surface_area(Cone3D g) -> double
8406 return _IMP_algebra.get_surface_area(*args)
8410 get_volume(BoundingBox3D g) -> double
8411 get_volume(Sphere3D g) -> double
8412 get_volume(Cylinder3D g) -> double
8413 get_volume(Ellipsoid3D g) -> double
8414 get_volume(Cone3D g) -> double
8416 return _IMP_algebra.get_volume(*args)
8418 def get_cone_3d_geometry(*args):
8419 """get_cone_3d_geometry(Cone3D g) -> Cone3D"""
8420 return _IMP_algebra.get_cone_3d_geometry(*args)
8423 """write_pts(IMP::algebra::Vector3Ds const & vs, TextOutput out)"""
8424 return _IMP_algebra.write_pts(*args)
8427 """read_pts(TextInput input) -> IMP::algebra::Vector3Ds"""
8428 return _IMP_algebra.read_pts(*args)
8431 """write_spheres(IMP::algebra::Sphere3Ds const & vs, TextOutput out)"""
8432 return _IMP_algebra.write_spheres(*args)
8435 """read_spheres(TextInput input) -> IMP::algebra::Sphere3Ds"""
8436 return _IMP_algebra.read_spheres(*args)
8439 """get_random_vector_on_unit_sphere() -> Vector3D"""
8440 return _IMP_algebra.get_random_vector_on_unit_sphere()
8443 """get_grid_surface_cover(Cylinder3D cyl, int number_of_cycles, int number_of_points_on_cycle) -> IMP::algebra::Vector3Ds"""
8444 return _IMP_algebra.get_grid_surface_cover(*args)
8448 get_random_chain(unsigned int n, double r, Vector3D start=IMP::algebra::Vector3D(0, 0, 0), IMP::algebra::Sphere3Ds const & obstacles=IMP::algebra::Sphere3Ds()) -> IMP::algebra::Vector3Ds
8449 get_random_chain(unsigned int n, double r, Vector3D start=IMP::algebra::Vector3D(0, 0, 0)) -> IMP::algebra::Vector3Ds
8450 get_random_chain(unsigned int n, double r) -> IMP::algebra::Vector3Ds
8452 return _IMP_algebra.get_random_chain(*args)
8455 """reversed_read(void * dest, size_t size, size_t nitems, std::ifstream & f, bool reverse)"""
8456 return _IMP_algebra.reversed_read(*args)
8460 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f, bool reverse=False)
8461 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f)
8463 return _IMP_algebra.reversed_write(*args)
8466 """get_is_big_endian() -> bool"""
8467 return _IMP_algebra.get_is_big_endian()
8470 """get_is_little_endian() -> bool"""
8471 return _IMP_algebra.get_is_little_endian()
8475 get_shortest_segment(Segment3D s, Vector3D p) -> Segment3D
8476 get_shortest_segment(Segment3D sa, Segment3D sb) -> Segment3D
8478 return _IMP_algebra.get_shortest_segment(*args)
8480 """Proxy of C++ IMP::algebra::DynamicNearestNeighbor3D class"""
8481 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8482 def __init__(self, *args):
8484 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs, double query_estimate=1) -> DynamicNearestNeighbor3D
8485 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs) -> DynamicNearestNeighbor3D
8487 this = _IMP_algebra.new_DynamicNearestNeighbor3D(*args)
8488 try: self.this.append(this)
8489 except: self.this = this
8490 def get_in_ball(self, *args):
8491 """get_in_ball(DynamicNearestNeighbor3D self, int id, double distance) -> IMP::Ints"""
8492 return _IMP_algebra.DynamicNearestNeighbor3D_get_in_ball(self, *args)
8494 def set_coordinates(self, *args):
8495 """set_coordinates(DynamicNearestNeighbor3D self, int id, Vector3D nc)"""
8496 return _IMP_algebra.DynamicNearestNeighbor3D_set_coordinates(self, *args)
8498 def get_version_info(self):
8499 """get_version_info(DynamicNearestNeighbor3D self) -> VersionInfo"""
8500 return _IMP_algebra.DynamicNearestNeighbor3D_get_version_info(self)
8503 """__str__(DynamicNearestNeighbor3D self) -> std::string"""
8504 return _IMP_algebra.DynamicNearestNeighbor3D___str__(self)
8507 """__repr__(DynamicNearestNeighbor3D self) -> std::string"""
8508 return _IMP_algebra.DynamicNearestNeighbor3D___repr__(self)
8511 return _object_cast_to_DynamicNearestNeighbor3D(o)
8512 get_from = staticmethod(get_from)
8514 DynamicNearestNeighbor3D_swigregister = _IMP_algebra.DynamicNearestNeighbor3D_swigregister
8515 DynamicNearestNeighbor3D_swigregister(DynamicNearestNeighbor3D)
8518 """Proxy of C++ IMP::algebra::VectorKDMetric class"""
8519 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8520 def __init__(self, *args):
8521 """__init__(IMP::algebra::VectorKDMetric self, std::string name) -> VectorKDMetric"""
8522 if self.__class__ == VectorKDMetric:
8526 this = _IMP_algebra.new_VectorKDMetric(_self, *args)
8527 try: self.this.append(this)
8528 except: self.this = this
8529 if self.__class__ != VectorKDMetric:
8531 IMP.base._director_objects.register(self)
8536 """get_distance(VectorKDMetric self, VectorKD a, VectorKD b) -> double"""
8537 return _IMP_algebra.VectorKDMetric_get_distance(self, *args)
8540 """get_centroid(VectorKDMetric self, IMP::algebra::VectorKDs const & vs) -> VectorKD"""
8541 return _IMP_algebra.VectorKDMetric_get_centroid(self, *args)
8544 """__str__(VectorKDMetric self) -> std::string"""
8545 return _IMP_algebra.VectorKDMetric___str__(self)
8548 """__repr__(VectorKDMetric self) -> std::string"""
8549 return _IMP_algebra.VectorKDMetric___repr__(self)
8552 return _object_cast_to_VectorKDMetric(o)
8553 get_from = staticmethod(get_from)
8555 def get_type_name(self):
8556 return self.__class__.__name__
8557 def do_show(self, out):
8559 def get_version_info(self):
8560 if"IMP::algebra" ==
"IMP":
8561 return VersionInfo(
"python",
"0")
8563 return IMP.VersionInfo(
"python",
"0")
8565 return _object_cast_to_VectorKDMetric(o)
8566 get_from = staticmethod(get_from)
8568 __swig_destroy__ = _IMP_algebra.delete_VectorKDMetric
8569 __del__ =
lambda self :
None;
8570 def __disown__(self):
8572 _IMP_algebra.disown_VectorKDMetric(self)
8573 return weakref_proxy(self)
8574 def do_destroy(self):
8575 """do_destroy(VectorKDMetric self)"""
8576 return _IMP_algebra.VectorKDMetric_do_destroy(self)
8578 VectorKDMetric_swigregister = _IMP_algebra.VectorKDMetric_swigregister
8579 VectorKDMetric_swigregister(VectorKDMetric)
8581 class EuclideanVectorKDMetric(VectorKDMetric):
8582 """Proxy of C++ IMP::algebra::EuclideanVectorKDMetric class"""
8583 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8584 def __init__(self, name="EuclideanVectorKDMetric%1%"):
8586 __init__(IMP::algebra::EuclideanVectorKDMetric self, std::string name="EuclideanVectorKDMetric%1%") -> EuclideanVectorKDMetric
8587 __init__(IMP::algebra::EuclideanVectorKDMetric self) -> EuclideanVectorKDMetric
8589 this = _IMP_algebra.new_EuclideanVectorKDMetric(name)
8590 try: self.this.append(this)
8591 except: self.this = this
8592 def get_version_info(self):
8593 """get_version_info(EuclideanVectorKDMetric self) -> VersionInfo"""
8594 return _IMP_algebra.EuclideanVectorKDMetric_get_version_info(self)
8597 """__str__(EuclideanVectorKDMetric self) -> std::string"""
8598 return _IMP_algebra.EuclideanVectorKDMetric___str__(self)
8601 """__repr__(EuclideanVectorKDMetric self) -> std::string"""
8602 return _IMP_algebra.EuclideanVectorKDMetric___repr__(self)
8605 return _object_cast_to_EuclideanVectorKDMetric(o)
8606 get_from = staticmethod(get_from)
8608 EuclideanVectorKDMetric_swigregister = _IMP_algebra.EuclideanVectorKDMetric_swigregister
8609 EuclideanVectorKDMetric_swigregister(EuclideanVectorKDMetric)
8611 class MaxVectorKDMetric(VectorKDMetric):
8612 """Proxy of C++ IMP::algebra::MaxVectorKDMetric class"""
8613 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8614 def __init__(self, name="MaxVectorKDMetric%1%"):
8616 __init__(IMP::algebra::MaxVectorKDMetric self, std::string name="MaxVectorKDMetric%1%") -> MaxVectorKDMetric
8617 __init__(IMP::algebra::MaxVectorKDMetric self) -> MaxVectorKDMetric
8619 this = _IMP_algebra.new_MaxVectorKDMetric(name)
8620 try: self.this.append(this)
8621 except: self.this = this
8622 def get_version_info(self):
8623 """get_version_info(MaxVectorKDMetric self) -> VersionInfo"""
8624 return _IMP_algebra.MaxVectorKDMetric_get_version_info(self)
8627 """__str__(MaxVectorKDMetric self) -> std::string"""
8628 return _IMP_algebra.MaxVectorKDMetric___str__(self)
8631 """__repr__(MaxVectorKDMetric self) -> std::string"""
8632 return _IMP_algebra.MaxVectorKDMetric___repr__(self)
8635 return _object_cast_to_MaxVectorKDMetric(o)
8636 get_from = staticmethod(get_from)
8638 MaxVectorKDMetric_swigregister = _IMP_algebra.MaxVectorKDMetric_swigregister
8639 MaxVectorKDMetric_swigregister(MaxVectorKDMetric)
8641 class Gaussian3D(_GeometricPrimitive3D):
8642 """Proxy of C++ IMP::algebra::Gaussian3D class"""
8643 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8644 def __init__(self, *args):
8646 __init__(IMP::algebra::Gaussian3D self) -> Gaussian3D
8647 __init__(IMP::algebra::Gaussian3D self, ReferenceFrame3D tr, Vector3D variances) -> Gaussian3D
8649 this = _IMP_algebra.new_Gaussian3D(*args)
8650 try: self.this.append(this)
8651 except: self.this = this
8652 def get_reference_frame(self):
8653 """get_reference_frame(Gaussian3D self) -> ReferenceFrame3D"""
8654 return _IMP_algebra.Gaussian3D_get_reference_frame(self)
8656 def get_variances(self):
8657 """get_variances(Gaussian3D self) -> Vector3D"""
8658 return _IMP_algebra.Gaussian3D_get_variances(self)
8660 def get_center(self):
8661 """get_center(Gaussian3D self) -> Vector3D"""
8662 return _IMP_algebra.Gaussian3D_get_center(self)
8664 def show(self, *args):
8666 show(Gaussian3D self, _ostream out=std::cout)
8667 show(Gaussian3D self)
8669 return _IMP_algebra.Gaussian3D_show(self, *args)
8672 """__str__(Gaussian3D self) -> std::string"""
8673 return _IMP_algebra.Gaussian3D___str__(self)
8676 """__repr__(Gaussian3D self) -> std::string"""
8677 return _IMP_algebra.Gaussian3D___repr__(self)
8679 __swig_destroy__ = _IMP_algebra.delete_Gaussian3D
8680 __del__ =
lambda self :
None;
8681 Gaussian3D_swigregister = _IMP_algebra.Gaussian3D_swigregister
8682 Gaussian3D_swigregister(Gaussian3D)
8686 """get_covariance(Gaussian3D g) -> IMP_Eigen::Matrix3d"""
8687 return _IMP_algebra.get_covariance(*args)
8690 """get_gaussian_from_covariance(IMP_Eigen::Matrix3d const & covariance, Vector3D center) -> Gaussian3D"""
8691 return _IMP_algebra.get_gaussian_from_covariance(*args)
8695 get_rasterized(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width,
8696 BoundingBox3D bb) -> DenseFloatGrid3D
8698 return _IMP_algebra.get_rasterized(*args)
8700 def _pass_matrix_xf(*args):
8701 """_pass_matrix_xf(IMP_Eigen::MatrixXf const & m) -> IMP_Eigen::MatrixXf"""
8702 return _IMP_algebra._pass_matrix_xf(*args)
8704 def _pass_matrix_xd(*args):
8705 """_pass_matrix_xd(IMP_Eigen::MatrixXd const & m) -> IMP_Eigen::MatrixXd"""
8706 return _IMP_algebra._pass_matrix_xd(*args)
8708 def _pass_matrix_3d(*args):
8709 """_pass_matrix_3d(IMP_Eigen::Matrix3d const & m) -> IMP_Eigen::Matrix3d"""
8710 return _IMP_algebra._pass_matrix_3d(*args)
8712 def _pass_array_xd(*args):
8713 """_pass_array_xd(IMP_Eigen::ArrayXXd const & m) -> IMP_Eigen::ArrayXXd"""
8714 return _IMP_algebra._pass_array_xd(*args)
8716 def _pass_vector_xd(*args):
8717 """_pass_vector_xd(IMP_Eigen::VectorXd const & m) -> IMP_Eigen::VectorXd"""
8718 return _IMP_algebra._pass_vector_xd(*args)
8720 """Proxy of C++ IMP::algebra::NearestNeighborD<(1)> class"""
8721 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8722 def __init__(self, *args):
8724 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & vs, double epsilon=0) -> NearestNeighbor1D
8725 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & vs) -> NearestNeighbor1D
8727 this = _IMP_algebra.new_NearestNeighbor1D(*args)
8728 try: self.this.append(this)
8729 except: self.this = this
8730 def set_query_log(self, *args):
8731 """set_query_log(NearestNeighbor1D self, std::string fname)"""
8732 return _IMP_algebra.NearestNeighbor1D_set_query_log(self, *args)
8734 def get_nearest_neighbor(self, *args):
8736 get_nearest_neighbor(NearestNeighbor1D self, Vector1D q) -> unsigned int
8737 get_nearest_neighbor(NearestNeighbor1D self, unsigned int i) -> unsigned int
8739 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbor(self, *args)
8741 def get_nearest_neighbors(self, *args):
8743 get_nearest_neighbors(NearestNeighbor1D self, unsigned int i, unsigned int k) -> IMP::Ints
8744 get_nearest_neighbors(NearestNeighbor1D self, Vector1D v, unsigned int k) -> IMP::Ints
8746 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbors(self, *args)
8748 def get_in_ball(self, *args):
8750 get_in_ball(NearestNeighbor1D self, unsigned int i, double distance) -> IMP::Ints
8751 get_in_ball(NearestNeighbor1D self, Vector1D pt, double distance) -> IMP::Ints
8753 return _IMP_algebra.NearestNeighbor1D_get_in_ball(self, *args)
8755 def get_version_info(self):
8756 """get_version_info(NearestNeighbor1D self) -> VersionInfo"""
8757 return _IMP_algebra.NearestNeighbor1D_get_version_info(self)
8760 """__str__(NearestNeighbor1D self) -> std::string"""
8761 return _IMP_algebra.NearestNeighbor1D___str__(self)
8764 """__repr__(NearestNeighbor1D self) -> std::string"""
8765 return _IMP_algebra.NearestNeighbor1D___repr__(self)
8768 return _object_cast_to_NearestNeighborD(o)
8769 get_from = staticmethod(get_from)
8771 NearestNeighbor1D_swigregister = _IMP_algebra.NearestNeighbor1D_swigregister
8772 NearestNeighbor1D_swigregister(NearestNeighbor1D)
8775 """Proxy of C++ IMP::algebra::NearestNeighborD<(2)> class"""
8776 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8777 def __init__(self, *args):
8779 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & vs, double epsilon=0) -> NearestNeighbor2D
8780 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & vs) -> NearestNeighbor2D
8782 this = _IMP_algebra.new_NearestNeighbor2D(*args)
8783 try: self.this.append(this)
8784 except: self.this = this
8785 def set_query_log(self, *args):
8786 """set_query_log(NearestNeighbor2D self, std::string fname)"""
8787 return _IMP_algebra.NearestNeighbor2D_set_query_log(self, *args)
8789 def get_nearest_neighbor(self, *args):
8791 get_nearest_neighbor(NearestNeighbor2D self, Vector2D q) -> unsigned int
8792 get_nearest_neighbor(NearestNeighbor2D self, unsigned int i) -> unsigned int
8794 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbor(self, *args)
8796 def get_nearest_neighbors(self, *args):
8798 get_nearest_neighbors(NearestNeighbor2D self, unsigned int i, unsigned int k) -> IMP::Ints
8799 get_nearest_neighbors(NearestNeighbor2D self, Vector2D v, unsigned int k) -> IMP::Ints
8801 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbors(self, *args)
8803 def get_in_ball(self, *args):
8805 get_in_ball(NearestNeighbor2D self, unsigned int i, double distance) -> IMP::Ints
8806 get_in_ball(NearestNeighbor2D self, Vector2D pt, double distance) -> IMP::Ints
8808 return _IMP_algebra.NearestNeighbor2D_get_in_ball(self, *args)
8810 def get_version_info(self):
8811 """get_version_info(NearestNeighbor2D self) -> VersionInfo"""
8812 return _IMP_algebra.NearestNeighbor2D_get_version_info(self)
8815 """__str__(NearestNeighbor2D self) -> std::string"""
8816 return _IMP_algebra.NearestNeighbor2D___str__(self)
8819 """__repr__(NearestNeighbor2D self) -> std::string"""
8820 return _IMP_algebra.NearestNeighbor2D___repr__(self)
8823 return _object_cast_to_NearestNeighborD(o)
8824 get_from = staticmethod(get_from)
8826 NearestNeighbor2D_swigregister = _IMP_algebra.NearestNeighbor2D_swigregister
8827 NearestNeighbor2D_swigregister(NearestNeighbor2D)
8830 """Proxy of C++ IMP::algebra::NearestNeighborD<(3)> class"""
8831 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8832 def __init__(self, *args):
8834 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & vs, double epsilon=0) -> NearestNeighbor3D
8835 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & vs) -> NearestNeighbor3D
8837 this = _IMP_algebra.new_NearestNeighbor3D(*args)
8838 try: self.this.append(this)
8839 except: self.this = this
8840 def set_query_log(self, *args):
8841 """set_query_log(NearestNeighbor3D self, std::string fname)"""
8842 return _IMP_algebra.NearestNeighbor3D_set_query_log(self, *args)
8844 def get_nearest_neighbor(self, *args):
8846 get_nearest_neighbor(NearestNeighbor3D self, Vector3D q) -> unsigned int
8847 get_nearest_neighbor(NearestNeighbor3D self, unsigned int i) -> unsigned int
8849 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbor(self, *args)
8851 def get_nearest_neighbors(self, *args):
8853 get_nearest_neighbors(NearestNeighbor3D self, unsigned int i, unsigned int k) -> IMP::Ints
8854 get_nearest_neighbors(NearestNeighbor3D self, Vector3D v, unsigned int k) -> IMP::Ints
8856 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbors(self, *args)
8858 def get_in_ball(self, *args):
8860 get_in_ball(NearestNeighbor3D self, unsigned int i, double distance) -> IMP::Ints
8861 get_in_ball(NearestNeighbor3D self, Vector3D pt, double distance) -> IMP::Ints
8863 return _IMP_algebra.NearestNeighbor3D_get_in_ball(self, *args)
8865 def get_version_info(self):
8866 """get_version_info(NearestNeighbor3D self) -> VersionInfo"""
8867 return _IMP_algebra.NearestNeighbor3D_get_version_info(self)
8870 """__str__(NearestNeighbor3D self) -> std::string"""
8871 return _IMP_algebra.NearestNeighbor3D___str__(self)
8874 """__repr__(NearestNeighbor3D self) -> std::string"""
8875 return _IMP_algebra.NearestNeighbor3D___repr__(self)
8878 return _object_cast_to_NearestNeighborD(o)
8879 get_from = staticmethod(get_from)
8881 NearestNeighbor3D_swigregister = _IMP_algebra.NearestNeighbor3D_swigregister
8882 NearestNeighbor3D_swigregister(NearestNeighbor3D)
8885 """Proxy of C++ IMP::algebra::NearestNeighborD<(4)> class"""
8886 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8887 def __init__(self, *args):
8889 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & vs, double epsilon=0) -> NearestNeighbor4D
8890 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & vs) -> NearestNeighbor4D
8892 this = _IMP_algebra.new_NearestNeighbor4D(*args)
8893 try: self.this.append(this)
8894 except: self.this = this
8895 def set_query_log(self, *args):
8896 """set_query_log(NearestNeighbor4D self, std::string fname)"""
8897 return _IMP_algebra.NearestNeighbor4D_set_query_log(self, *args)
8899 def get_nearest_neighbor(self, *args):
8901 get_nearest_neighbor(NearestNeighbor4D self, Vector4D q) -> unsigned int
8902 get_nearest_neighbor(NearestNeighbor4D self, unsigned int i) -> unsigned int
8904 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbor(self, *args)
8906 def get_nearest_neighbors(self, *args):
8908 get_nearest_neighbors(NearestNeighbor4D self, unsigned int i, unsigned int k) -> IMP::Ints
8909 get_nearest_neighbors(NearestNeighbor4D self, Vector4D v, unsigned int k) -> IMP::Ints
8911 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbors(self, *args)
8913 def get_in_ball(self, *args):
8915 get_in_ball(NearestNeighbor4D self, unsigned int i, double distance) -> IMP::Ints
8916 get_in_ball(NearestNeighbor4D self, Vector4D pt, double distance) -> IMP::Ints
8918 return _IMP_algebra.NearestNeighbor4D_get_in_ball(self, *args)
8920 def get_version_info(self):
8921 """get_version_info(NearestNeighbor4D self) -> VersionInfo"""
8922 return _IMP_algebra.NearestNeighbor4D_get_version_info(self)
8925 """__str__(NearestNeighbor4D self) -> std::string"""
8926 return _IMP_algebra.NearestNeighbor4D___str__(self)
8929 """__repr__(NearestNeighbor4D self) -> std::string"""
8930 return _IMP_algebra.NearestNeighbor4D___repr__(self)
8933 return _object_cast_to_NearestNeighborD(o)
8934 get_from = staticmethod(get_from)
8936 NearestNeighbor4D_swigregister = _IMP_algebra.NearestNeighbor4D_swigregister
8937 NearestNeighbor4D_swigregister(NearestNeighbor4D)
8940 """Proxy of C++ IMP::algebra::NearestNeighborD<(5)> class"""
8941 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8942 def __init__(self, *args):
8944 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & vs, double epsilon=0) -> NearestNeighbor5D
8945 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & vs) -> NearestNeighbor5D
8947 this = _IMP_algebra.new_NearestNeighbor5D(*args)
8948 try: self.this.append(this)
8949 except: self.this = this
8950 def set_query_log(self, *args):
8951 """set_query_log(NearestNeighbor5D self, std::string fname)"""
8952 return _IMP_algebra.NearestNeighbor5D_set_query_log(self, *args)
8954 def get_nearest_neighbor(self, *args):
8956 get_nearest_neighbor(NearestNeighbor5D self, Vector5D q) -> unsigned int
8957 get_nearest_neighbor(NearestNeighbor5D self, unsigned int i) -> unsigned int
8959 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbor(self, *args)
8961 def get_nearest_neighbors(self, *args):
8963 get_nearest_neighbors(NearestNeighbor5D self, unsigned int i, unsigned int k) -> IMP::Ints
8964 get_nearest_neighbors(NearestNeighbor5D self, Vector5D v, unsigned int k) -> IMP::Ints
8966 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbors(self, *args)
8968 def get_in_ball(self, *args):
8970 get_in_ball(NearestNeighbor5D self, unsigned int i, double distance) -> IMP::Ints
8971 get_in_ball(NearestNeighbor5D self, Vector5D pt, double distance) -> IMP::Ints
8973 return _IMP_algebra.NearestNeighbor5D_get_in_ball(self, *args)
8975 def get_version_info(self):
8976 """get_version_info(NearestNeighbor5D self) -> VersionInfo"""
8977 return _IMP_algebra.NearestNeighbor5D_get_version_info(self)
8980 """__str__(NearestNeighbor5D self) -> std::string"""
8981 return _IMP_algebra.NearestNeighbor5D___str__(self)
8984 """__repr__(NearestNeighbor5D self) -> std::string"""
8985 return _IMP_algebra.NearestNeighbor5D___repr__(self)
8988 return _object_cast_to_NearestNeighborD(o)
8989 get_from = staticmethod(get_from)
8991 NearestNeighbor5D_swigregister = _IMP_algebra.NearestNeighbor5D_swigregister
8992 NearestNeighbor5D_swigregister(NearestNeighbor5D)
8995 """Proxy of C++ IMP::algebra::NearestNeighborD<(6)> class"""
8996 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8997 def __init__(self, *args):
8999 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & vs, double epsilon=0) -> NearestNeighbor6D
9000 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & vs) -> NearestNeighbor6D
9002 this = _IMP_algebra.new_NearestNeighbor6D(*args)
9003 try: self.this.append(this)
9004 except: self.this = this
9005 def set_query_log(self, *args):
9006 """set_query_log(NearestNeighbor6D self, std::string fname)"""
9007 return _IMP_algebra.NearestNeighbor6D_set_query_log(self, *args)
9009 def get_nearest_neighbor(self, *args):
9011 get_nearest_neighbor(NearestNeighbor6D self, Vector6D q) -> unsigned int
9012 get_nearest_neighbor(NearestNeighbor6D self, unsigned int i) -> unsigned int
9014 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbor(self, *args)
9016 def get_nearest_neighbors(self, *args):
9018 get_nearest_neighbors(NearestNeighbor6D self, unsigned int i, unsigned int k) -> IMP::Ints
9019 get_nearest_neighbors(NearestNeighbor6D self, Vector6D v, unsigned int k) -> IMP::Ints
9021 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbors(self, *args)
9023 def get_in_ball(self, *args):
9025 get_in_ball(NearestNeighbor6D self, unsigned int i, double distance) -> IMP::Ints
9026 get_in_ball(NearestNeighbor6D self, Vector6D pt, double distance) -> IMP::Ints
9028 return _IMP_algebra.NearestNeighbor6D_get_in_ball(self, *args)
9030 def get_version_info(self):
9031 """get_version_info(NearestNeighbor6D self) -> VersionInfo"""
9032 return _IMP_algebra.NearestNeighbor6D_get_version_info(self)
9035 """__str__(NearestNeighbor6D self) -> std::string"""
9036 return _IMP_algebra.NearestNeighbor6D___str__(self)
9039 """__repr__(NearestNeighbor6D self) -> std::string"""
9040 return _IMP_algebra.NearestNeighbor6D___repr__(self)
9043 return _object_cast_to_NearestNeighborD(o)
9044 get_from = staticmethod(get_from)
9046 NearestNeighbor6D_swigregister = _IMP_algebra.NearestNeighbor6D_swigregister
9047 NearestNeighbor6D_swigregister(NearestNeighbor6D)
9050 """Proxy of C++ IMP::algebra::NearestNeighborD<(-1)> class"""
9051 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9052 def __init__(self, *args):
9054 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & vs, double epsilon=0) -> NearestNeighborKD
9055 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & vs) -> NearestNeighborKD
9057 this = _IMP_algebra.new_NearestNeighborKD(*args)
9058 try: self.this.append(this)
9059 except: self.this = this
9060 def set_query_log(self, *args):
9061 """set_query_log(NearestNeighborKD self, std::string fname)"""
9062 return _IMP_algebra.NearestNeighborKD_set_query_log(self, *args)
9064 def get_nearest_neighbor(self, *args):
9066 get_nearest_neighbor(NearestNeighborKD self, VectorKD q) -> unsigned int
9067 get_nearest_neighbor(NearestNeighborKD self, unsigned int i) -> unsigned int
9069 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbor(self, *args)
9071 def get_nearest_neighbors(self, *args):
9073 get_nearest_neighbors(NearestNeighborKD self, unsigned int i, unsigned int k) -> IMP::Ints
9074 get_nearest_neighbors(NearestNeighborKD self, VectorKD v, unsigned int k) -> IMP::Ints
9076 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbors(self, *args)
9078 def get_in_ball(self, *args):
9080 get_in_ball(NearestNeighborKD self, unsigned int i, double distance) -> IMP::Ints
9081 get_in_ball(NearestNeighborKD self, VectorKD pt, double distance) -> IMP::Ints
9083 return _IMP_algebra.NearestNeighborKD_get_in_ball(self, *args)
9085 def get_version_info(self):
9086 """get_version_info(NearestNeighborKD self) -> VersionInfo"""
9087 return _IMP_algebra.NearestNeighborKD_get_version_info(self)
9090 """__str__(NearestNeighborKD self) -> std::string"""
9091 return _IMP_algebra.NearestNeighborKD___str__(self)
9094 """__repr__(NearestNeighborKD self) -> std::string"""
9095 return _IMP_algebra.NearestNeighborKD___repr__(self)
9098 return _object_cast_to_NearestNeighborD(o)
9099 get_from = staticmethod(get_from)
9101 NearestNeighborKD_swigregister = _IMP_algebra.NearestNeighborKD_swigregister
9102 NearestNeighborKD_swigregister(NearestNeighborKD)
9106 """get_transformation_aligning_pair(IMP::algebra::Vector2Ds const & set_from, IMP::algebra::Vector2Ds const & set_to) -> Transformation2D"""
9107 return _IMP_algebra.get_transformation_aligning_pair(*args)
9108 class PrincipalComponentAnalysis1D(_GeometricPrimitive1D):
9109 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(1)> class"""
9110 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9111 def __init__(self, *args):
9113 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self) -> PrincipalComponentAnalysis1D
9114 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & pcs, Vector1D values, Vector1D centroid) -> PrincipalComponentAnalysis1D
9116 this = _IMP_algebra.new_PrincipalComponentAnalysis1D(*args)
9117 try: self.this.append(this)
9118 except: self.this = this
9120 """get_principal_components(PrincipalComponentAnalysis1D self) -> IMP::base::Vector< IMP::algebra::VectorD< 1 > >"""
9121 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_components(self)
9123 def get_principal_component(self, *args):
9124 """get_principal_component(PrincipalComponentAnalysis1D self, unsigned int i) -> Vector1D"""
9125 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_component(self, *args)
9127 def get_principal_values(self):
9128 """get_principal_values(PrincipalComponentAnalysis1D self) -> Vector1D"""
9129 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_values(self)
9131 def get_principal_value(self, *args):
9132 """get_principal_value(PrincipalComponentAnalysis1D self, unsigned int i) -> double"""
9133 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_value(self, *args)
9136 """get_centroid(PrincipalComponentAnalysis1D self) -> Vector1D"""
9137 return _IMP_algebra.PrincipalComponentAnalysis1D_get_centroid(self)
9139 def set_centroid(self, *args):
9140 """set_centroid(PrincipalComponentAnalysis1D self, Vector1D cntr)"""
9141 return _IMP_algebra.PrincipalComponentAnalysis1D_set_centroid(self, *args)
9143 def show(self, *args):
9145 show(PrincipalComponentAnalysis1D self, _ostream out=std::cout)
9146 show(PrincipalComponentAnalysis1D self)
9148 return _IMP_algebra.PrincipalComponentAnalysis1D_show(self, *args)
9150 def __cmp__(self, *args):
9151 """__cmp__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> int"""
9152 return _IMP_algebra.PrincipalComponentAnalysis1D___cmp__(self, *args)
9154 def __eq__(self, *args):
9155 """__eq__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
9156 return _IMP_algebra.PrincipalComponentAnalysis1D___eq__(self, *args)
9158 def __ne__(self, *args):
9159 """__ne__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
9160 return _IMP_algebra.PrincipalComponentAnalysis1D___ne__(self, *args)
9162 def __lt__(self, *args):
9163 """__lt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
9164 return _IMP_algebra.PrincipalComponentAnalysis1D___lt__(self, *args)
9166 def __gt__(self, *args):
9167 """__gt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
9168 return _IMP_algebra.PrincipalComponentAnalysis1D___gt__(self, *args)
9170 def __ge__(self, *args):
9171 """__ge__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
9172 return _IMP_algebra.PrincipalComponentAnalysis1D___ge__(self, *args)
9174 def __le__(self, *args):
9175 """__le__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
9176 return _IMP_algebra.PrincipalComponentAnalysis1D___le__(self, *args)
9179 """__str__(PrincipalComponentAnalysis1D self) -> std::string"""
9180 return _IMP_algebra.PrincipalComponentAnalysis1D___str__(self)
9183 """__repr__(PrincipalComponentAnalysis1D self) -> std::string"""
9184 return _IMP_algebra.PrincipalComponentAnalysis1D___repr__(self)
9186 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis1D
9187 __del__ =
lambda self :
None;
9188 PrincipalComponentAnalysis1D_swigregister = _IMP_algebra.PrincipalComponentAnalysis1D_swigregister
9189 PrincipalComponentAnalysis1D_swigregister(PrincipalComponentAnalysis1D)
9191 class PrincipalComponentAnalysis2D(_GeometricPrimitive2D):
9192 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(2)> class"""
9193 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9194 def __init__(self, *args):
9196 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self) -> PrincipalComponentAnalysis2D
9197 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & pcs, Vector2D values, Vector2D centroid) -> PrincipalComponentAnalysis2D
9199 this = _IMP_algebra.new_PrincipalComponentAnalysis2D(*args)
9200 try: self.this.append(this)
9201 except: self.this = this
9203 """get_principal_components(PrincipalComponentAnalysis2D self) -> IMP::base::Vector< IMP::algebra::VectorD< 2 > >"""
9204 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_components(self)
9206 def get_principal_component(self, *args):
9207 """get_principal_component(PrincipalComponentAnalysis2D self, unsigned int i) -> Vector2D"""
9208 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_component(self, *args)
9210 def get_principal_values(self):
9211 """get_principal_values(PrincipalComponentAnalysis2D self) -> Vector2D"""
9212 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_values(self)
9214 def get_principal_value(self, *args):
9215 """get_principal_value(PrincipalComponentAnalysis2D self, unsigned int i) -> double"""
9216 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_value(self, *args)
9219 """get_centroid(PrincipalComponentAnalysis2D self) -> Vector2D"""
9220 return _IMP_algebra.PrincipalComponentAnalysis2D_get_centroid(self)
9222 def set_centroid(self, *args):
9223 """set_centroid(PrincipalComponentAnalysis2D self, Vector2D cntr)"""
9224 return _IMP_algebra.PrincipalComponentAnalysis2D_set_centroid(self, *args)
9226 def show(self, *args):
9228 show(PrincipalComponentAnalysis2D self, _ostream out=std::cout)
9229 show(PrincipalComponentAnalysis2D self)
9231 return _IMP_algebra.PrincipalComponentAnalysis2D_show(self, *args)
9233 def __cmp__(self, *args):
9234 """__cmp__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> int"""
9235 return _IMP_algebra.PrincipalComponentAnalysis2D___cmp__(self, *args)
9237 def __eq__(self, *args):
9238 """__eq__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
9239 return _IMP_algebra.PrincipalComponentAnalysis2D___eq__(self, *args)
9241 def __ne__(self, *args):
9242 """__ne__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
9243 return _IMP_algebra.PrincipalComponentAnalysis2D___ne__(self, *args)
9245 def __lt__(self, *args):
9246 """__lt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
9247 return _IMP_algebra.PrincipalComponentAnalysis2D___lt__(self, *args)
9249 def __gt__(self, *args):
9250 """__gt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
9251 return _IMP_algebra.PrincipalComponentAnalysis2D___gt__(self, *args)
9253 def __ge__(self, *args):
9254 """__ge__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
9255 return _IMP_algebra.PrincipalComponentAnalysis2D___ge__(self, *args)
9257 def __le__(self, *args):
9258 """__le__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
9259 return _IMP_algebra.PrincipalComponentAnalysis2D___le__(self, *args)
9262 """__str__(PrincipalComponentAnalysis2D self) -> std::string"""
9263 return _IMP_algebra.PrincipalComponentAnalysis2D___str__(self)
9266 """__repr__(PrincipalComponentAnalysis2D self) -> std::string"""
9267 return _IMP_algebra.PrincipalComponentAnalysis2D___repr__(self)
9269 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis2D
9270 __del__ =
lambda self :
None;
9271 PrincipalComponentAnalysis2D_swigregister = _IMP_algebra.PrincipalComponentAnalysis2D_swigregister
9272 PrincipalComponentAnalysis2D_swigregister(PrincipalComponentAnalysis2D)
9274 class PrincipalComponentAnalysis3D(_GeometricPrimitive3D):
9275 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(3)> class"""
9276 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9277 def __init__(self, *args):
9279 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self) -> PrincipalComponentAnalysis3D
9280 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & pcs, Vector3D values, Vector3D centroid) -> PrincipalComponentAnalysis3D
9282 this = _IMP_algebra.new_PrincipalComponentAnalysis3D(*args)
9283 try: self.this.append(this)
9284 except: self.this = this
9286 """get_principal_components(PrincipalComponentAnalysis3D self) -> IMP::base::Vector< IMP::algebra::VectorD< 3 > >"""
9287 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_components(self)
9289 def get_principal_component(self, *args):
9290 """get_principal_component(PrincipalComponentAnalysis3D self, unsigned int i) -> Vector3D"""
9291 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_component(self, *args)
9293 def get_principal_values(self):
9294 """get_principal_values(PrincipalComponentAnalysis3D self) -> Vector3D"""
9295 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_values(self)
9297 def get_principal_value(self, *args):
9298 """get_principal_value(PrincipalComponentAnalysis3D self, unsigned int i) -> double"""
9299 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_value(self, *args)
9302 """get_centroid(PrincipalComponentAnalysis3D self) -> Vector3D"""
9303 return _IMP_algebra.PrincipalComponentAnalysis3D_get_centroid(self)
9305 def set_centroid(self, *args):
9306 """set_centroid(PrincipalComponentAnalysis3D self, Vector3D cntr)"""
9307 return _IMP_algebra.PrincipalComponentAnalysis3D_set_centroid(self, *args)
9309 def show(self, *args):
9311 show(PrincipalComponentAnalysis3D self, _ostream out=std::cout)
9312 show(PrincipalComponentAnalysis3D self)
9314 return _IMP_algebra.PrincipalComponentAnalysis3D_show(self, *args)
9316 def __cmp__(self, *args):
9317 """__cmp__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> int"""
9318 return _IMP_algebra.PrincipalComponentAnalysis3D___cmp__(self, *args)
9320 def __eq__(self, *args):
9321 """__eq__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
9322 return _IMP_algebra.PrincipalComponentAnalysis3D___eq__(self, *args)
9324 def __ne__(self, *args):
9325 """__ne__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
9326 return _IMP_algebra.PrincipalComponentAnalysis3D___ne__(self, *args)
9328 def __lt__(self, *args):
9329 """__lt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
9330 return _IMP_algebra.PrincipalComponentAnalysis3D___lt__(self, *args)
9332 def __gt__(self, *args):
9333 """__gt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
9334 return _IMP_algebra.PrincipalComponentAnalysis3D___gt__(self, *args)
9336 def __ge__(self, *args):
9337 """__ge__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
9338 return _IMP_algebra.PrincipalComponentAnalysis3D___ge__(self, *args)
9340 def __le__(self, *args):
9341 """__le__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
9342 return _IMP_algebra.PrincipalComponentAnalysis3D___le__(self, *args)
9345 """__str__(PrincipalComponentAnalysis3D self) -> std::string"""
9346 return _IMP_algebra.PrincipalComponentAnalysis3D___str__(self)
9349 """__repr__(PrincipalComponentAnalysis3D self) -> std::string"""
9350 return _IMP_algebra.PrincipalComponentAnalysis3D___repr__(self)
9352 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis3D
9353 __del__ =
lambda self :
None;
9354 PrincipalComponentAnalysis3D_swigregister = _IMP_algebra.PrincipalComponentAnalysis3D_swigregister
9355 PrincipalComponentAnalysis3D_swigregister(PrincipalComponentAnalysis3D)
9357 class PrincipalComponentAnalysis4D(_GeometricPrimitive4D):
9358 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(4)> class"""
9359 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9360 def __init__(self, *args):
9362 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self) -> PrincipalComponentAnalysis4D
9363 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & pcs, Vector4D values, Vector4D centroid) -> PrincipalComponentAnalysis4D
9365 this = _IMP_algebra.new_PrincipalComponentAnalysis4D(*args)
9366 try: self.this.append(this)
9367 except: self.this = this
9369 """get_principal_components(PrincipalComponentAnalysis4D self) -> IMP::base::Vector< IMP::algebra::VectorD< 4 > >"""
9370 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_components(self)
9372 def get_principal_component(self, *args):
9373 """get_principal_component(PrincipalComponentAnalysis4D self, unsigned int i) -> Vector4D"""
9374 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_component(self, *args)
9376 def get_principal_values(self):
9377 """get_principal_values(PrincipalComponentAnalysis4D self) -> Vector4D"""
9378 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_values(self)
9380 def get_principal_value(self, *args):
9381 """get_principal_value(PrincipalComponentAnalysis4D self, unsigned int i) -> double"""
9382 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_value(self, *args)
9385 """get_centroid(PrincipalComponentAnalysis4D self) -> Vector4D"""
9386 return _IMP_algebra.PrincipalComponentAnalysis4D_get_centroid(self)
9388 def set_centroid(self, *args):
9389 """set_centroid(PrincipalComponentAnalysis4D self, Vector4D cntr)"""
9390 return _IMP_algebra.PrincipalComponentAnalysis4D_set_centroid(self, *args)
9392 def show(self, *args):
9394 show(PrincipalComponentAnalysis4D self, _ostream out=std::cout)
9395 show(PrincipalComponentAnalysis4D self)
9397 return _IMP_algebra.PrincipalComponentAnalysis4D_show(self, *args)
9399 def __cmp__(self, *args):
9400 """__cmp__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> int"""
9401 return _IMP_algebra.PrincipalComponentAnalysis4D___cmp__(self, *args)
9403 def __eq__(self, *args):
9404 """__eq__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
9405 return _IMP_algebra.PrincipalComponentAnalysis4D___eq__(self, *args)
9407 def __ne__(self, *args):
9408 """__ne__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
9409 return _IMP_algebra.PrincipalComponentAnalysis4D___ne__(self, *args)
9411 def __lt__(self, *args):
9412 """__lt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
9413 return _IMP_algebra.PrincipalComponentAnalysis4D___lt__(self, *args)
9415 def __gt__(self, *args):
9416 """__gt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
9417 return _IMP_algebra.PrincipalComponentAnalysis4D___gt__(self, *args)
9419 def __ge__(self, *args):
9420 """__ge__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
9421 return _IMP_algebra.PrincipalComponentAnalysis4D___ge__(self, *args)
9423 def __le__(self, *args):
9424 """__le__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
9425 return _IMP_algebra.PrincipalComponentAnalysis4D___le__(self, *args)
9428 """__str__(PrincipalComponentAnalysis4D self) -> std::string"""
9429 return _IMP_algebra.PrincipalComponentAnalysis4D___str__(self)
9432 """__repr__(PrincipalComponentAnalysis4D self) -> std::string"""
9433 return _IMP_algebra.PrincipalComponentAnalysis4D___repr__(self)
9435 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis4D
9436 __del__ =
lambda self :
None;
9437 PrincipalComponentAnalysis4D_swigregister = _IMP_algebra.PrincipalComponentAnalysis4D_swigregister
9438 PrincipalComponentAnalysis4D_swigregister(PrincipalComponentAnalysis4D)
9440 class PrincipalComponentAnalysis5D(_GeometricPrimitive5D):
9441 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(5)> class"""
9442 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9443 def __init__(self, *args):
9445 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self) -> PrincipalComponentAnalysis5D
9446 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & pcs, Vector5D values, Vector5D centroid) -> PrincipalComponentAnalysis5D
9448 this = _IMP_algebra.new_PrincipalComponentAnalysis5D(*args)
9449 try: self.this.append(this)
9450 except: self.this = this
9452 """get_principal_components(PrincipalComponentAnalysis5D self) -> IMP::base::Vector< IMP::algebra::VectorD< 5 > >"""
9453 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_components(self)
9455 def get_principal_component(self, *args):
9456 """get_principal_component(PrincipalComponentAnalysis5D self, unsigned int i) -> Vector5D"""
9457 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_component(self, *args)
9459 def get_principal_values(self):
9460 """get_principal_values(PrincipalComponentAnalysis5D self) -> Vector5D"""
9461 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_values(self)
9463 def get_principal_value(self, *args):
9464 """get_principal_value(PrincipalComponentAnalysis5D self, unsigned int i) -> double"""
9465 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_value(self, *args)
9468 """get_centroid(PrincipalComponentAnalysis5D self) -> Vector5D"""
9469 return _IMP_algebra.PrincipalComponentAnalysis5D_get_centroid(self)
9471 def set_centroid(self, *args):
9472 """set_centroid(PrincipalComponentAnalysis5D self, Vector5D cntr)"""
9473 return _IMP_algebra.PrincipalComponentAnalysis5D_set_centroid(self, *args)
9475 def show(self, *args):
9477 show(PrincipalComponentAnalysis5D self, _ostream out=std::cout)
9478 show(PrincipalComponentAnalysis5D self)
9480 return _IMP_algebra.PrincipalComponentAnalysis5D_show(self, *args)
9482 def __cmp__(self, *args):
9483 """__cmp__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> int"""
9484 return _IMP_algebra.PrincipalComponentAnalysis5D___cmp__(self, *args)
9486 def __eq__(self, *args):
9487 """__eq__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
9488 return _IMP_algebra.PrincipalComponentAnalysis5D___eq__(self, *args)
9490 def __ne__(self, *args):
9491 """__ne__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
9492 return _IMP_algebra.PrincipalComponentAnalysis5D___ne__(self, *args)
9494 def __lt__(self, *args):
9495 """__lt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
9496 return _IMP_algebra.PrincipalComponentAnalysis5D___lt__(self, *args)
9498 def __gt__(self, *args):
9499 """__gt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
9500 return _IMP_algebra.PrincipalComponentAnalysis5D___gt__(self, *args)
9502 def __ge__(self, *args):
9503 """__ge__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
9504 return _IMP_algebra.PrincipalComponentAnalysis5D___ge__(self, *args)
9506 def __le__(self, *args):
9507 """__le__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
9508 return _IMP_algebra.PrincipalComponentAnalysis5D___le__(self, *args)
9511 """__str__(PrincipalComponentAnalysis5D self) -> std::string"""
9512 return _IMP_algebra.PrincipalComponentAnalysis5D___str__(self)
9515 """__repr__(PrincipalComponentAnalysis5D self) -> std::string"""
9516 return _IMP_algebra.PrincipalComponentAnalysis5D___repr__(self)
9518 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis5D
9519 __del__ =
lambda self :
None;
9520 PrincipalComponentAnalysis5D_swigregister = _IMP_algebra.PrincipalComponentAnalysis5D_swigregister
9521 PrincipalComponentAnalysis5D_swigregister(PrincipalComponentAnalysis5D)
9523 class PrincipalComponentAnalysis6D(_GeometricPrimitive6D):
9524 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(6)> class"""
9525 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9526 def __init__(self, *args):
9528 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self) -> PrincipalComponentAnalysis6D
9529 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & pcs, Vector6D values, Vector6D centroid) -> PrincipalComponentAnalysis6D
9531 this = _IMP_algebra.new_PrincipalComponentAnalysis6D(*args)
9532 try: self.this.append(this)
9533 except: self.this = this
9535 """get_principal_components(PrincipalComponentAnalysis6D self) -> IMP::base::Vector< IMP::algebra::VectorD< 6 > >"""
9536 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_components(self)
9538 def get_principal_component(self, *args):
9539 """get_principal_component(PrincipalComponentAnalysis6D self, unsigned int i) -> Vector6D"""
9540 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_component(self, *args)
9542 def get_principal_values(self):
9543 """get_principal_values(PrincipalComponentAnalysis6D self) -> Vector6D"""
9544 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_values(self)
9546 def get_principal_value(self, *args):
9547 """get_principal_value(PrincipalComponentAnalysis6D self, unsigned int i) -> double"""
9548 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_value(self, *args)
9551 """get_centroid(PrincipalComponentAnalysis6D self) -> Vector6D"""
9552 return _IMP_algebra.PrincipalComponentAnalysis6D_get_centroid(self)
9554 def set_centroid(self, *args):
9555 """set_centroid(PrincipalComponentAnalysis6D self, Vector6D cntr)"""
9556 return _IMP_algebra.PrincipalComponentAnalysis6D_set_centroid(self, *args)
9558 def show(self, *args):
9560 show(PrincipalComponentAnalysis6D self, _ostream out=std::cout)
9561 show(PrincipalComponentAnalysis6D self)
9563 return _IMP_algebra.PrincipalComponentAnalysis6D_show(self, *args)
9565 def __cmp__(self, *args):
9566 """__cmp__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> int"""
9567 return _IMP_algebra.PrincipalComponentAnalysis6D___cmp__(self, *args)
9569 def __eq__(self, *args):
9570 """__eq__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9571 return _IMP_algebra.PrincipalComponentAnalysis6D___eq__(self, *args)
9573 def __ne__(self, *args):
9574 """__ne__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9575 return _IMP_algebra.PrincipalComponentAnalysis6D___ne__(self, *args)
9577 def __lt__(self, *args):
9578 """__lt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9579 return _IMP_algebra.PrincipalComponentAnalysis6D___lt__(self, *args)
9581 def __gt__(self, *args):
9582 """__gt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9583 return _IMP_algebra.PrincipalComponentAnalysis6D___gt__(self, *args)
9585 def __ge__(self, *args):
9586 """__ge__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9587 return _IMP_algebra.PrincipalComponentAnalysis6D___ge__(self, *args)
9589 def __le__(self, *args):
9590 """__le__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9591 return _IMP_algebra.PrincipalComponentAnalysis6D___le__(self, *args)
9594 """__str__(PrincipalComponentAnalysis6D self) -> std::string"""
9595 return _IMP_algebra.PrincipalComponentAnalysis6D___str__(self)
9598 """__repr__(PrincipalComponentAnalysis6D self) -> std::string"""
9599 return _IMP_algebra.PrincipalComponentAnalysis6D___repr__(self)
9601 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis6D
9602 __del__ =
lambda self :
None;
9603 PrincipalComponentAnalysis6D_swigregister = _IMP_algebra.PrincipalComponentAnalysis6D_swigregister
9604 PrincipalComponentAnalysis6D_swigregister(PrincipalComponentAnalysis6D)
9606 class PrincipalComponentAnalysisKD(_GeometricPrimitiveKD):
9607 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(-1)> class"""
9608 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9609 def __init__(self, *args):
9611 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self) -> PrincipalComponentAnalysisKD
9612 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & pcs, VectorKD values, VectorKD centroid) -> PrincipalComponentAnalysisKD
9614 this = _IMP_algebra.new_PrincipalComponentAnalysisKD(*args)
9615 try: self.this.append(this)
9616 except: self.this = this
9618 """get_principal_components(PrincipalComponentAnalysisKD self) -> IMP::base::Vector< IMP::algebra::VectorD< -1 > >"""
9619 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_components(self)
9621 def get_principal_component(self, *args):
9622 """get_principal_component(PrincipalComponentAnalysisKD self, unsigned int i) -> VectorKD"""
9623 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_component(self, *args)
9625 def get_principal_values(self):
9626 """get_principal_values(PrincipalComponentAnalysisKD self) -> VectorKD"""
9627 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_values(self)
9629 def get_principal_value(self, *args):
9630 """get_principal_value(PrincipalComponentAnalysisKD self, unsigned int i) -> double"""
9631 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_value(self, *args)
9634 """get_centroid(PrincipalComponentAnalysisKD self) -> VectorKD"""
9635 return _IMP_algebra.PrincipalComponentAnalysisKD_get_centroid(self)
9637 def set_centroid(self, *args):
9638 """set_centroid(PrincipalComponentAnalysisKD self, VectorKD cntr)"""
9639 return _IMP_algebra.PrincipalComponentAnalysisKD_set_centroid(self, *args)
9641 def show(self, *args):
9643 show(PrincipalComponentAnalysisKD self, _ostream out=std::cout)
9644 show(PrincipalComponentAnalysisKD self)
9646 return _IMP_algebra.PrincipalComponentAnalysisKD_show(self, *args)
9648 def __cmp__(self, *args):
9649 """__cmp__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> int"""
9650 return _IMP_algebra.PrincipalComponentAnalysisKD___cmp__(self, *args)
9652 def __eq__(self, *args):
9653 """__eq__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9654 return _IMP_algebra.PrincipalComponentAnalysisKD___eq__(self, *args)
9656 def __ne__(self, *args):
9657 """__ne__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9658 return _IMP_algebra.PrincipalComponentAnalysisKD___ne__(self, *args)
9660 def __lt__(self, *args):
9661 """__lt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9662 return _IMP_algebra.PrincipalComponentAnalysisKD___lt__(self, *args)
9664 def __gt__(self, *args):
9665 """__gt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9666 return _IMP_algebra.PrincipalComponentAnalysisKD___gt__(self, *args)
9668 def __ge__(self, *args):
9669 """__ge__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9670 return _IMP_algebra.PrincipalComponentAnalysisKD___ge__(self, *args)
9672 def __le__(self, *args):
9673 """__le__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9674 return _IMP_algebra.PrincipalComponentAnalysisKD___le__(self, *args)
9677 """__str__(PrincipalComponentAnalysisKD self) -> std::string"""
9678 return _IMP_algebra.PrincipalComponentAnalysisKD___str__(self)
9681 """__repr__(PrincipalComponentAnalysisKD self) -> std::string"""
9682 return _IMP_algebra.PrincipalComponentAnalysisKD___repr__(self)
9684 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysisKD
9685 __del__ =
lambda self :
None;
9686 PrincipalComponentAnalysisKD_swigregister = _IMP_algebra.PrincipalComponentAnalysisKD_swigregister
9687 PrincipalComponentAnalysisKD_swigregister(PrincipalComponentAnalysisKD)
9692 get_principal_components(IMP::base::Vector< IMP::algebra::Vector1D > const & a) -> PrincipalComponentAnalysis1D
9693 get_principal_components(IMP::base::Vector< IMP::algebra::Vector2D > const & a) -> PrincipalComponentAnalysis2D
9694 get_principal_components(IMP::base::Vector< IMP::algebra::Vector3D > const & a) -> PrincipalComponentAnalysis3D
9695 get_principal_components(IMP::base::Vector< IMP::algebra::Vector4D > const & a) -> PrincipalComponentAnalysis4D
9696 get_principal_components(IMP::base::Vector< IMP::algebra::Vector5D > const & a) -> PrincipalComponentAnalysis5D
9697 get_principal_components(IMP::base::Vector< IMP::algebra::Vector6D > const & a) -> PrincipalComponentAnalysis6D
9698 get_principal_components(IMP::base::Vector< IMP::algebra::VectorKD > const & a) -> PrincipalComponentAnalysisKD
9700 return _IMP_algebra.get_principal_components(*args)
9704 get_vertices(BoundingBox1D a) -> IMP::base::Vector< IMP::algebra::Vector1D >
9705 get_vertices(BoundingBox2D a) -> IMP::base::Vector< IMP::algebra::Vector2D >
9706 get_vertices(BoundingBox3D a) -> IMP::base::Vector< IMP::algebra::Vector3D >
9707 get_vertices(BoundingBox4D a) -> IMP::base::Vector< IMP::algebra::Vector4D >
9708 get_vertices(BoundingBox5D a) -> IMP::base::Vector< IMP::algebra::Vector5D >
9709 get_vertices(BoundingBox6D a) -> IMP::base::Vector< IMP::algebra::Vector6D >
9710 get_vertices(BoundingBoxKD a) -> IMP::base::Vector< IMP::algebra::VectorKD >
9712 return _IMP_algebra.get_vertices(*args)
9716 get_distance(Rotation3D r0, Rotation3D r1) -> double
9717 get_distance(Segment3D s, Vector3D p) -> double
9718 get_distance(Segment3D a, Segment3D b) -> double
9719 get_distance(Plane3D pln, Vector3D p) -> double
9720 get_distance(Vector1D a, Vector1D b) -> double
9721 get_distance(Vector2D a, Vector2D b) -> double
9722 get_distance(Vector3D a, Vector3D b) -> double
9723 get_distance(Vector4D a, Vector4D b) -> double
9724 get_distance(Vector5D a, Vector5D b) -> double
9725 get_distance(Vector6D a, Vector6D b) -> double
9726 get_distance(VectorKD a, VectorKD b) -> double
9727 get_distance(Sphere1D a, Sphere1D b) -> double
9728 get_distance(Sphere2D a, Sphere2D b) -> double
9729 get_distance(Sphere3D a, Sphere3D b) -> double
9730 get_distance(Sphere4D a, Sphere4D b) -> double
9731 get_distance(Sphere5D a, Sphere5D b) -> double
9732 get_distance(Sphere6D a, Sphere6D b) -> double
9733 get_distance(SphereKD a, SphereKD b) -> double
9735 return _IMP_algebra.get_distance(*args)
9739 get_squared_distance(Vector1D a, Vector1D b) -> double
9740 get_squared_distance(Vector2D a, Vector2D b) -> double
9741 get_squared_distance(Vector3D a, Vector3D b) -> double
9742 get_squared_distance(Vector4D a, Vector4D b) -> double
9743 get_squared_distance(Vector5D a, Vector5D b) -> double
9744 get_squared_distance(Vector6D a, Vector6D b) -> double
9745 get_squared_distance(VectorKD a, VectorKD b) -> double
9747 return _IMP_algebra.get_squared_distance(*args)
9749 def get_basis_vector_1d(*args):
9750 """get_basis_vector_1d(unsigned int coordinate) -> Vector1D"""
9751 return _IMP_algebra.get_basis_vector_1d(*args)
9753 def get_basis_vector_2d(*args):
9754 """get_basis_vector_2d(unsigned int coordinate) -> Vector2D"""
9755 return _IMP_algebra.get_basis_vector_2d(*args)
9757 def get_basis_vector_3d(*args):
9758 """get_basis_vector_3d(unsigned int coordinate) -> Vector3D"""
9759 return _IMP_algebra.get_basis_vector_3d(*args)
9761 def get_basis_vector_4d(*args):
9762 """get_basis_vector_4d(unsigned int coordinate) -> Vector4D"""
9763 return _IMP_algebra.get_basis_vector_4d(*args)
9765 def get_basis_vector_5d(*args):
9766 """get_basis_vector_5d(unsigned int coordinate) -> Vector5D"""
9767 return _IMP_algebra.get_basis_vector_5d(*args)
9769 def get_basis_vector_6d(*args):
9770 """get_basis_vector_6d(unsigned int coordinate) -> Vector6D"""
9771 return _IMP_algebra.get_basis_vector_6d(*args)
9773 def get_zero_vector_1d():
9774 """get_zero_vector_1d() -> Vector1D"""
9775 return _IMP_algebra.get_zero_vector_1d()
9777 def get_zero_vector_2d():
9778 """get_zero_vector_2d() -> Vector2D"""
9779 return _IMP_algebra.get_zero_vector_2d()
9781 def get_zero_vector_3d():
9782 """get_zero_vector_3d() -> Vector3D"""
9783 return _IMP_algebra.get_zero_vector_3d()
9785 def get_zero_vector_4d():
9786 """get_zero_vector_4d() -> Vector4D"""
9787 return _IMP_algebra.get_zero_vector_4d()
9789 def get_zero_vector_5d():
9790 """get_zero_vector_5d() -> Vector5D"""
9791 return _IMP_algebra.get_zero_vector_5d()
9793 def get_zero_vector_6d():
9794 """get_zero_vector_6d() -> Vector6D"""
9795 return _IMP_algebra.get_zero_vector_6d()
9797 def get_ones_vector_1d(v=1):
9799 get_ones_vector_1d(double v=1) -> Vector1D
9800 get_ones_vector_1d() -> Vector1D
9802 return _IMP_algebra.get_ones_vector_1d(v)
9804 def get_ones_vector_2d(v=1):
9806 get_ones_vector_2d(double v=1) -> Vector2D
9807 get_ones_vector_2d() -> Vector2D
9809 return _IMP_algebra.get_ones_vector_2d(v)
9811 def get_ones_vector_3d(v=1):
9813 get_ones_vector_3d(double v=1) -> Vector3D
9814 get_ones_vector_3d() -> Vector3D
9816 return _IMP_algebra.get_ones_vector_3d(v)
9818 def get_ones_vector_4d(v=1):
9820 get_ones_vector_4d(double v=1) -> Vector4D
9821 get_ones_vector_4d() -> Vector4D
9823 return _IMP_algebra.get_ones_vector_4d(v)
9825 def get_ones_vector_5d(v=1):
9827 get_ones_vector_5d(double v=1) -> Vector5D
9828 get_ones_vector_5d() -> Vector5D
9830 return _IMP_algebra.get_ones_vector_5d(v)
9832 def get_ones_vector_6d(v=1):
9834 get_ones_vector_6d(double v=1) -> Vector6D
9835 get_ones_vector_6d() -> Vector6D
9837 return _IMP_algebra.get_ones_vector_6d(v)
9839 def get_unit_bounding_box_1d():
9840 """get_unit_bounding_box_1d() -> BoundingBox1D"""
9841 return _IMP_algebra.get_unit_bounding_box_1d()
9843 def get_unit_bounding_box_2d():
9844 """get_unit_bounding_box_2d() -> BoundingBox2D"""
9845 return _IMP_algebra.get_unit_bounding_box_2d()
9847 def get_unit_bounding_box_3d():
9848 """get_unit_bounding_box_3d() -> BoundingBox3D"""
9849 return _IMP_algebra.get_unit_bounding_box_3d()
9851 def get_unit_bounding_box_4d():
9852 """get_unit_bounding_box_4d() -> BoundingBox4D"""
9853 return _IMP_algebra.get_unit_bounding_box_4d()
9855 def get_unit_bounding_box_5d():
9856 """get_unit_bounding_box_5d() -> BoundingBox5D"""
9857 return _IMP_algebra.get_unit_bounding_box_5d()
9859 def get_unit_bounding_box_6d():
9860 """get_unit_bounding_box_6d() -> BoundingBox6D"""
9861 return _IMP_algebra.get_unit_bounding_box_6d()
9863 def get_cube_1d(*args):
9864 """get_cube_1d(double radius) -> BoundingBox1D"""
9865 return _IMP_algebra.get_cube_1d(*args)
9867 def get_cube_2d(*args):
9868 """get_cube_2d(double radius) -> BoundingBox2D"""
9869 return _IMP_algebra.get_cube_2d(*args)
9871 def get_cube_3d(*args):
9872 """get_cube_3d(double radius) -> BoundingBox3D"""
9873 return _IMP_algebra.get_cube_3d(*args)
9875 def get_cube_4d(*args):
9876 """get_cube_4d(double radius) -> BoundingBox4D"""
9877 return _IMP_algebra.get_cube_4d(*args)
9879 def get_cube_5d(*args):
9880 """get_cube_5d(double radius) -> BoundingBox5D"""
9881 return _IMP_algebra.get_cube_5d(*args)
9883 def get_cube_6d(*args):
9884 """get_cube_6d(double radius) -> BoundingBox6D"""
9885 return _IMP_algebra.get_cube_6d(*args)
9887 def get_unit_sphere_1d():
9888 """get_unit_sphere_1d() -> Sphere1D"""
9889 return _IMP_algebra.get_unit_sphere_1d()
9891 def get_unit_sphere_2d():
9892 """get_unit_sphere_2d() -> Sphere2D"""
9893 return _IMP_algebra.get_unit_sphere_2d()
9895 def get_unit_sphere_3d():
9896 """get_unit_sphere_3d() -> Sphere3D"""
9897 return _IMP_algebra.get_unit_sphere_3d()
9899 def get_unit_sphere_4d():
9900 """get_unit_sphere_4d() -> Sphere4D"""
9901 return _IMP_algebra.get_unit_sphere_4d()
9903 def get_unit_sphere_5d():
9904 """get_unit_sphere_5d() -> Sphere5D"""
9905 return _IMP_algebra.get_unit_sphere_5d()
9907 def get_unit_sphere_6d():
9908 """get_unit_sphere_6d() -> Sphere6D"""
9909 return _IMP_algebra.get_unit_sphere_6d()
9913 get_interiors_intersect(Sphere1D a, Sphere1D b) -> bool
9914 get_interiors_intersect(Sphere2D a, Sphere2D b) -> bool
9915 get_interiors_intersect(Sphere3D a, Sphere3D b) -> bool
9916 get_interiors_intersect(Sphere4D a, Sphere4D b) -> bool
9917 get_interiors_intersect(Sphere5D a, Sphere5D b) -> bool
9918 get_interiors_intersect(Sphere6D a, Sphere6D b) -> bool
9919 get_interiors_intersect(SphereKD a, SphereKD b) -> bool
9920 get_interiors_intersect(BoundingBox1D a, BoundingBox1D b) -> bool
9921 get_interiors_intersect(BoundingBox2D a, BoundingBox2D b) -> bool
9922 get_interiors_intersect(BoundingBox3D a, BoundingBox3D b) -> bool
9923 get_interiors_intersect(BoundingBox4D a, BoundingBox4D b) -> bool
9924 get_interiors_intersect(BoundingBox5D a, BoundingBox5D b) -> bool
9925 get_interiors_intersect(BoundingBox6D a, BoundingBox6D b) -> bool
9926 get_interiors_intersect(BoundingBoxKD a, BoundingBoxKD b) -> bool
9928 return _IMP_algebra.get_interiors_intersect(*args)
9932 get_random_vector_on(Sphere1D a) -> Vector1D
9933 get_random_vector_on(Sphere2D a) -> Vector2D
9934 get_random_vector_on(Sphere3D a) -> Vector3D
9935 get_random_vector_on(Sphere4D a) -> Vector4D
9936 get_random_vector_on(Sphere5D a) -> Vector5D
9937 get_random_vector_on(Sphere6D a) -> Vector6D
9938 get_random_vector_on(SphereKD a) -> VectorKD
9939 get_random_vector_on(BoundingBox1D a) -> Vector1D
9940 get_random_vector_on(BoundingBox2D a) -> Vector2D
9941 get_random_vector_on(BoundingBox3D a) -> Vector3D
9942 get_random_vector_on(BoundingBox4D a) -> Vector4D
9943 get_random_vector_on(BoundingBox5D a) -> Vector5D
9944 get_random_vector_on(BoundingBox6D a) -> Vector6D
9945 get_random_vector_on(BoundingBoxKD a) -> VectorKD
9947 return _IMP_algebra.get_random_vector_on(*args)
9951 get_random_vector_in(Cylinder3D c) -> Vector3D
9952 get_random_vector_in(Sphere1D a) -> Vector1D
9953 get_random_vector_in(Sphere2D a) -> Vector2D
9954 get_random_vector_in(Sphere3D a) -> Vector3D
9955 get_random_vector_in(Sphere4D a) -> Vector4D
9956 get_random_vector_in(Sphere5D a) -> Vector5D
9957 get_random_vector_in(Sphere6D a) -> Vector6D
9958 get_random_vector_in(SphereKD a) -> VectorKD
9959 get_random_vector_in(BoundingBox1D a) -> Vector1D
9960 get_random_vector_in(BoundingBox2D a) -> Vector2D
9961 get_random_vector_in(BoundingBox3D a) -> Vector3D
9962 get_random_vector_in(BoundingBox4D a) -> Vector4D
9963 get_random_vector_in(BoundingBox5D a) -> Vector5D
9964 get_random_vector_in(BoundingBox6D a) -> Vector6D
9965 get_random_vector_in(BoundingBoxKD a) -> VectorKD
9967 return _IMP_algebra.get_random_vector_in(*args)
9971 get_intersection(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
9972 get_intersection(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
9973 get_intersection(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
9974 get_intersection(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
9975 get_intersection(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
9976 get_intersection(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
9977 get_intersection(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
9979 return _IMP_algebra.get_intersection(*args)
9983 get_union(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
9984 get_union(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
9985 get_union(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
9986 get_union(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
9987 get_union(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
9988 get_union(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
9989 get_union(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
9991 return _IMP_algebra.get_union(*args)
9993 def get_bounding_box(*args):
9995 get_bounding_box(Segment3D g) -> BoundingBox3D
9996 get_bounding_box(Plane3D g) -> BoundingBox3D
9997 get_bounding_box(Cylinder3D g) -> BoundingBox3D
9998 get_bounding_box(Ellipsoid3D g) -> BoundingBox3D
9999 get_bounding_box(SpherePatch3D g) -> BoundingBox3D
10000 get_bounding_box(Cone3D g) -> BoundingBox3D
10001 get_bounding_box(Sphere1D a) -> BoundingBox1D
10002 get_bounding_box(Sphere2D a) -> BoundingBox2D
10003 get_bounding_box(Sphere3D a) -> BoundingBox3D
10004 get_bounding_box(Sphere4D a) -> BoundingBox4D
10005 get_bounding_box(Sphere5D a) -> BoundingBox5D
10006 get_bounding_box(Sphere6D a) -> BoundingBox6D
10007 get_bounding_box(SphereKD a) -> BoundingBoxKD
10009 return _IMP_algebra.get_bounding_box(*args)
10013 get_uniform_surface_cover(Cylinder3D cyl, int number_of_points) -> IMP::algebra::Vector3Ds
10014 get_uniform_surface_cover(SpherePatch3D sph, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
10015 get_uniform_surface_cover(Cone3D cone, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
10016 get_uniform_surface_cover(IMP::algebra::Sphere3Ds const & _in, double points_per_square_angstrom) -> IMP::algebra::Vector3Ds
10017 get_uniform_surface_cover(Sphere1D a, unsigned int const & b) -> IMP::algebra::Vector1Ds
10018 get_uniform_surface_cover(Sphere2D a, unsigned int const & b) -> IMP::algebra::Vector2Ds
10019 get_uniform_surface_cover(Sphere3D a, unsigned int const & b) -> IMP::algebra::Vector3Ds
10020 get_uniform_surface_cover(Sphere4D a, unsigned int const & b) -> IMP::algebra::Vector4Ds
10021 get_uniform_surface_cover(Sphere5D a, unsigned int const & b) -> IMP::algebra::Vector5Ds
10022 get_uniform_surface_cover(Sphere6D a, unsigned int const & b) -> IMP::algebra::Vector6Ds
10023 get_uniform_surface_cover(SphereKD a, unsigned int const & b) -> IMP::algebra::VectorKDs
10025 return _IMP_algebra.get_uniform_surface_cover(*args)
10029 get_grid_interior_cover_by_spacing(BoundingBox1D a, double const & b) -> IMP::algebra::Vector1Ds
10030 get_grid_interior_cover_by_spacing(BoundingBox2D a, double const & b) -> IMP::algebra::Vector2Ds
10031 get_grid_interior_cover_by_spacing(BoundingBox3D a, double const & b) -> IMP::algebra::Vector3Ds
10032 get_grid_interior_cover_by_spacing(BoundingBox4D a, double const & b) -> IMP::algebra::Vector4Ds
10033 get_grid_interior_cover_by_spacing(BoundingBox5D a, double const & b) -> IMP::algebra::Vector5Ds
10034 get_grid_interior_cover_by_spacing(BoundingBox6D a, double const & b) -> IMP::algebra::Vector6Ds
10035 get_grid_interior_cover_by_spacing(BoundingBoxKD a, double const & b) -> IMP::algebra::VectorKDs
10037 return _IMP_algebra.get_grid_interior_cover_by_spacing(*args)
10038 class _AxisAnglePair(object):
10039 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,double)> class"""
10040 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10041 __repr__ = _swig_repr
10042 def __init__(self, *args):
10044 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self) -> _AxisAnglePair
10045 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, Vector3D first, double second) -> _AxisAnglePair
10046 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, _AxisAnglePair p) -> _AxisAnglePair
10048 this = _IMP_algebra.new__AxisAnglePair(*args)
10049 try: self.this.append(this)
10050 except: self.this = this
10051 first = _swig_property(_IMP_algebra._AxisAnglePair_first_get, _IMP_algebra._AxisAnglePair_first_set)
10052 second = _swig_property(_IMP_algebra._AxisAnglePair_second_get, _IMP_algebra._AxisAnglePair_second_set)
10053 def __len__(self):
return 2
10054 def __repr__(self):
return str((self.first, self.second))
10055 def __getitem__(self, index):
10056 if not (index % 2):
10060 def __setitem__(self, index, val):
10061 if not (index % 2):
10065 __swig_destroy__ = _IMP_algebra.delete__AxisAnglePair
10066 __del__ =
lambda self :
None;
10067 _AxisAnglePair_swigregister = _IMP_algebra._AxisAnglePair_swigregister
10068 _AxisAnglePair_swigregister(_AxisAnglePair)
10072 """get_transformation_aligning_first_to_second(IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & source, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & target) -> Transformation3D"""
10073 return _IMP_algebra.get_transformation_aligning_first_to_second(*args)
10076 """get_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
10077 return _IMP_algebra.get_rmsd_transforming_first(*args)
10080 """get_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
10081 return _IMP_algebra.get_rmsd(*args)
10083 def get_weighted_rmsd_transforming_first(*args):
10085 get_weighted_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1,
10086 IMP::Floats const & weights) -> double
10088 return _IMP_algebra.get_weighted_rmsd_transforming_first(*args)
10091 """get_weighted_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
10092 return _IMP_algebra.get_weighted_rmsd(*args)
10093 LinearFit=LinearFit2D
10094 ParabolicFit=ParabolicFit2D
10097 def get_module_version():
10098 """get_module_version() -> std::string const"""
10099 return _IMP_algebra.get_module_version()
10102 """get_example_path(std::string fname) -> std::string"""
10103 return _IMP_algebra.get_example_path(*args)
10106 """get_data_path(std::string fname) -> std::string"""
10107 return _IMP_algebra.get_data_path(*args)
10108 from .
import _version_check
10109 _version_check.check_version(get_module_version())
bool get_is_big_endian()
Returns 1 if machine is big endian else 0.
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.
IntPairs get_edges(const BoundingBoxD< 3 > &)
Return the edges of the box as indices into the vertices list.
double get_area(const Geometry &)
Compute the area of any surface object.
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.
std::string get_example_path(std::string file_name)
Return the path to installed example data for this module.
Low level functionality (logging, error handling, profiling, command line flags etc) that is used by ...
double get_squared_distance(const VectorD< D > &v1, const VectorD< D > &v2)
Compute the squared distance between two vectors.
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.
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.
double get_volume(const BoundingBoxD< D > &bb)
Rotation3D get_random_rotation_3d()
Pick a rotation at random from all possible rotations.
double get_distance(const Plane3D &pln, const Vector3D &p)
Return the distance between a plane and a point in 3D.
Vector3D get_vector_product(const Vector3D &p1, const Vector3D &p2)
Returns the vector product (cross product) of two vectors.
bool get_interiors_intersect(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return true if they intersect.
FixedXYZ get_fixed_xyz_from_rotation(const Rotation3D &r)
The inverse of rotation_from_fixed_xyz()
bool get_are_colinear(const Vector3D &p1, const Vector3D &p2, const Vector3D &p3)
Return true if the three points are co-linear.
void write_pts(const Vector3Ds &vs, base::TextOutput out)
Write a set of 3D vectors to a file.
BoundingBoxD< 4 > BoundingBox4D
Typedef for Python.
Rotation2D get_identity_rotation_2d()
Builds an identity rotation in 2D.
Rotation3D get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi)
Generate a rotation object from Euler Angles.
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_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.
Rotation3Ds get_uniform_cover_rotations_3d(unsigned int num_points)
Cover the space of rotations evenly.
std::string get_data_path(std::string file_name)
Return the full path to installed data.
Rotation2D get_rotation_to_x_axis(const Vector2D &v)
Common base class for heavy weight IMP objects.
Vector3D get_centroid(const Vector3Ds &ps)
Returns the centroid of a set of vectors.
base::Vector< VectorD< D > > get_grid_interior_cover_by_spacing(const BoundingBoxD< D > &bb, double s)
Transformation3D get_identity_transformation_3d()
Return a transformation that does not do anything.
void reversed_read(void *dest, size_t size, size_t nitems, std::ifstream &f, bool reverse)
Reads from file in normal or reverse order.
void write_spheres(const Sphere3Ds &vs, base::TextOutput out)
Write a set of 3d spheres to a file.
Gaussian3D get_gaussian_from_covariance(const IMP_Eigen::Matrix3d &covariance, const Vector3D ¢er)
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 2^D 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_surface_area(const Geometry &)
Compute the surface area of any volumetric object.
double get_rmsd_transforming_first(const Transformation3D &tr, const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
Calculate the root mean square deviation between two sets of 3D points.
An exception for an invalid usage of IMP.
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.