10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
16 if version_info >= (2, 6, 0):
17 def swig_import_helper():
18 from os.path
import dirname
22 fp, pathname, description = imp.find_module(
'_IMP_algebra', [dirname(__file__)])
28 _mod = imp.load_module(
'_IMP_algebra', fp, pathname, description)
32 _IMP_algebra = swig_import_helper()
33 del swig_import_helper
38 _swig_property = property
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44 if (name ==
"thisown"):
45 return self.this.own(value)
47 if type(value).__name__ ==
'SwigPyObject':
48 self.__dict__[name] = value
50 method = class_type.__swig_setmethods__.get(name,
None)
52 return method(self, value)
54 object.__setattr__(self, name, value)
56 raise AttributeError(
"You cannot add attributes to %s" % self)
59 def _swig_setattr(self, class_type, name, value):
60 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
63 def _swig_getattr_nondynamic(self, class_type, name, static=1):
64 if (name ==
"thisown"):
65 return self.this.own()
66 method = class_type.__swig_getmethods__.get(name,
None)
70 return object.__getattr__(self, name)
72 raise AttributeError(name)
74 def _swig_getattr(self, class_type, name):
75 return _swig_getattr_nondynamic(self, class_type, name, 0)
80 strthis =
"proxy of " + self.this.__repr__()
83 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
88 except AttributeError:
95 def _swig_setattr_nondynamic_method(set):
96 def set_attr(self, name, value):
97 if (name ==
"thisown"):
98 return self.this.own(value)
99 if hasattr(self, name)
or (name ==
"this"):
100 set(self, name, value)
102 raise AttributeError(
"You cannot add attributes to %s" % self)
108 weakref_proxy = weakref.proxy
110 weakref_proxy =
lambda x: x
113 class IMP_ALGEBRA_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_ALGEBRA_SwigPyIterator class"""
115 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
117 def __init__(self, *args, **kwargs):
118 raise AttributeError(
"No constructor defined - class is abstract")
119 __repr__ = _swig_repr
120 __swig_destroy__ = _IMP_algebra.delete_IMP_ALGEBRA_SwigPyIterator
121 __del__ =
lambda self:
None
124 """value(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
125 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_value(self)
130 incr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
131 incr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
133 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_incr(self, n)
138 decr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
139 decr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
141 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_decr(self, n)
144 def distance(self, x):
145 """distance(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t"""
146 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_distance(self, x)
150 """equal(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
151 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_equal(self, x)
155 """copy(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator"""
156 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_copy(self)
160 """next(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
161 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_next(self)
165 """__next__(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
166 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___next__(self)
170 """previous(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
171 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_previous(self)
174 def advance(self, n):
175 """advance(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
176 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_advance(self, n)
180 """__eq__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
181 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___eq__(self, x)
185 """__ne__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
186 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___ne__(self, x)
189 def __iadd__(self, n):
190 """__iadd__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
191 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___iadd__(self, n)
194 def __isub__(self, n):
195 """__isub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
196 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___isub__(self, n)
199 def __add__(self, n):
200 """__add__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
201 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___add__(self, n)
204 def __sub__(self, *args):
206 __sub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator
207 __sub__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t
209 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___sub__(self, *args)
213 IMP_ALGEBRA_SwigPyIterator_swigregister = _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_swigregister
214 IMP_ALGEBRA_SwigPyIterator_swigregister(IMP_ALGEBRA_SwigPyIterator)
223 _IMP_algebra.IMP_DEBUG_swigconstant(_IMP_algebra)
224 IMP_DEBUG = _IMP_algebra.IMP_DEBUG
226 _IMP_algebra.IMP_RELEASE_swigconstant(_IMP_algebra)
227 IMP_RELEASE = _IMP_algebra.IMP_RELEASE
229 _IMP_algebra.IMP_SILENT_swigconstant(_IMP_algebra)
230 IMP_SILENT = _IMP_algebra.IMP_SILENT
232 _IMP_algebra.IMP_PROGRESS_swigconstant(_IMP_algebra)
233 IMP_PROGRESS = _IMP_algebra.IMP_PROGRESS
235 _IMP_algebra.IMP_TERSE_swigconstant(_IMP_algebra)
236 IMP_TERSE = _IMP_algebra.IMP_TERSE
238 _IMP_algebra.IMP_VERBOSE_swigconstant(_IMP_algebra)
239 IMP_VERBOSE = _IMP_algebra.IMP_VERBOSE
241 _IMP_algebra.IMP_MEMORY_swigconstant(_IMP_algebra)
242 IMP_MEMORY = _IMP_algebra.IMP_MEMORY
244 _IMP_algebra.IMP_NONE_swigconstant(_IMP_algebra)
245 IMP_NONE = _IMP_algebra.IMP_NONE
247 _IMP_algebra.IMP_USAGE_swigconstant(_IMP_algebra)
248 IMP_USAGE = _IMP_algebra.IMP_USAGE
250 _IMP_algebra.IMP_INTERNAL_swigconstant(_IMP_algebra)
251 IMP_INTERNAL = _IMP_algebra.IMP_INTERNAL
253 _IMP_algebra.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_algebra)
254 IMP_KERNEL_HAS_LOG4CXX = _IMP_algebra.IMP_KERNEL_HAS_LOG4CXX
256 _IMP_algebra.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_algebra)
257 IMP_COMPILER_HAS_AUTO = _IMP_algebra.IMP_COMPILER_HAS_AUTO
259 _IMP_algebra.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_algebra)
260 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_algebra.IMP_COMPILER_HAS_DEBUG_VECTOR
262 _IMP_algebra.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_algebra)
263 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_algebra.IMP_COMPILER_HAS_UNIQUE_PTR
265 _IMP_algebra.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_algebra)
266 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_KERNEL_HAS_BOOST_RANDOM
268 _IMP_algebra.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_algebra)
269 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_algebra.IMP_KERNEL_HAS_GPERFTOOLS
271 _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_algebra)
272 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
274 _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_algebra)
275 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
277 _IMP_algebra.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_algebra)
278 IMPKERNEL_SHOW_WARNINGS = _IMP_algebra.IMPKERNEL_SHOW_WARNINGS
281 class _DirectorObjects(object):
282 """@internal Simple class to keep references to director objects
283 to prevent premature deletion."""
286 def register(self, obj):
287 """Take a reference to a director object; will only work for
288 refcounted C++ classes"""
289 if hasattr(obj,
'get_ref_count'):
290 self._objects.append(obj)
292 """Only drop our reference and allow cleanup by Python if no other
293 Python references exist (we hold 3 references: one in self._objects,
294 one in x, and one in the argument list for getrefcount) *and* no
295 other C++ references exist (the Python object always holds one)"""
296 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
297 or x.get_ref_count() > 1]
301 def get_object_count(self):
302 """Get number of director objects (useful for testing only)"""
303 return len(self._objects)
304 _director_objects = _DirectorObjects()
306 class _ostream(object):
307 """Proxy of C++ std::ostream class"""
308 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
310 def __init__(self, *args, **kwargs):
311 raise AttributeError(
"No constructor defined")
312 __repr__ = _swig_repr
314 def write(self, osa_buf):
315 """write(_ostream self, char const * osa_buf)"""
316 return _IMP_algebra._ostream_write(self, osa_buf)
318 _ostream_swigregister = _IMP_algebra._ostream_swigregister
319 _ostream_swigregister(_ostream)
322 _IMP_algebra.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_algebra)
323 IMP_COMPILER_HAS_OVERRIDE = _IMP_algebra.IMP_COMPILER_HAS_OVERRIDE
325 _IMP_algebra.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_algebra)
326 IMP_COMPILER_HAS_FINAL = _IMP_algebra.IMP_COMPILER_HAS_FINAL
328 _IMP_algebra.IMP_HAS_NOEXCEPT_swigconstant(_IMP_algebra)
329 IMP_HAS_NOEXCEPT = _IMP_algebra.IMP_HAS_NOEXCEPT
332 _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_algebra)
333 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM
335 _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_algebra)
336 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
338 _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_algebra)
339 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM
341 _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_algebra)
342 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM
344 _IMP_algebra.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_algebra)
345 IMPCGAL_SHOW_WARNINGS = _IMP_algebra.IMPCGAL_SHOW_WARNINGS
348 _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_algebra)
349 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL
351 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_algebra)
352 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
354 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_algebra)
355 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
357 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_algebra)
358 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM
360 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_algebra)
361 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM
363 _IMP_algebra.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_algebra)
364 IMP_ALGEBRA_HAS_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_CGAL
366 _IMP_algebra.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_algebra)
367 IMP_ALGEBRA_HAS_ANN = _IMP_algebra.IMP_ALGEBRA_HAS_ANN
369 _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_algebra)
370 IMPALGEBRA_SHOW_WARNINGS = _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS
374 return v.get_coordinates()
379 return v.get_sphere()
384 _object_types.append(
"VectorKDMetric")
387 def _object_cast_to_VectorKDMetric(o):
388 """_object_cast_to_VectorKDMetric(Object o) -> VectorKDMetric"""
389 return _IMP_algebra._object_cast_to_VectorKDMetric(o)
391 _object_types.append(
"EuclideanVectorKDMetric")
394 def _object_cast_to_EuclideanVectorKDMetric(o):
395 """_object_cast_to_EuclideanVectorKDMetric(Object o) -> EuclideanVectorKDMetric"""
396 return _IMP_algebra._object_cast_to_EuclideanVectorKDMetric(o)
398 _object_types.append(
"MaxVectorKDMetric")
401 def _object_cast_to_MaxVectorKDMetric(o):
402 """_object_cast_to_MaxVectorKDMetric(Object o) -> MaxVectorKDMetric"""
403 return _IMP_algebra._object_cast_to_MaxVectorKDMetric(o)
405 _object_types.append(
"DynamicNearestNeighbor3D")
408 def _object_cast_to_DynamicNearestNeighbor3D(o):
409 """_object_cast_to_DynamicNearestNeighbor3D(Object o) -> DynamicNearestNeighbor3D"""
410 return _IMP_algebra._object_cast_to_DynamicNearestNeighbor3D(o)
413 _plural_types.append(
"Rotation2Ds")
414 _value_types.append(
"Rotation2D")
418 _plural_types.append(
"Rotation3Ds")
419 _value_types.append(
"Rotation3D")
423 _plural_types.append(
"Reflection3Ds")
424 _value_types.append(
"Reflection3D")
427 Transformation2Ds=list
428 _plural_types.append(
"Transformation2Ds")
429 _value_types.append(
"Transformation2D")
432 Transformation3Ds=list
433 _plural_types.append(
"Transformation3Ds")
434 _value_types.append(
"Transformation3D")
437 SphericalVector3Ds=list
438 _plural_types.append(
"SphericalVector3Ds")
439 _value_types.append(
"SphericalVector3D")
443 _plural_types.append(
"Triangle3Ds")
444 _value_types.append(
"Triangle3D")
448 _plural_types.append(
"Cone3Ds")
449 _value_types.append(
"Cone3D")
453 _plural_types.append(
"Cylinder3Ds")
454 _value_types.append(
"Cylinder3D")
458 _plural_types.append(
"Ellipsoid3Ds")
459 _value_types.append(
"Ellipsoid3D")
463 _plural_types.append(
"Plane3Ds")
464 _value_types.append(
"Plane3D")
468 _plural_types.append(
"Segment3Ds")
469 _value_types.append(
"Segment3D")
473 _plural_types.append(
"SpherePatch3Ds")
474 _value_types.append(
"SpherePatch3D")
477 ConnollySurfacePoints=list
478 _plural_types.append(
"ConnollySurfacePoints")
479 _value_types.append(
"ConnollySurfacePoint")
483 _plural_types.append(
"Sphere1Ds")
484 _value_types.append(
"Sphere1D")
488 _plural_types.append(
"Sphere2Ds")
489 _value_types.append(
"Sphere2D")
493 _plural_types.append(
"Sphere3Ds")
494 _value_types.append(
"Sphere3D")
498 _plural_types.append(
"Sphere4Ds")
499 _value_types.append(
"Sphere4D")
503 _plural_types.append(
"Sphere5Ds")
504 _value_types.append(
"Sphere5D")
508 _plural_types.append(
"Sphere6Ds")
509 _value_types.append(
"Sphere6D")
513 _plural_types.append(
"Sphere1Ds")
514 _value_types.append(
"SphereD<1>")
518 _plural_types.append(
"Sphere2Ds")
519 _value_types.append(
"SphereD<2>")
523 _plural_types.append(
"Sphere3Ds")
524 _value_types.append(
"SphereD<3>")
528 _plural_types.append(
"Sphere4Ds")
529 _value_types.append(
"SphereD<4>")
533 _plural_types.append(
"Sphere5Ds")
534 _value_types.append(
"SphereD<5>")
538 _plural_types.append(
"Sphere6Ds")
539 _value_types.append(
"SphereD<6>")
543 _plural_types.append(
"SphereKDs")
544 _value_types.append(
"SphereKD")
548 _plural_types.append(
"SphereKDs")
549 _value_types.append(
"SphereD<-1>")
553 _plural_types.append(
"BoundingBox1Ds")
554 _value_types.append(
"BoundingBox1D")
558 _plural_types.append(
"BoundingBox2Ds")
559 _value_types.append(
"BoundingBox2D")
563 _plural_types.append(
"BoundingBox3Ds")
564 _value_types.append(
"BoundingBox3D")
568 _plural_types.append(
"BoundingBox4Ds")
569 _value_types.append(
"BoundingBox4D")
573 _plural_types.append(
"BoundingBox5Ds")
574 _value_types.append(
"BoundingBox5D")
578 _plural_types.append(
"BoundingBox6Ds")
579 _value_types.append(
"BoundingBox6D")
583 _plural_types.append(
"BoundingBox1Ds")
584 _value_types.append(
"BoundingBoxD<1>")
588 _plural_types.append(
"BoundingBox2Ds")
589 _value_types.append(
"BoundingBoxD<2>")
593 _plural_types.append(
"BoundingBox3Ds")
594 _value_types.append(
"BoundingBoxD<3>")
598 _plural_types.append(
"BoundingBox4Ds")
599 _value_types.append(
"BoundingBoxD<4>")
603 _plural_types.append(
"BoundingBox5Ds")
604 _value_types.append(
"BoundingBoxD<5>")
608 _plural_types.append(
"BoundingBox6Ds")
609 _value_types.append(
"BoundingBoxD<6>")
613 _plural_types.append(
"BoundingBoxKDs")
614 _value_types.append(
"BoundingBoxKD")
618 _plural_types.append(
"BoundingBoxKDs")
619 _value_types.append(
"BoundingBoxD<-1>")
622 PrincipalComponentAnalysis1Ds=list
623 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
624 _value_types.append(
"PrincipalComponentAnalysis1D")
627 PrincipalComponentAnalysis2Ds=list
628 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
629 _value_types.append(
"PrincipalComponentAnalysis2D")
632 PrincipalComponentAnalysis3Ds=list
633 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
634 _value_types.append(
"PrincipalComponentAnalysis3D")
637 PrincipalComponentAnalysis4Ds=list
638 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
639 _value_types.append(
"PrincipalComponentAnalysis4D")
642 PrincipalComponentAnalysis5Ds=list
643 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
644 _value_types.append(
"PrincipalComponentAnalysis5D")
647 PrincipalComponentAnalysis6Ds=list
648 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
649 _value_types.append(
"PrincipalComponentAnalysis6D")
652 PrincipalComponentAnalysis1Ds=list
653 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
654 _value_types.append(
"PrincipalComponentAnalysisD<1>")
657 PrincipalComponentAnalysis2Ds=list
658 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
659 _value_types.append(
"PrincipalComponentAnalysisD<2>")
662 PrincipalComponentAnalysis3Ds=list
663 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
664 _value_types.append(
"PrincipalComponentAnalysisD<3>")
667 PrincipalComponentAnalysis4Ds=list
668 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
669 _value_types.append(
"PrincipalComponentAnalysisD<4>")
672 PrincipalComponentAnalysis5Ds=list
673 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
674 _value_types.append(
"PrincipalComponentAnalysisD<5>")
677 PrincipalComponentAnalysis6Ds=list
678 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
679 _value_types.append(
"PrincipalComponentAnalysisD<6>")
682 PrincipalComponentAnalysisKDs=list
683 _plural_types.append(
"PrincipalComponentAnalysisKDs")
684 _value_types.append(
"PrincipalComponentAnalysisKD")
687 PrincipalComponentAnalysisKDs=list
688 _plural_types.append(
"PrincipalComponentAnalysisKDs")
689 _value_types.append(
"PrincipalComponentAnalysisD<-1>")
692 _object_types.append(
"NearestNeighbor1D")
695 def _object_cast_to_NearestNeighbor1D(o):
696 """_object_cast_to_NearestNeighbor1D(Object o) -> NearestNeighbor1D"""
697 return _IMP_algebra._object_cast_to_NearestNeighbor1D(o)
699 _object_types.append(
"NearestNeighbor2D")
702 def _object_cast_to_NearestNeighbor2D(o):
703 """_object_cast_to_NearestNeighbor2D(Object o) -> NearestNeighbor2D"""
704 return _IMP_algebra._object_cast_to_NearestNeighbor2D(o)
706 _object_types.append(
"NearestNeighbor3D")
709 def _object_cast_to_NearestNeighbor3D(o):
710 """_object_cast_to_NearestNeighbor3D(Object o) -> NearestNeighbor3D"""
711 return _IMP_algebra._object_cast_to_NearestNeighbor3D(o)
713 _object_types.append(
"NearestNeighbor4D")
716 def _object_cast_to_NearestNeighbor4D(o):
717 """_object_cast_to_NearestNeighbor4D(Object o) -> NearestNeighbor4D"""
718 return _IMP_algebra._object_cast_to_NearestNeighbor4D(o)
720 _object_types.append(
"NearestNeighbor5D")
723 def _object_cast_to_NearestNeighbor5D(o):
724 """_object_cast_to_NearestNeighbor5D(Object o) -> NearestNeighbor5D"""
725 return _IMP_algebra._object_cast_to_NearestNeighbor5D(o)
727 _object_types.append(
"NearestNeighbor6D")
730 def _object_cast_to_NearestNeighbor6D(o):
731 """_object_cast_to_NearestNeighbor6D(Object o) -> NearestNeighbor6D"""
732 return _IMP_algebra._object_cast_to_NearestNeighbor6D(o)
734 _object_types.append(
"NearestNeighborKD")
737 def _object_cast_to_NearestNeighborKD(o):
738 """_object_cast_to_NearestNeighborKD(Object o) -> NearestNeighborKD"""
739 return _IMP_algebra._object_cast_to_NearestNeighborKD(o)
741 ReferenceFrame3Ds=list
742 _plural_types.append(
"ReferenceFrame3Ds")
743 _value_types.append(
"ReferenceFrame3D")
747 _plural_types.append(
"Gaussian3Ds")
748 _value_types.append(
"Gaussian3D")
751 DefaultEmbedding1Ds=list
752 _plural_types.append(
"DefaultEmbedding1Ds")
753 _value_types.append(
"DefaultEmbedding1D")
756 DefaultEmbedding2Ds=list
757 _plural_types.append(
"DefaultEmbedding2Ds")
758 _value_types.append(
"DefaultEmbedding2D")
761 DefaultEmbedding3Ds=list
762 _plural_types.append(
"DefaultEmbedding3Ds")
763 _value_types.append(
"DefaultEmbedding3D")
766 DefaultEmbedding4Ds=list
767 _plural_types.append(
"DefaultEmbedding4Ds")
768 _value_types.append(
"DefaultEmbedding4D")
771 DefaultEmbedding5Ds=list
772 _plural_types.append(
"DefaultEmbedding5Ds")
773 _value_types.append(
"DefaultEmbedding5D")
776 DefaultEmbedding6Ds=list
777 _plural_types.append(
"DefaultEmbedding6Ds")
778 _value_types.append(
"DefaultEmbedding6D")
781 DefaultEmbedding1Ds=list
782 _plural_types.append(
"DefaultEmbedding1Ds")
783 _value_types.append(
"DefaultEmbeddingD<1>")
786 DefaultEmbedding2Ds=list
787 _plural_types.append(
"DefaultEmbedding2Ds")
788 _value_types.append(
"DefaultEmbeddingD<2>")
791 DefaultEmbedding3Ds=list
792 _plural_types.append(
"DefaultEmbedding3Ds")
793 _value_types.append(
"DefaultEmbeddingD<3>")
796 DefaultEmbedding4Ds=list
797 _plural_types.append(
"DefaultEmbedding4Ds")
798 _value_types.append(
"DefaultEmbeddingD<4>")
801 DefaultEmbedding5Ds=list
802 _plural_types.append(
"DefaultEmbedding5Ds")
803 _value_types.append(
"DefaultEmbeddingD<5>")
806 DefaultEmbedding6Ds=list
807 _plural_types.append(
"DefaultEmbedding6Ds")
808 _value_types.append(
"DefaultEmbeddingD<6>")
811 DefaultEmbeddingKDs=list
812 _plural_types.append(
"DefaultEmbeddingKDs")
813 _value_types.append(
"DefaultEmbeddingKD")
816 DefaultEmbeddingKDs=list
817 _plural_types.append(
"DefaultEmbeddingKDs")
818 _value_types.append(
"DefaultEmbeddingD<-1>")
822 _plural_types.append(
"LogEmbedding1Ds")
823 _value_types.append(
"LogEmbedding1D")
827 _plural_types.append(
"LogEmbedding2Ds")
828 _value_types.append(
"LogEmbedding2D")
832 _plural_types.append(
"LogEmbedding3Ds")
833 _value_types.append(
"LogEmbedding3D")
837 _plural_types.append(
"LogEmbedding4Ds")
838 _value_types.append(
"LogEmbedding4D")
842 _plural_types.append(
"LogEmbedding5Ds")
843 _value_types.append(
"LogEmbedding5D")
847 _plural_types.append(
"LogEmbedding6Ds")
848 _value_types.append(
"LogEmbedding6D")
852 _plural_types.append(
"LogEmbedding1Ds")
853 _value_types.append(
"LogEmbeddingD<1>")
857 _plural_types.append(
"LogEmbedding2Ds")
858 _value_types.append(
"LogEmbeddingD<2>")
862 _plural_types.append(
"LogEmbedding3Ds")
863 _value_types.append(
"LogEmbeddingD<3>")
867 _plural_types.append(
"LogEmbedding4Ds")
868 _value_types.append(
"LogEmbeddingD<4>")
872 _plural_types.append(
"LogEmbedding5Ds")
873 _value_types.append(
"LogEmbeddingD<5>")
877 _plural_types.append(
"LogEmbedding6Ds")
878 _value_types.append(
"LogEmbeddingD<6>")
882 _plural_types.append(
"LogEmbeddingKDs")
883 _value_types.append(
"LogEmbeddingKD")
887 _plural_types.append(
"LogEmbeddingKDs")
888 _value_types.append(
"LogEmbeddingD<-1>")
892 _plural_types.append(
"GridIndex1Ds")
893 _value_types.append(
"GridIndex1D")
897 _plural_types.append(
"GridIndex2Ds")
898 _value_types.append(
"GridIndex2D")
902 _plural_types.append(
"GridIndex3Ds")
903 _value_types.append(
"GridIndex3D")
907 _plural_types.append(
"GridIndex4Ds")
908 _value_types.append(
"GridIndex4D")
912 _plural_types.append(
"GridIndex5Ds")
913 _value_types.append(
"GridIndex5D")
917 _plural_types.append(
"GridIndex6Ds")
918 _value_types.append(
"GridIndex6D")
922 _plural_types.append(
"GridIndex1Ds")
923 _value_types.append(
"GridIndexD<1>")
927 _plural_types.append(
"GridIndex2Ds")
928 _value_types.append(
"GridIndexD<2>")
932 _plural_types.append(
"GridIndex3Ds")
933 _value_types.append(
"GridIndexD<3>")
937 _plural_types.append(
"GridIndex4Ds")
938 _value_types.append(
"GridIndexD<4>")
942 _plural_types.append(
"GridIndex5Ds")
943 _value_types.append(
"GridIndexD<5>")
947 _plural_types.append(
"GridIndex6Ds")
948 _value_types.append(
"GridIndexD<6>")
952 _plural_types.append(
"GridIndexKDs")
953 _value_types.append(
"GridIndexKD")
957 _plural_types.append(
"GridIndexKDs")
958 _value_types.append(
"GridIndexD<-1>")
961 ExtendedGridIndex1Ds=list
962 _plural_types.append(
"ExtendedGridIndex1Ds")
963 _value_types.append(
"ExtendedGridIndex1D")
966 ExtendedGridIndex2Ds=list
967 _plural_types.append(
"ExtendedGridIndex2Ds")
968 _value_types.append(
"ExtendedGridIndex2D")
971 ExtendedGridIndex3Ds=list
972 _plural_types.append(
"ExtendedGridIndex3Ds")
973 _value_types.append(
"ExtendedGridIndex3D")
976 ExtendedGridIndex4Ds=list
977 _plural_types.append(
"ExtendedGridIndex4Ds")
978 _value_types.append(
"ExtendedGridIndex4D")
981 ExtendedGridIndex5Ds=list
982 _plural_types.append(
"ExtendedGridIndex5Ds")
983 _value_types.append(
"ExtendedGridIndex5D")
986 ExtendedGridIndex6Ds=list
987 _plural_types.append(
"ExtendedGridIndex6Ds")
988 _value_types.append(
"ExtendedGridIndex6D")
991 ExtendedGridIndex1Ds=list
992 _plural_types.append(
"ExtendedGridIndex1Ds")
993 _value_types.append(
"ExtendedGridIndexD<1>")
996 ExtendedGridIndex2Ds=list
997 _plural_types.append(
"ExtendedGridIndex2Ds")
998 _value_types.append(
"ExtendedGridIndexD<2>")
1001 ExtendedGridIndex3Ds=list
1002 _plural_types.append(
"ExtendedGridIndex3Ds")
1003 _value_types.append(
"ExtendedGridIndexD<3>")
1006 ExtendedGridIndex4Ds=list
1007 _plural_types.append(
"ExtendedGridIndex4Ds")
1008 _value_types.append(
"ExtendedGridIndexD<4>")
1011 ExtendedGridIndex5Ds=list
1012 _plural_types.append(
"ExtendedGridIndex5Ds")
1013 _value_types.append(
"ExtendedGridIndexD<5>")
1016 ExtendedGridIndex6Ds=list
1017 _plural_types.append(
"ExtendedGridIndex6Ds")
1018 _value_types.append(
"ExtendedGridIndexD<6>")
1021 ExtendedGridIndexKDs=list
1022 _plural_types.append(
"ExtendedGridIndexKDs")
1023 _value_types.append(
"ExtendedGridIndexKD")
1026 ExtendedGridIndexKDs=list
1027 _plural_types.append(
"ExtendedGridIndexKDs")
1028 _value_types.append(
"ExtendedGridIndexD<-1>")
1031 BoundedGridRange1Ds=list
1032 _plural_types.append(
"BoundedGridRange1Ds")
1033 _value_types.append(
"BoundedGridRange1D")
1036 BoundedGridRange2Ds=list
1037 _plural_types.append(
"BoundedGridRange2Ds")
1038 _value_types.append(
"BoundedGridRange2D")
1041 BoundedGridRange3Ds=list
1042 _plural_types.append(
"BoundedGridRange3Ds")
1043 _value_types.append(
"BoundedGridRange3D")
1046 BoundedGridRange4Ds=list
1047 _plural_types.append(
"BoundedGridRange4Ds")
1048 _value_types.append(
"BoundedGridRange4D")
1051 BoundedGridRange5Ds=list
1052 _plural_types.append(
"BoundedGridRange5Ds")
1053 _value_types.append(
"BoundedGridRange5D")
1056 BoundedGridRange6Ds=list
1057 _plural_types.append(
"BoundedGridRange6Ds")
1058 _value_types.append(
"BoundedGridRange6D")
1061 BoundedGridRange1Ds=list
1062 _plural_types.append(
"BoundedGridRange1Ds")
1063 _value_types.append(
"BoundedGridRangeD<1>")
1066 BoundedGridRange2Ds=list
1067 _plural_types.append(
"BoundedGridRange2Ds")
1068 _value_types.append(
"BoundedGridRangeD<2>")
1071 BoundedGridRange3Ds=list
1072 _plural_types.append(
"BoundedGridRange3Ds")
1073 _value_types.append(
"BoundedGridRangeD<3>")
1076 BoundedGridRange4Ds=list
1077 _plural_types.append(
"BoundedGridRange4Ds")
1078 _value_types.append(
"BoundedGridRangeD<4>")
1081 BoundedGridRange5Ds=list
1082 _plural_types.append(
"BoundedGridRange5Ds")
1083 _value_types.append(
"BoundedGridRangeD<5>")
1086 BoundedGridRange6Ds=list
1087 _plural_types.append(
"BoundedGridRange6Ds")
1088 _value_types.append(
"BoundedGridRangeD<6>")
1091 BoundedGridRangeKDs=list
1092 _plural_types.append(
"BoundedGridRangeKDs")
1093 _value_types.append(
"BoundedGridRangeKD")
1096 BoundedGridRangeKDs=list
1097 _plural_types.append(
"BoundedGridRangeKDs")
1098 _value_types.append(
"BoundedGridRangeD<-1>")
1101 UnboundedGridRange1Ds=list
1102 _plural_types.append(
"UnboundedGridRange1Ds")
1103 _value_types.append(
"UnboundedGridRange1D")
1106 UnboundedGridRange2Ds=list
1107 _plural_types.append(
"UnboundedGridRange2Ds")
1108 _value_types.append(
"UnboundedGridRange2D")
1111 UnboundedGridRange3Ds=list
1112 _plural_types.append(
"UnboundedGridRange3Ds")
1113 _value_types.append(
"UnboundedGridRange3D")
1116 UnboundedGridRange4Ds=list
1117 _plural_types.append(
"UnboundedGridRange4Ds")
1118 _value_types.append(
"UnboundedGridRange4D")
1121 UnboundedGridRange5Ds=list
1122 _plural_types.append(
"UnboundedGridRange5Ds")
1123 _value_types.append(
"UnboundedGridRange5D")
1126 UnboundedGridRange6Ds=list
1127 _plural_types.append(
"UnboundedGridRange6Ds")
1128 _value_types.append(
"UnboundedGridRange6D")
1131 UnboundedGridRange1Ds=list
1132 _plural_types.append(
"UnboundedGridRange1Ds")
1133 _value_types.append(
"UnboundedGridRangeD<1>")
1136 UnboundedGridRange2Ds=list
1137 _plural_types.append(
"UnboundedGridRange2Ds")
1138 _value_types.append(
"UnboundedGridRangeD<2>")
1141 UnboundedGridRange3Ds=list
1142 _plural_types.append(
"UnboundedGridRange3Ds")
1143 _value_types.append(
"UnboundedGridRangeD<3>")
1146 UnboundedGridRange4Ds=list
1147 _plural_types.append(
"UnboundedGridRange4Ds")
1148 _value_types.append(
"UnboundedGridRangeD<4>")
1151 UnboundedGridRange5Ds=list
1152 _plural_types.append(
"UnboundedGridRange5Ds")
1153 _value_types.append(
"UnboundedGridRangeD<5>")
1156 UnboundedGridRange6Ds=list
1157 _plural_types.append(
"UnboundedGridRange6Ds")
1158 _value_types.append(
"UnboundedGridRangeD<6>")
1161 UnboundedGridRangeKDs=list
1162 _plural_types.append(
"UnboundedGridRangeKDs")
1163 _value_types.append(
"UnboundedGridRangeKD")
1166 UnboundedGridRangeKDs=list
1167 _plural_types.append(
"UnboundedGridRangeKDs")
1168 _value_types.append(
"UnboundedGridRangeD<-1>")
1172 _plural_types.append(
"LinearFit2Ds")
1173 _value_types.append(
"LinearFit2D")
1176 ParabolicFit2Ds=list
1177 _plural_types.append(
"ParabolicFit2Ds")
1178 _value_types.append(
"ParabolicFit2D")
1182 _plural_types.append(
"FixedXYZs")
1183 _value_types.append(
"FixedXYZ")
1185 class _GeometricPrimitive1D(object):
1186 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(1)> class"""
1187 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1189 def __init__(self, *args, **kwargs):
1190 raise AttributeError(
"No constructor defined")
1191 __repr__ = _swig_repr
1192 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive1D
1193 __del__ =
lambda self:
None
1194 _GeometricPrimitive1D_swigregister = _IMP_algebra._GeometricPrimitive1D_swigregister
1195 _GeometricPrimitive1D_swigregister(_GeometricPrimitive1D)
1197 class _GeometricPrimitive2D(object):
1198 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(2)> class"""
1199 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1201 def __init__(self, *args, **kwargs):
1202 raise AttributeError(
"No constructor defined")
1203 __repr__ = _swig_repr
1204 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive2D
1205 __del__ =
lambda self:
None
1206 _GeometricPrimitive2D_swigregister = _IMP_algebra._GeometricPrimitive2D_swigregister
1207 _GeometricPrimitive2D_swigregister(_GeometricPrimitive2D)
1209 class _GeometricPrimitive3D(object):
1210 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(3)> class"""
1211 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1213 def __init__(self, *args, **kwargs):
1214 raise AttributeError(
"No constructor defined")
1215 __repr__ = _swig_repr
1216 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive3D
1217 __del__ =
lambda self:
None
1218 _GeometricPrimitive3D_swigregister = _IMP_algebra._GeometricPrimitive3D_swigregister
1219 _GeometricPrimitive3D_swigregister(_GeometricPrimitive3D)
1221 class _GeometricPrimitive4D(object):
1222 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(4)> class"""
1223 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1225 def __init__(self, *args, **kwargs):
1226 raise AttributeError(
"No constructor defined")
1227 __repr__ = _swig_repr
1228 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive4D
1229 __del__ =
lambda self:
None
1230 _GeometricPrimitive4D_swigregister = _IMP_algebra._GeometricPrimitive4D_swigregister
1231 _GeometricPrimitive4D_swigregister(_GeometricPrimitive4D)
1233 class _GeometricPrimitive5D(object):
1234 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(5)> class"""
1235 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1237 def __init__(self, *args, **kwargs):
1238 raise AttributeError(
"No constructor defined")
1239 __repr__ = _swig_repr
1240 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive5D
1241 __del__ =
lambda self:
None
1242 _GeometricPrimitive5D_swigregister = _IMP_algebra._GeometricPrimitive5D_swigregister
1243 _GeometricPrimitive5D_swigregister(_GeometricPrimitive5D)
1245 class _GeometricPrimitive6D(object):
1246 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(6)> class"""
1247 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1249 def __init__(self, *args, **kwargs):
1250 raise AttributeError(
"No constructor defined")
1251 __repr__ = _swig_repr
1252 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive6D
1253 __del__ =
lambda self:
None
1254 _GeometricPrimitive6D_swigregister = _IMP_algebra._GeometricPrimitive6D_swigregister
1255 _GeometricPrimitive6D_swigregister(_GeometricPrimitive6D)
1257 class _GeometricPrimitiveKD(object):
1258 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(-1)> class"""
1259 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1261 def __init__(self, *args, **kwargs):
1262 raise AttributeError(
"No constructor defined")
1263 __repr__ = _swig_repr
1264 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitiveKD
1265 __del__ =
lambda self:
None
1266 _GeometricPrimitiveKD_swigregister = _IMP_algebra._GeometricPrimitiveKD_swigregister
1267 _GeometricPrimitiveKD_swigregister(_GeometricPrimitiveKD)
1271 _plural_types.append(
"Vector1Ds")
1272 _value_types.append(
"Vector1D")
1276 _plural_types.append(
"Vector2Ds")
1277 _value_types.append(
"Vector2D")
1281 _plural_types.append(
"Vector3Ds")
1282 _value_types.append(
"Vector3D")
1286 _plural_types.append(
"Vector4Ds")
1287 _value_types.append(
"Vector4D")
1291 _plural_types.append(
"Vector5Ds")
1292 _value_types.append(
"Vector5D")
1296 _plural_types.append(
"Vector6Ds")
1297 _value_types.append(
"Vector6D")
1301 _plural_types.append(
"Vector1Ds")
1302 _value_types.append(
"VectorD<1>")
1306 _plural_types.append(
"Vector2Ds")
1307 _value_types.append(
"VectorD<2>")
1311 _plural_types.append(
"Vector3Ds")
1312 _value_types.append(
"VectorD<3>")
1316 _plural_types.append(
"Vector4Ds")
1317 _value_types.append(
"VectorD<4>")
1321 _plural_types.append(
"Vector5Ds")
1322 _value_types.append(
"VectorD<5>")
1326 _plural_types.append(
"Vector6Ds")
1327 _value_types.append(
"VectorD<6>")
1331 _plural_types.append(
"VectorKDs")
1332 _value_types.append(
"VectorKD")
1336 _plural_types.append(
"VectorKDs")
1337 _value_types.append(
"VectorD<-1>")
1339 class _VectorBaseKD(_GeometricPrimitiveKD):
1340 """Proxy of C++ IMP::algebra::VectorBaseD<(-1)> class"""
1341 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1342 __repr__ = _swig_repr
1345 """__init__(IMP::algebra::VectorBaseD<(-1)> self) -> _VectorBaseKD"""
1346 this = _IMP_algebra.new__VectorBaseKD()
1348 self.this.append(this)
1352 def get_scalar_product(self, o):
1353 """get_scalar_product(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1354 return _IMP_algebra._VectorBaseKD_get_scalar_product(self, o)
1357 def get_squared_magnitude(self):
1358 """get_squared_magnitude(_VectorBaseKD self) -> double"""
1359 return _IMP_algebra._VectorBaseKD_get_squared_magnitude(self)
1362 def get_magnitude(self):
1363 """get_magnitude(_VectorBaseKD self) -> double"""
1364 return _IMP_algebra._VectorBaseKD_get_magnitude(self)
1367 def __mul__(self, o):
1368 """__mul__(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1369 return _IMP_algebra._VectorBaseKD___mul__(self, o)
1372 def __iadd__(self, o):
1373 """__iadd__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1374 return _IMP_algebra._VectorBaseKD___iadd__(self, o)
1377 def __isub__(self, o):
1378 """__isub__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1379 return _IMP_algebra._VectorBaseKD___isub__(self, o)
1382 def __idiv__(self, f):
1383 """__idiv__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1384 return _IMP_algebra._VectorBaseKD___idiv__(self, f)
1387 def __imul__(self, f):
1388 """__imul__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1389 return _IMP_algebra._VectorBaseKD___imul__(self, f)
1392 def show(self, *args):
1394 show(_VectorBaseKD self, _ostream out, std::string delim, bool parens=True)
1395 show(_VectorBaseKD self, _ostream out, std::string delim)
1396 show(_VectorBaseKD self, _ostream out)
1397 show(_VectorBaseKD self)
1399 return _IMP_algebra._VectorBaseKD_show(self, *args)
1402 def get_dimension(self):
1403 """get_dimension(_VectorBaseKD self) -> unsigned int"""
1404 return _IMP_algebra._VectorBaseKD_get_dimension(self)
1406 __swig_destroy__ = _IMP_algebra.delete__VectorBaseKD
1407 __del__ =
lambda self:
None
1408 _VectorBaseKD_swigregister = _IMP_algebra._VectorBaseKD_swigregister
1409 _VectorBaseKD_swigregister(_VectorBaseKD)
1411 class _VectorBase1D(_GeometricPrimitive1D):
1412 """Proxy of C++ IMP::algebra::VectorBaseD<(1)> class"""
1413 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1414 __repr__ = _swig_repr
1417 """__init__(IMP::algebra::VectorBaseD<(1)> self) -> _VectorBase1D"""
1418 this = _IMP_algebra.new__VectorBase1D()
1420 self.this.append(this)
1424 def get_scalar_product(self, o):
1425 """get_scalar_product(_VectorBase1D self, _VectorBase1D o) -> double"""
1426 return _IMP_algebra._VectorBase1D_get_scalar_product(self, o)
1429 def get_squared_magnitude(self):
1430 """get_squared_magnitude(_VectorBase1D self) -> double"""
1431 return _IMP_algebra._VectorBase1D_get_squared_magnitude(self)
1434 def get_magnitude(self):
1435 """get_magnitude(_VectorBase1D self) -> double"""
1436 return _IMP_algebra._VectorBase1D_get_magnitude(self)
1439 def __mul__(self, o):
1440 """__mul__(_VectorBase1D self, _VectorBase1D o) -> double"""
1441 return _IMP_algebra._VectorBase1D___mul__(self, o)
1444 def __iadd__(self, o):
1445 """__iadd__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1446 return _IMP_algebra._VectorBase1D___iadd__(self, o)
1449 def __isub__(self, o):
1450 """__isub__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1451 return _IMP_algebra._VectorBase1D___isub__(self, o)
1454 def __idiv__(self, f):
1455 """__idiv__(_VectorBase1D self, double f) -> _VectorBase1D"""
1456 return _IMP_algebra._VectorBase1D___idiv__(self, f)
1459 def __imul__(self, f):
1460 """__imul__(_VectorBase1D self, double f) -> _VectorBase1D"""
1461 return _IMP_algebra._VectorBase1D___imul__(self, f)
1464 def show(self, *args):
1466 show(_VectorBase1D self, _ostream out, std::string delim, bool parens=True)
1467 show(_VectorBase1D self, _ostream out, std::string delim)
1468 show(_VectorBase1D self, _ostream out)
1469 show(_VectorBase1D self)
1471 return _IMP_algebra._VectorBase1D_show(self, *args)
1474 def get_dimension(self):
1475 """get_dimension(_VectorBase1D self) -> unsigned int"""
1476 return _IMP_algebra._VectorBase1D_get_dimension(self)
1478 __swig_destroy__ = _IMP_algebra.delete__VectorBase1D
1479 __del__ =
lambda self:
None
1480 _VectorBase1D_swigregister = _IMP_algebra._VectorBase1D_swigregister
1481 _VectorBase1D_swigregister(_VectorBase1D)
1483 class _VectorBase2D(_GeometricPrimitive2D):
1484 """Proxy of C++ IMP::algebra::VectorBaseD<(2)> class"""
1485 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1486 __repr__ = _swig_repr
1489 """__init__(IMP::algebra::VectorBaseD<(2)> self) -> _VectorBase2D"""
1490 this = _IMP_algebra.new__VectorBase2D()
1492 self.this.append(this)
1496 def get_scalar_product(self, o):
1497 """get_scalar_product(_VectorBase2D self, _VectorBase2D o) -> double"""
1498 return _IMP_algebra._VectorBase2D_get_scalar_product(self, o)
1501 def get_squared_magnitude(self):
1502 """get_squared_magnitude(_VectorBase2D self) -> double"""
1503 return _IMP_algebra._VectorBase2D_get_squared_magnitude(self)
1506 def get_magnitude(self):
1507 """get_magnitude(_VectorBase2D self) -> double"""
1508 return _IMP_algebra._VectorBase2D_get_magnitude(self)
1511 def __mul__(self, o):
1512 """__mul__(_VectorBase2D self, _VectorBase2D o) -> double"""
1513 return _IMP_algebra._VectorBase2D___mul__(self, o)
1516 def __iadd__(self, o):
1517 """__iadd__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1518 return _IMP_algebra._VectorBase2D___iadd__(self, o)
1521 def __isub__(self, o):
1522 """__isub__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1523 return _IMP_algebra._VectorBase2D___isub__(self, o)
1526 def __idiv__(self, f):
1527 """__idiv__(_VectorBase2D self, double f) -> _VectorBase2D"""
1528 return _IMP_algebra._VectorBase2D___idiv__(self, f)
1531 def __imul__(self, f):
1532 """__imul__(_VectorBase2D self, double f) -> _VectorBase2D"""
1533 return _IMP_algebra._VectorBase2D___imul__(self, f)
1536 def show(self, *args):
1538 show(_VectorBase2D self, _ostream out, std::string delim, bool parens=True)
1539 show(_VectorBase2D self, _ostream out, std::string delim)
1540 show(_VectorBase2D self, _ostream out)
1541 show(_VectorBase2D self)
1543 return _IMP_algebra._VectorBase2D_show(self, *args)
1546 def get_dimension(self):
1547 """get_dimension(_VectorBase2D self) -> unsigned int"""
1548 return _IMP_algebra._VectorBase2D_get_dimension(self)
1550 __swig_destroy__ = _IMP_algebra.delete__VectorBase2D
1551 __del__ =
lambda self:
None
1552 _VectorBase2D_swigregister = _IMP_algebra._VectorBase2D_swigregister
1553 _VectorBase2D_swigregister(_VectorBase2D)
1555 class _VectorBase3D(_GeometricPrimitive3D):
1556 """Proxy of C++ IMP::algebra::VectorBaseD<(3)> class"""
1557 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1558 __repr__ = _swig_repr
1561 """__init__(IMP::algebra::VectorBaseD<(3)> self) -> _VectorBase3D"""
1562 this = _IMP_algebra.new__VectorBase3D()
1564 self.this.append(this)
1568 def get_scalar_product(self, o):
1569 """get_scalar_product(_VectorBase3D self, _VectorBase3D o) -> double"""
1570 return _IMP_algebra._VectorBase3D_get_scalar_product(self, o)
1573 def get_squared_magnitude(self):
1574 """get_squared_magnitude(_VectorBase3D self) -> double"""
1575 return _IMP_algebra._VectorBase3D_get_squared_magnitude(self)
1578 def get_magnitude(self):
1579 """get_magnitude(_VectorBase3D self) -> double"""
1580 return _IMP_algebra._VectorBase3D_get_magnitude(self)
1583 def __mul__(self, o):
1584 """__mul__(_VectorBase3D self, _VectorBase3D o) -> double"""
1585 return _IMP_algebra._VectorBase3D___mul__(self, o)
1588 def __iadd__(self, o):
1589 """__iadd__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1590 return _IMP_algebra._VectorBase3D___iadd__(self, o)
1593 def __isub__(self, o):
1594 """__isub__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1595 return _IMP_algebra._VectorBase3D___isub__(self, o)
1598 def __idiv__(self, f):
1599 """__idiv__(_VectorBase3D self, double f) -> _VectorBase3D"""
1600 return _IMP_algebra._VectorBase3D___idiv__(self, f)
1603 def __imul__(self, f):
1604 """__imul__(_VectorBase3D self, double f) -> _VectorBase3D"""
1605 return _IMP_algebra._VectorBase3D___imul__(self, f)
1608 def show(self, *args):
1610 show(_VectorBase3D self, _ostream out, std::string delim, bool parens=True)
1611 show(_VectorBase3D self, _ostream out, std::string delim)
1612 show(_VectorBase3D self, _ostream out)
1613 show(_VectorBase3D self)
1615 return _IMP_algebra._VectorBase3D_show(self, *args)
1618 def get_dimension(self):
1619 """get_dimension(_VectorBase3D self) -> unsigned int"""
1620 return _IMP_algebra._VectorBase3D_get_dimension(self)
1622 __swig_destroy__ = _IMP_algebra.delete__VectorBase3D
1623 __del__ =
lambda self:
None
1624 _VectorBase3D_swigregister = _IMP_algebra._VectorBase3D_swigregister
1625 _VectorBase3D_swigregister(_VectorBase3D)
1627 class _VectorBase4D(_GeometricPrimitive4D):
1628 """Proxy of C++ IMP::algebra::VectorBaseD<(4)> class"""
1629 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1630 __repr__ = _swig_repr
1633 """__init__(IMP::algebra::VectorBaseD<(4)> self) -> _VectorBase4D"""
1634 this = _IMP_algebra.new__VectorBase4D()
1636 self.this.append(this)
1640 def get_scalar_product(self, o):
1641 """get_scalar_product(_VectorBase4D self, _VectorBase4D o) -> double"""
1642 return _IMP_algebra._VectorBase4D_get_scalar_product(self, o)
1645 def get_squared_magnitude(self):
1646 """get_squared_magnitude(_VectorBase4D self) -> double"""
1647 return _IMP_algebra._VectorBase4D_get_squared_magnitude(self)
1650 def get_magnitude(self):
1651 """get_magnitude(_VectorBase4D self) -> double"""
1652 return _IMP_algebra._VectorBase4D_get_magnitude(self)
1655 def __mul__(self, o):
1656 """__mul__(_VectorBase4D self, _VectorBase4D o) -> double"""
1657 return _IMP_algebra._VectorBase4D___mul__(self, o)
1660 def __iadd__(self, o):
1661 """__iadd__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1662 return _IMP_algebra._VectorBase4D___iadd__(self, o)
1665 def __isub__(self, o):
1666 """__isub__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1667 return _IMP_algebra._VectorBase4D___isub__(self, o)
1670 def __idiv__(self, f):
1671 """__idiv__(_VectorBase4D self, double f) -> _VectorBase4D"""
1672 return _IMP_algebra._VectorBase4D___idiv__(self, f)
1675 def __imul__(self, f):
1676 """__imul__(_VectorBase4D self, double f) -> _VectorBase4D"""
1677 return _IMP_algebra._VectorBase4D___imul__(self, f)
1680 def show(self, *args):
1682 show(_VectorBase4D self, _ostream out, std::string delim, bool parens=True)
1683 show(_VectorBase4D self, _ostream out, std::string delim)
1684 show(_VectorBase4D self, _ostream out)
1685 show(_VectorBase4D self)
1687 return _IMP_algebra._VectorBase4D_show(self, *args)
1690 def get_dimension(self):
1691 """get_dimension(_VectorBase4D self) -> unsigned int"""
1692 return _IMP_algebra._VectorBase4D_get_dimension(self)
1694 __swig_destroy__ = _IMP_algebra.delete__VectorBase4D
1695 __del__ =
lambda self:
None
1696 _VectorBase4D_swigregister = _IMP_algebra._VectorBase4D_swigregister
1697 _VectorBase4D_swigregister(_VectorBase4D)
1699 class _VectorBase5D(_GeometricPrimitive5D):
1700 """Proxy of C++ IMP::algebra::VectorBaseD<(5)> class"""
1701 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1702 __repr__ = _swig_repr
1705 """__init__(IMP::algebra::VectorBaseD<(5)> self) -> _VectorBase5D"""
1706 this = _IMP_algebra.new__VectorBase5D()
1708 self.this.append(this)
1712 def get_scalar_product(self, o):
1713 """get_scalar_product(_VectorBase5D self, _VectorBase5D o) -> double"""
1714 return _IMP_algebra._VectorBase5D_get_scalar_product(self, o)
1717 def get_squared_magnitude(self):
1718 """get_squared_magnitude(_VectorBase5D self) -> double"""
1719 return _IMP_algebra._VectorBase5D_get_squared_magnitude(self)
1722 def get_magnitude(self):
1723 """get_magnitude(_VectorBase5D self) -> double"""
1724 return _IMP_algebra._VectorBase5D_get_magnitude(self)
1727 def __mul__(self, o):
1728 """__mul__(_VectorBase5D self, _VectorBase5D o) -> double"""
1729 return _IMP_algebra._VectorBase5D___mul__(self, o)
1732 def __iadd__(self, o):
1733 """__iadd__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1734 return _IMP_algebra._VectorBase5D___iadd__(self, o)
1737 def __isub__(self, o):
1738 """__isub__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1739 return _IMP_algebra._VectorBase5D___isub__(self, o)
1742 def __idiv__(self, f):
1743 """__idiv__(_VectorBase5D self, double f) -> _VectorBase5D"""
1744 return _IMP_algebra._VectorBase5D___idiv__(self, f)
1747 def __imul__(self, f):
1748 """__imul__(_VectorBase5D self, double f) -> _VectorBase5D"""
1749 return _IMP_algebra._VectorBase5D___imul__(self, f)
1752 def show(self, *args):
1754 show(_VectorBase5D self, _ostream out, std::string delim, bool parens=True)
1755 show(_VectorBase5D self, _ostream out, std::string delim)
1756 show(_VectorBase5D self, _ostream out)
1757 show(_VectorBase5D self)
1759 return _IMP_algebra._VectorBase5D_show(self, *args)
1762 def get_dimension(self):
1763 """get_dimension(_VectorBase5D self) -> unsigned int"""
1764 return _IMP_algebra._VectorBase5D_get_dimension(self)
1766 __swig_destroy__ = _IMP_algebra.delete__VectorBase5D
1767 __del__ =
lambda self:
None
1768 _VectorBase5D_swigregister = _IMP_algebra._VectorBase5D_swigregister
1769 _VectorBase5D_swigregister(_VectorBase5D)
1771 class _VectorBase6D(_GeometricPrimitive6D):
1772 """Proxy of C++ IMP::algebra::VectorBaseD<(6)> class"""
1773 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1774 __repr__ = _swig_repr
1777 """__init__(IMP::algebra::VectorBaseD<(6)> self) -> _VectorBase6D"""
1778 this = _IMP_algebra.new__VectorBase6D()
1780 self.this.append(this)
1784 def get_scalar_product(self, o):
1785 """get_scalar_product(_VectorBase6D self, _VectorBase6D o) -> double"""
1786 return _IMP_algebra._VectorBase6D_get_scalar_product(self, o)
1789 def get_squared_magnitude(self):
1790 """get_squared_magnitude(_VectorBase6D self) -> double"""
1791 return _IMP_algebra._VectorBase6D_get_squared_magnitude(self)
1794 def get_magnitude(self):
1795 """get_magnitude(_VectorBase6D self) -> double"""
1796 return _IMP_algebra._VectorBase6D_get_magnitude(self)
1799 def __mul__(self, o):
1800 """__mul__(_VectorBase6D self, _VectorBase6D o) -> double"""
1801 return _IMP_algebra._VectorBase6D___mul__(self, o)
1804 def __iadd__(self, o):
1805 """__iadd__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1806 return _IMP_algebra._VectorBase6D___iadd__(self, o)
1809 def __isub__(self, o):
1810 """__isub__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1811 return _IMP_algebra._VectorBase6D___isub__(self, o)
1814 def __idiv__(self, f):
1815 """__idiv__(_VectorBase6D self, double f) -> _VectorBase6D"""
1816 return _IMP_algebra._VectorBase6D___idiv__(self, f)
1819 def __imul__(self, f):
1820 """__imul__(_VectorBase6D self, double f) -> _VectorBase6D"""
1821 return _IMP_algebra._VectorBase6D___imul__(self, f)
1824 def show(self, *args):
1826 show(_VectorBase6D self, _ostream out, std::string delim, bool parens=True)
1827 show(_VectorBase6D self, _ostream out, std::string delim)
1828 show(_VectorBase6D self, _ostream out)
1829 show(_VectorBase6D self)
1831 return _IMP_algebra._VectorBase6D_show(self, *args)
1834 def get_dimension(self):
1835 """get_dimension(_VectorBase6D self) -> unsigned int"""
1836 return _IMP_algebra._VectorBase6D_get_dimension(self)
1838 __swig_destroy__ = _IMP_algebra.delete__VectorBase6D
1839 __del__ =
lambda self:
None
1840 _VectorBase6D_swigregister = _IMP_algebra._VectorBase6D_swigregister
1841 _VectorBase6D_swigregister(_VectorBase6D)
1845 """get_basis_vector_kd(int D, unsigned int coordinate) -> VectorKD"""
1846 return _IMP_algebra.get_basis_vector_kd(D, coordinate)
1849 """get_zero_vector_kd(int D) -> VectorKD"""
1850 return _IMP_algebra.get_zero_vector_kd(D)
1854 get_ones_vector_kd(unsigned int D, double v=1) -> VectorKD
1855 get_ones_vector_kd(unsigned int D) -> VectorKD
1857 return _IMP_algebra.get_ones_vector_kd(D, v)
1860 """get_vector_product(Vector3D p1, Vector3D p2) -> Vector3D"""
1861 return _IMP_algebra.get_vector_product(p1, p2)
1864 """get_orthogonal_vector(Vector3D v) -> Vector3D"""
1865 return _IMP_algebra.get_orthogonal_vector(v)
1868 """get_centroid(IMP::algebra::Vector3Ds const & ps) -> Vector3D"""
1869 return _IMP_algebra.get_centroid(ps)
1872 """get_radius_of_gyration(IMP::algebra::Vector3Ds const & ps) -> double"""
1873 return _IMP_algebra.get_radius_of_gyration(ps)
1874 class Rotation3D(_GeometricPrimitive3D):
1875 """Proxy of C++ IMP::algebra::Rotation3D class"""
1876 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1878 def __init__(self, *args):
1880 __init__(IMP::algebra::Rotation3D self, Vector4D v, bool assume_normalized=False) -> Rotation3D
1881 __init__(IMP::algebra::Rotation3D self, Vector4D v) -> Rotation3D
1882 __init__(IMP::algebra::Rotation3D self) -> Rotation3D
1883 __init__(IMP::algebra::Rotation3D self, double a, double b, double c, double d) -> Rotation3D
1885 this = _IMP_algebra.new_Rotation3D(*args)
1887 self.this.append(this)
1890 __swig_destroy__ = _IMP_algebra.delete_Rotation3D
1891 __del__ =
lambda self:
None
1893 def get_rotated_no_cache(self, o):
1894 """get_rotated_no_cache(Rotation3D self, Vector3D o) -> Vector3D"""
1895 return _IMP_algebra.Rotation3D_get_rotated_no_cache(self, o)
1898 def get_rotated_one_coordinate_no_cache(self, o, coord):
1899 """get_rotated_one_coordinate_no_cache(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1900 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate_no_cache(self, o, coord)
1903 def get_rotated(self, o):
1904 """get_rotated(Rotation3D self, Vector3D o) -> Vector3D"""
1905 return _IMP_algebra.Rotation3D_get_rotated(self, o)
1908 def get_rotated_one_coordinate(self, o, coord):
1909 """get_rotated_one_coordinate(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1910 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate(self, o, coord)
1913 def get_rotation_matrix_row(self, i):
1914 """get_rotation_matrix_row(Rotation3D self, int i) -> Vector3D"""
1915 return _IMP_algebra.Rotation3D_get_rotation_matrix_row(self, i)
1918 def show(self, *args):
1920 show(Rotation3D self, _ostream out)
1921 show(Rotation3D self)
1923 return _IMP_algebra.Rotation3D_show(self, *args)
1926 def get_inverse(self):
1927 """get_inverse(Rotation3D self) -> Rotation3D"""
1928 return _IMP_algebra.Rotation3D_get_inverse(self)
1931 def get_quaternion(self):
1932 """get_quaternion(Rotation3D self) -> Vector4D"""
1933 return _IMP_algebra.Rotation3D_get_quaternion(self)
1936 def __mul__(self, *args):
1938 __mul__(Rotation3D self, Vector3D v) -> Vector3D
1939 __mul__(Rotation3D self, Rotation3D q) -> Rotation3D
1941 return _IMP_algebra.Rotation3D___mul__(self, *args)
1944 def __div__(self, r):
1945 """__div__(Rotation3D self, Rotation3D r) -> Rotation3D"""
1946 return _IMP_algebra.Rotation3D___div__(self, r)
1949 def get_derivative(self, o, i):
1950 """get_derivative(Rotation3D self, Vector3D o, unsigned int i) -> Vector3D"""
1951 return _IMP_algebra.Rotation3D_get_derivative(self, o, i)
1954 def get_is_valid(self):
1955 """get_is_valid(Rotation3D self) -> bool"""
1956 return _IMP_algebra.Rotation3D_get_is_valid(self)
1960 """__str__(Rotation3D self) -> std::string"""
1961 return _IMP_algebra.Rotation3D___str__(self)
1965 """__repr__(Rotation3D self) -> std::string"""
1966 return _IMP_algebra.Rotation3D___repr__(self)
1969 __truediv__ = __div__
1971 Rotation3D_swigregister = _IMP_algebra.Rotation3D_swigregister
1972 Rotation3D_swigregister(Rotation3D)
1976 """get_identity_rotation_3d() -> Rotation3D"""
1977 return _IMP_algebra.get_identity_rotation_3d()
1980 """get_rotation_about_normalized_axis(Vector3D axis_norm, double angle) -> Rotation3D"""
1981 return _IMP_algebra.get_rotation_about_normalized_axis(axis_norm, angle)
1984 """get_rotation_about_axis(Vector3D axis, double angle) -> Rotation3D"""
1985 return _IMP_algebra.get_rotation_about_axis(axis, angle)
1988 """get_rotation_taking_first_to_second(Vector3D v1, Vector3D v2) -> Rotation3D"""
1989 return _IMP_algebra.get_rotation_taking_first_to_second(v1, v2)
1993 get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) -> Rotation3D
1994 get_rotation_from_matrix(IMP_Eigen::Matrix3d m) -> Rotation3D
1996 return _IMP_algebra.get_rotation_from_matrix(*args)
2000 get_random_rotation_3d() -> Rotation3D
2001 get_random_rotation_3d(Rotation3D center, double distance) -> Rotation3D
2003 return _IMP_algebra.get_random_rotation_3d(*args)
2006 """get_uniform_cover_rotations_3d(unsigned int num_points) -> IMP::algebra::Rotation3Ds"""
2007 return _IMP_algebra.get_uniform_cover_rotations_3d(num_points)
2010 """get_uniformly_sampled_rotations(double delta) -> IMP::algebra::Rotation3Ds"""
2011 return _IMP_algebra.get_uniformly_sampled_rotations(delta)
2014 """get_rotation_from_vector4d(Vector4D v) -> Rotation3D"""
2015 return _IMP_algebra.get_rotation_from_vector4d(v)
2018 """get_rotation_from_fixed_xyz(double xr, double yr, double zr) -> Rotation3D"""
2019 return _IMP_algebra.get_rotation_from_fixed_xyz(xr, yr, zr)
2022 """get_rotation_from_fixed_zxz(double phi, double theta, double psi) -> Rotation3D"""
2023 return _IMP_algebra.get_rotation_from_fixed_zxz(phi, theta, psi)
2026 """get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi) -> Rotation3D"""
2027 return _IMP_algebra.get_rotation_from_fixed_zyz(Rot, Tilt, Psi)
2028 class FixedXYZ(_GeometricPrimitive3D):
2029 """Proxy of C++ IMP::algebra::FixedXYZ class"""
2030 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2032 def __init__(self, *args):
2034 __init__(IMP::algebra::FixedXYZ self) -> FixedXYZ
2035 __init__(IMP::algebra::FixedXYZ self, double x, double y, double z) -> FixedXYZ
2037 this = _IMP_algebra.new_FixedXYZ(*args)
2039 self.this.append(this)
2044 """get_x(FixedXYZ self) -> double"""
2045 return _IMP_algebra.FixedXYZ_get_x(self)
2049 """get_y(FixedXYZ self) -> double"""
2050 return _IMP_algebra.FixedXYZ_get_y(self)
2054 """get_z(FixedXYZ self) -> double"""
2055 return _IMP_algebra.FixedXYZ_get_z(self)
2058 def show(self, *args):
2060 show(FixedXYZ self, _ostream out)
2063 return _IMP_algebra.FixedXYZ_show(self, *args)
2067 """__str__(FixedXYZ self) -> std::string"""
2068 return _IMP_algebra.FixedXYZ___str__(self)
2072 """__repr__(FixedXYZ self) -> std::string"""
2073 return _IMP_algebra.FixedXYZ___repr__(self)
2075 __swig_destroy__ = _IMP_algebra.delete_FixedXYZ
2076 __del__ =
lambda self:
None
2077 FixedXYZ_swigregister = _IMP_algebra.FixedXYZ_swigregister
2078 FixedXYZ_swigregister(FixedXYZ)
2082 """get_fixed_xyz_from_rotation(Rotation3D r) -> FixedXYZ"""
2083 return _IMP_algebra.get_fixed_xyz_from_rotation(r)
2086 """get_interpolated(Rotation3D a, Rotation3D b, double f) -> Rotation3D"""
2087 return _IMP_algebra.get_interpolated(a, b, f)
2090 """get_rotation_from_x_y_axes(Vector3D x, Vector3D y) -> Rotation3D"""
2091 return _IMP_algebra.get_rotation_from_x_y_axes(x, y)
2094 """get_axis_and_angle(Rotation3D rot) -> _AxisAnglePair"""
2095 return _IMP_algebra.get_axis_and_angle(rot)
2098 """get_unit_bounding_box_kd(unsigned int d) -> BoundingBoxKD"""
2099 return _IMP_algebra.get_unit_bounding_box_kd(d)
2102 """get_cube_kd(unsigned int d, double radius) -> BoundingBoxKD"""
2103 return _IMP_algebra.get_cube_kd(d, radius)
2106 """get_edges(BoundingBox3D arg1) -> IMP::IntPairs"""
2107 return _IMP_algebra.get_edges(arg1)
2108 class Transformation3D(_GeometricPrimitive3D):
2109 """Proxy of C++ IMP::algebra::Transformation3D class"""
2110 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2112 def __init__(self, *args):
2114 __init__(IMP::algebra::Transformation3D self) -> Transformation3D
2115 __init__(IMP::algebra::Transformation3D self, Rotation3D r, Vector3D t) -> Transformation3D
2116 __init__(IMP::algebra::Transformation3D self, Rotation3D r) -> Transformation3D
2117 __init__(IMP::algebra::Transformation3D self, Vector3D t) -> Transformation3D
2119 this = _IMP_algebra.new_Transformation3D(*args)
2121 self.this.append(this)
2124 __swig_destroy__ = _IMP_algebra.delete_Transformation3D
2125 __del__ =
lambda self:
None
2127 def get_transformed(self, o):
2128 """get_transformed(Transformation3D self, Vector3D o) -> Vector3D"""
2129 return _IMP_algebra.Transformation3D_get_transformed(self, o)
2132 def __mul__(self, *args):
2134 __mul__(Transformation3D self, Vector3D v) -> Vector3D
2135 __mul__(Transformation3D self, Transformation3D tr) -> Transformation3D
2137 return _IMP_algebra.Transformation3D___mul__(self, *args)
2140 def __div__(self, b):
2141 """__div__(Transformation3D self, Transformation3D b) -> Transformation3D"""
2142 return _IMP_algebra.Transformation3D___div__(self, b)
2145 def get_rotation(self):
2146 """get_rotation(Transformation3D self) -> Rotation3D"""
2147 return _IMP_algebra.Transformation3D_get_rotation(self)
2150 def get_translation(self):
2151 """get_translation(Transformation3D self) -> Vector3D"""
2152 return _IMP_algebra.Transformation3D_get_translation(self)
2155 def show(self, *args):
2157 show(Transformation3D self, _ostream out)
2158 show(Transformation3D self)
2160 return _IMP_algebra.Transformation3D_show(self, *args)
2163 def get_inverse(self):
2164 """get_inverse(Transformation3D self) -> Transformation3D"""
2165 return _IMP_algebra.Transformation3D_get_inverse(self)
2168 def get_is_valid(self):
2169 """get_is_valid(Transformation3D self) -> bool"""
2170 return _IMP_algebra.Transformation3D_get_is_valid(self)
2174 """__str__(Transformation3D self) -> std::string"""
2175 return _IMP_algebra.Transformation3D___str__(self)
2179 """__repr__(Transformation3D self) -> std::string"""
2180 return _IMP_algebra.Transformation3D___repr__(self)
2183 __truediv__ = __div__
2185 Transformation3D_swigregister = _IMP_algebra.Transformation3D_swigregister
2186 Transformation3D_swigregister(Transformation3D)
2190 """get_identity_transformation_3d() -> Transformation3D"""
2191 return _IMP_algebra.get_identity_transformation_3d()
2194 """get_transformation_3d(Transformation2D t2d) -> Transformation3D"""
2195 return _IMP_algebra.get_transformation_3d(t2d)
2199 get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26) -> Transformation3D
2200 get_random_local_transformation(Vector3D origin, double max_translation=5.) -> Transformation3D
2201 get_random_local_transformation(Vector3D origin) -> Transformation3D
2203 return _IMP_algebra.get_random_local_transformation(origin, max_translation, max_angle_in_rad)
2204 class Rotation2D(_GeometricPrimitive2D):
2205 """Proxy of C++ IMP::algebra::Rotation2D class"""
2206 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2208 def __init__(self, *args):
2210 __init__(IMP::algebra::Rotation2D self) -> Rotation2D
2211 __init__(IMP::algebra::Rotation2D self, double angle) -> Rotation2D
2213 this = _IMP_algebra.new_Rotation2D(*args)
2215 self.this.append(this)
2219 def get_rotated(self, *args):
2221 get_rotated(Rotation2D self, Vector2D o) -> Vector2D
2222 get_rotated(Rotation2D self, double const x, double const y) -> Vector2D
2224 return _IMP_algebra.Rotation2D_get_rotated(self, *args)
2227 def get_inverse(self):
2228 """get_inverse(Rotation2D self) -> Rotation2D"""
2229 return _IMP_algebra.Rotation2D_get_inverse(self)
2232 def set_angle(self, angle):
2233 """set_angle(Rotation2D self, double angle)"""
2234 return _IMP_algebra.Rotation2D_set_angle(self, angle)
2237 def get_angle(self):
2238 """get_angle(Rotation2D self) -> double"""
2239 return _IMP_algebra.Rotation2D_get_angle(self)
2242 def show(self, *args):
2244 show(Rotation2D self, _ostream out)
2245 show(Rotation2D self)
2247 return _IMP_algebra.Rotation2D_show(self, *args)
2251 """__str__(Rotation2D self) -> std::string"""
2252 return _IMP_algebra.Rotation2D___str__(self)
2256 """__repr__(Rotation2D self) -> std::string"""
2257 return _IMP_algebra.Rotation2D___repr__(self)
2259 __swig_destroy__ = _IMP_algebra.delete_Rotation2D
2260 __del__ =
lambda self:
None
2261 Rotation2D_swigregister = _IMP_algebra.Rotation2D_swigregister
2262 Rotation2D_swigregister(Rotation2D)
2266 """get_identity_rotation_2d() -> Rotation2D"""
2267 return _IMP_algebra.get_identity_rotation_2d()
2270 """get_random_rotation_2d() -> Rotation2D"""
2271 return _IMP_algebra.get_random_rotation_2d()
2274 """get_rotation_to_x_axis(Vector2D v) -> Rotation2D"""
2275 return _IMP_algebra.get_rotation_to_x_axis(v)
2276 class Transformation2D(_GeometricPrimitive2D):
2277 """Proxy of C++ IMP::algebra::Transformation2D class"""
2278 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2280 def __init__(self, *args):
2282 __init__(IMP::algebra::Transformation2D self) -> Transformation2D
2283 __init__(IMP::algebra::Transformation2D self, Rotation2D r, Vector2D t) -> Transformation2D
2284 __init__(IMP::algebra::Transformation2D self, Rotation2D r) -> Transformation2D
2285 __init__(IMP::algebra::Transformation2D self, Vector2D t) -> Transformation2D
2287 this = _IMP_algebra.new_Transformation2D(*args)
2289 self.this.append(this)
2292 __swig_destroy__ = _IMP_algebra.delete_Transformation2D
2293 __del__ =
lambda self:
None
2295 def get_transformed(self, o):
2296 """get_transformed(Transformation2D self, Vector2D o) -> Vector2D"""
2297 return _IMP_algebra.Transformation2D_get_transformed(self, o)
2300 def __mul__(self, *args):
2302 __mul__(Transformation2D self, Vector2D v) -> Vector2D
2303 __mul__(Transformation2D self, Transformation2D tr) -> Transformation2D
2305 return _IMP_algebra.Transformation2D___mul__(self, *args)
2308 def __div__(self, b):
2309 """__div__(Transformation2D self, Transformation2D b) -> Transformation2D"""
2310 return _IMP_algebra.Transformation2D___div__(self, b)
2313 def get_rotation(self):
2314 """get_rotation(Transformation2D self) -> Rotation2D"""
2315 return _IMP_algebra.Transformation2D_get_rotation(self)
2318 def set_rotation(self, angle):
2319 """set_rotation(Transformation2D self, double angle)"""
2320 return _IMP_algebra.Transformation2D_set_rotation(self, angle)
2323 def get_translation(self):
2324 """get_translation(Transformation2D self) -> Vector2D"""
2325 return _IMP_algebra.Transformation2D_get_translation(self)
2328 def set_translation(self, v):
2329 """set_translation(Transformation2D self, Vector2D v)"""
2330 return _IMP_algebra.Transformation2D_set_translation(self, v)
2333 def show(self, *args):
2335 show(Transformation2D self, _ostream out)
2336 show(Transformation2D self)
2338 return _IMP_algebra.Transformation2D_show(self, *args)
2341 def get_inverse(self):
2342 """get_inverse(Transformation2D self) -> Transformation2D"""
2343 return _IMP_algebra.Transformation2D_get_inverse(self)
2347 """__str__(Transformation2D self) -> std::string"""
2348 return _IMP_algebra.Transformation2D___str__(self)
2352 """__repr__(Transformation2D self) -> std::string"""
2353 return _IMP_algebra.Transformation2D___repr__(self)
2356 __truediv__ = __div__
2358 Transformation2D_swigregister = _IMP_algebra.Transformation2D_swigregister
2359 Transformation2D_swigregister(Transformation2D)
2363 """get_identity_transformation_2d() -> Transformation2D"""
2364 return _IMP_algebra.get_identity_transformation_2d()
2368 get_rotation_about_point(Vector3D point, Rotation3D rotation) -> Transformation3D
2369 get_rotation_about_point(Vector2D point, Rotation2D rotation) -> Transformation2D
2371 return _IMP_algebra.get_rotation_about_point(*args)
2375 compose(Rotation3D a, Rotation3D b) -> Rotation3D
2376 compose(Transformation3D a, Transformation3D b) -> Transformation3D
2377 compose(Rotation2D a, Rotation2D b) -> Rotation2D
2378 compose(Transformation2D a, Transformation2D b) -> Transformation2D
2380 return _IMP_algebra.compose(*args)
2382 def get_unit_sphere_kd(d):
2383 """get_unit_sphere_kd(unsigned int d) -> SphereKD"""
2384 return _IMP_algebra.get_unit_sphere_kd(d)
2388 get_enclosing_sphere(IMP::algebra::Sphere3Ds const & ss) -> Sphere3D
2389 get_enclosing_sphere(IMP::algebra::Vector3Ds const & ss) -> Sphere3D
2391 return _IMP_algebra.get_enclosing_sphere(*args)
2394 """get_ball_radius_from_volume_3d(double volume) -> double"""
2395 return _IMP_algebra.get_ball_radius_from_volume_3d(volume)
2398 """get_surface_area_and_volume(IMP::algebra::Sphere3Ds const & ss) -> IMP::FloatPair"""
2399 return _IMP_algebra.get_surface_area_and_volume(ss)
2402 """get_simplified_from_volume(IMP::algebra::Sphere3Ds arg1, double maximum_allowed_error_angstroms) -> IMP::algebra::Sphere3Ds"""
2403 return _IMP_algebra.get_simplified_from_volume(arg1, maximum_allowed_error_angstroms)
2405 """Proxy of C++ IMP::algebra::VectorD<(1)> class"""
2406 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2409 """get_unit_vector(Vector1D self) -> Vector1D"""
2410 return _IMP_algebra.Vector1D_get_unit_vector(self)
2413 def __div__(self, s):
2414 """__div__(Vector1D self, double s) -> Vector1D"""
2415 return _IMP_algebra.Vector1D___div__(self, s)
2419 """__neg__(Vector1D self) -> Vector1D"""
2420 return _IMP_algebra.Vector1D___neg__(self)
2423 def __sub__(self, o):
2424 """__sub__(Vector1D self, Vector1D o) -> Vector1D"""
2425 return _IMP_algebra.Vector1D___sub__(self, o)
2428 def __add__(self, ret):
2429 """__add__(Vector1D self, Vector1D ret) -> Vector1D"""
2430 return _IMP_algebra.Vector1D___add__(self, ret)
2433 def __mul__(self, *args):
2435 __mul__(Vector1D self, double s) -> Vector1D
2436 __mul__(Vector1D self, Vector1D o) -> double
2438 return _IMP_algebra.Vector1D___mul__(self, *args)
2441 def __init__(self, *args):
2443 __init__(IMP::algebra::VectorD<(1)> self, IMP::Floats const & f) -> Vector1D
2444 __init__(IMP::algebra::VectorD<(1)> self) -> Vector1D
2445 __init__(IMP::algebra::VectorD<(1)> self, double x) -> Vector1D
2447 this = _IMP_algebra.new_Vector1D(*args)
2449 self.this.append(this)
2453 def __getitem__(self, index):
2454 """__getitem__(Vector1D self, unsigned int index) -> double"""
2455 return _IMP_algebra.Vector1D___getitem__(self, index)
2458 def __setitem__(self, index, val):
2459 """__setitem__(Vector1D self, unsigned int index, double val)"""
2460 return _IMP_algebra.Vector1D___setitem__(self, index, val)
2463 def __iadd__(self, *args):
2464 _IMP_algebra.Vector1D___iadd__(self, *args)
2469 def __imul__(self, *args):
2470 _IMP_algebra.Vector1D___imul__(self, *args)
2475 def __idiv__(self, *args):
2476 _IMP_algebra.Vector1D___idiv__(self, *args)
2481 def __isub__(self, *args):
2482 _IMP_algebra.Vector1D___isub__(self, *args)
2488 """__len__(Vector1D self) -> unsigned int"""
2489 return _IMP_algebra.Vector1D___len__(self)
2492 def __rmul__(self, f):
2493 """__rmul__(Vector1D self, double f) -> Vector1D"""
2494 return _IMP_algebra.Vector1D___rmul__(self, f)
2498 """__str__(Vector1D self) -> std::string"""
2499 return _IMP_algebra.Vector1D___str__(self)
2503 """__repr__(Vector1D self) -> std::string"""
2504 return _IMP_algebra.Vector1D___repr__(self)
2507 def __cmp__(self, arg2):
2508 """__cmp__(Vector1D self, Vector1D arg2) -> int"""
2509 return _IMP_algebra.Vector1D___cmp__(self, arg2)
2512 def __eq__(self, arg2):
2513 """__eq__(Vector1D self, Vector1D arg2) -> bool"""
2514 return _IMP_algebra.Vector1D___eq__(self, arg2)
2517 __truediv__ = __div__
2518 __itruediv__ = __idiv__
2520 __swig_destroy__ = _IMP_algebra.delete_Vector1D
2521 __del__ =
lambda self:
None
2522 Vector1D_swigregister = _IMP_algebra.Vector1D_swigregister
2523 Vector1D_swigregister(Vector1D)
2526 """Proxy of C++ IMP::algebra::VectorD<(2)> class"""
2527 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2530 """get_unit_vector(Vector2D self) -> Vector2D"""
2531 return _IMP_algebra.Vector2D_get_unit_vector(self)
2534 def __div__(self, s):
2535 """__div__(Vector2D self, double s) -> Vector2D"""
2536 return _IMP_algebra.Vector2D___div__(self, s)
2540 """__neg__(Vector2D self) -> Vector2D"""
2541 return _IMP_algebra.Vector2D___neg__(self)
2544 def __sub__(self, o):
2545 """__sub__(Vector2D self, Vector2D o) -> Vector2D"""
2546 return _IMP_algebra.Vector2D___sub__(self, o)
2549 def __add__(self, ret):
2550 """__add__(Vector2D self, Vector2D ret) -> Vector2D"""
2551 return _IMP_algebra.Vector2D___add__(self, ret)
2554 def __mul__(self, *args):
2556 __mul__(Vector2D self, double s) -> Vector2D
2557 __mul__(Vector2D self, Vector2D o) -> double
2559 return _IMP_algebra.Vector2D___mul__(self, *args)
2562 def __init__(self, *args):
2564 __init__(IMP::algebra::VectorD<(2)> self, IMP::Floats const & f) -> Vector2D
2565 __init__(IMP::algebra::VectorD<(2)> self) -> Vector2D
2566 __init__(IMP::algebra::VectorD<(2)> self, double x, double y) -> Vector2D
2568 this = _IMP_algebra.new_Vector2D(*args)
2570 self.this.append(this)
2574 def __getitem__(self, index):
2575 """__getitem__(Vector2D self, unsigned int index) -> double"""
2576 return _IMP_algebra.Vector2D___getitem__(self, index)
2579 def __setitem__(self, index, val):
2580 """__setitem__(Vector2D self, unsigned int index, double val)"""
2581 return _IMP_algebra.Vector2D___setitem__(self, index, val)
2584 def __iadd__(self, *args):
2585 _IMP_algebra.Vector2D___iadd__(self, *args)
2590 def __imul__(self, *args):
2591 _IMP_algebra.Vector2D___imul__(self, *args)
2596 def __idiv__(self, *args):
2597 _IMP_algebra.Vector2D___idiv__(self, *args)
2602 def __isub__(self, *args):
2603 _IMP_algebra.Vector2D___isub__(self, *args)
2609 """__len__(Vector2D self) -> unsigned int"""
2610 return _IMP_algebra.Vector2D___len__(self)
2613 def __rmul__(self, f):
2614 """__rmul__(Vector2D self, double f) -> Vector2D"""
2615 return _IMP_algebra.Vector2D___rmul__(self, f)
2619 """__str__(Vector2D self) -> std::string"""
2620 return _IMP_algebra.Vector2D___str__(self)
2624 """__repr__(Vector2D self) -> std::string"""
2625 return _IMP_algebra.Vector2D___repr__(self)
2628 def __cmp__(self, arg2):
2629 """__cmp__(Vector2D self, Vector2D arg2) -> int"""
2630 return _IMP_algebra.Vector2D___cmp__(self, arg2)
2633 def __eq__(self, arg2):
2634 """__eq__(Vector2D self, Vector2D arg2) -> bool"""
2635 return _IMP_algebra.Vector2D___eq__(self, arg2)
2638 __truediv__ = __div__
2639 __itruediv__ = __idiv__
2641 __swig_destroy__ = _IMP_algebra.delete_Vector2D
2642 __del__ =
lambda self:
None
2643 Vector2D_swigregister = _IMP_algebra.Vector2D_swigregister
2644 Vector2D_swigregister(Vector2D)
2647 """Proxy of C++ IMP::algebra::VectorD<(3)> class"""
2648 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2651 """get_unit_vector(Vector3D self) -> Vector3D"""
2652 return _IMP_algebra.Vector3D_get_unit_vector(self)
2655 def __div__(self, s):
2656 """__div__(Vector3D self, double s) -> Vector3D"""
2657 return _IMP_algebra.Vector3D___div__(self, s)
2661 """__neg__(Vector3D self) -> Vector3D"""
2662 return _IMP_algebra.Vector3D___neg__(self)
2665 def __sub__(self, o):
2666 """__sub__(Vector3D self, Vector3D o) -> Vector3D"""
2667 return _IMP_algebra.Vector3D___sub__(self, o)
2670 def __add__(self, ret):
2671 """__add__(Vector3D self, Vector3D ret) -> Vector3D"""
2672 return _IMP_algebra.Vector3D___add__(self, ret)
2675 def __mul__(self, *args):
2677 __mul__(Vector3D self, double s) -> Vector3D
2678 __mul__(Vector3D self, Vector3D o) -> double
2680 return _IMP_algebra.Vector3D___mul__(self, *args)
2683 def __init__(self, *args):
2685 __init__(IMP::algebra::VectorD<(3)> self, IMP::Floats const & f) -> Vector3D
2686 __init__(IMP::algebra::VectorD<(3)> self) -> Vector3D
2687 __init__(IMP::algebra::VectorD<(3)> self, double x, double y, double z) -> Vector3D
2689 this = _IMP_algebra.new_Vector3D(*args)
2691 self.this.append(this)
2695 def __getitem__(self, index):
2696 """__getitem__(Vector3D self, unsigned int index) -> double"""
2697 return _IMP_algebra.Vector3D___getitem__(self, index)
2700 def __setitem__(self, index, val):
2701 """__setitem__(Vector3D self, unsigned int index, double val)"""
2702 return _IMP_algebra.Vector3D___setitem__(self, index, val)
2705 def __iadd__(self, *args):
2706 _IMP_algebra.Vector3D___iadd__(self, *args)
2711 def __imul__(self, *args):
2712 _IMP_algebra.Vector3D___imul__(self, *args)
2717 def __idiv__(self, *args):
2718 _IMP_algebra.Vector3D___idiv__(self, *args)
2723 def __isub__(self, *args):
2724 _IMP_algebra.Vector3D___isub__(self, *args)
2730 """__len__(Vector3D self) -> unsigned int"""
2731 return _IMP_algebra.Vector3D___len__(self)
2734 def __rmul__(self, f):
2735 """__rmul__(Vector3D self, double f) -> Vector3D"""
2736 return _IMP_algebra.Vector3D___rmul__(self, f)
2740 """__str__(Vector3D self) -> std::string"""
2741 return _IMP_algebra.Vector3D___str__(self)
2745 """__repr__(Vector3D self) -> std::string"""
2746 return _IMP_algebra.Vector3D___repr__(self)
2749 def __cmp__(self, arg2):
2750 """__cmp__(Vector3D self, Vector3D arg2) -> int"""
2751 return _IMP_algebra.Vector3D___cmp__(self, arg2)
2754 def __eq__(self, arg2):
2755 """__eq__(Vector3D self, Vector3D arg2) -> bool"""
2756 return _IMP_algebra.Vector3D___eq__(self, arg2)
2759 __truediv__ = __div__
2760 __itruediv__ = __idiv__
2762 __swig_destroy__ = _IMP_algebra.delete_Vector3D
2763 __del__ =
lambda self:
None
2764 Vector3D_swigregister = _IMP_algebra.Vector3D_swigregister
2765 Vector3D_swigregister(Vector3D)
2768 """Proxy of C++ IMP::algebra::VectorD<(4)> class"""
2769 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2772 """get_unit_vector(Vector4D self) -> Vector4D"""
2773 return _IMP_algebra.Vector4D_get_unit_vector(self)
2776 def __div__(self, s):
2777 """__div__(Vector4D self, double s) -> Vector4D"""
2778 return _IMP_algebra.Vector4D___div__(self, s)
2782 """__neg__(Vector4D self) -> Vector4D"""
2783 return _IMP_algebra.Vector4D___neg__(self)
2786 def __sub__(self, o):
2787 """__sub__(Vector4D self, Vector4D o) -> Vector4D"""
2788 return _IMP_algebra.Vector4D___sub__(self, o)
2791 def __add__(self, ret):
2792 """__add__(Vector4D self, Vector4D ret) -> Vector4D"""
2793 return _IMP_algebra.Vector4D___add__(self, ret)
2796 def __mul__(self, *args):
2798 __mul__(Vector4D self, double s) -> Vector4D
2799 __mul__(Vector4D self, Vector4D o) -> double
2801 return _IMP_algebra.Vector4D___mul__(self, *args)
2804 def __init__(self, *args):
2806 __init__(IMP::algebra::VectorD<(4)> self, IMP::Floats const & f) -> Vector4D
2807 __init__(IMP::algebra::VectorD<(4)> self) -> Vector4D
2808 __init__(IMP::algebra::VectorD<(4)> self, double x0, double x1, double x2, double x3) -> Vector4D
2810 this = _IMP_algebra.new_Vector4D(*args)
2812 self.this.append(this)
2816 def __getitem__(self, index):
2817 """__getitem__(Vector4D self, unsigned int index) -> double"""
2818 return _IMP_algebra.Vector4D___getitem__(self, index)
2821 def __setitem__(self, index, val):
2822 """__setitem__(Vector4D self, unsigned int index, double val)"""
2823 return _IMP_algebra.Vector4D___setitem__(self, index, val)
2826 def __iadd__(self, *args):
2827 _IMP_algebra.Vector4D___iadd__(self, *args)
2832 def __imul__(self, *args):
2833 _IMP_algebra.Vector4D___imul__(self, *args)
2838 def __idiv__(self, *args):
2839 _IMP_algebra.Vector4D___idiv__(self, *args)
2844 def __isub__(self, *args):
2845 _IMP_algebra.Vector4D___isub__(self, *args)
2851 """__len__(Vector4D self) -> unsigned int"""
2852 return _IMP_algebra.Vector4D___len__(self)
2855 def __rmul__(self, f):
2856 """__rmul__(Vector4D self, double f) -> Vector4D"""
2857 return _IMP_algebra.Vector4D___rmul__(self, f)
2861 """__str__(Vector4D self) -> std::string"""
2862 return _IMP_algebra.Vector4D___str__(self)
2866 """__repr__(Vector4D self) -> std::string"""
2867 return _IMP_algebra.Vector4D___repr__(self)
2870 def __cmp__(self, arg2):
2871 """__cmp__(Vector4D self, Vector4D arg2) -> int"""
2872 return _IMP_algebra.Vector4D___cmp__(self, arg2)
2875 def __eq__(self, arg2):
2876 """__eq__(Vector4D self, Vector4D arg2) -> bool"""
2877 return _IMP_algebra.Vector4D___eq__(self, arg2)
2880 __truediv__ = __div__
2881 __itruediv__ = __idiv__
2883 __swig_destroy__ = _IMP_algebra.delete_Vector4D
2884 __del__ =
lambda self:
None
2885 Vector4D_swigregister = _IMP_algebra.Vector4D_swigregister
2886 Vector4D_swigregister(Vector4D)
2889 """Proxy of C++ IMP::algebra::VectorD<(5)> class"""
2890 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2893 """get_unit_vector(Vector5D self) -> Vector5D"""
2894 return _IMP_algebra.Vector5D_get_unit_vector(self)
2897 def __div__(self, s):
2898 """__div__(Vector5D self, double s) -> Vector5D"""
2899 return _IMP_algebra.Vector5D___div__(self, s)
2903 """__neg__(Vector5D self) -> Vector5D"""
2904 return _IMP_algebra.Vector5D___neg__(self)
2907 def __sub__(self, o):
2908 """__sub__(Vector5D self, Vector5D o) -> Vector5D"""
2909 return _IMP_algebra.Vector5D___sub__(self, o)
2912 def __add__(self, ret):
2913 """__add__(Vector5D self, Vector5D ret) -> Vector5D"""
2914 return _IMP_algebra.Vector5D___add__(self, ret)
2917 def __mul__(self, *args):
2919 __mul__(Vector5D self, double s) -> Vector5D
2920 __mul__(Vector5D self, Vector5D o) -> double
2922 return _IMP_algebra.Vector5D___mul__(self, *args)
2925 def __init__(self, *args):
2927 __init__(IMP::algebra::VectorD<(5)> self, IMP::Floats const & f) -> Vector5D
2928 __init__(IMP::algebra::VectorD<(5)> self) -> Vector5D
2929 __init__(IMP::algebra::VectorD<(5)> self, double x0, double x1, double x2, double x3, double x4) -> Vector5D
2931 this = _IMP_algebra.new_Vector5D(*args)
2933 self.this.append(this)
2937 def __getitem__(self, index):
2938 """__getitem__(Vector5D self, unsigned int index) -> double"""
2939 return _IMP_algebra.Vector5D___getitem__(self, index)
2942 def __setitem__(self, index, val):
2943 """__setitem__(Vector5D self, unsigned int index, double val)"""
2944 return _IMP_algebra.Vector5D___setitem__(self, index, val)
2947 def __iadd__(self, *args):
2948 _IMP_algebra.Vector5D___iadd__(self, *args)
2953 def __imul__(self, *args):
2954 _IMP_algebra.Vector5D___imul__(self, *args)
2959 def __idiv__(self, *args):
2960 _IMP_algebra.Vector5D___idiv__(self, *args)
2965 def __isub__(self, *args):
2966 _IMP_algebra.Vector5D___isub__(self, *args)
2972 """__len__(Vector5D self) -> unsigned int"""
2973 return _IMP_algebra.Vector5D___len__(self)
2976 def __rmul__(self, f):
2977 """__rmul__(Vector5D self, double f) -> Vector5D"""
2978 return _IMP_algebra.Vector5D___rmul__(self, f)
2982 """__str__(Vector5D self) -> std::string"""
2983 return _IMP_algebra.Vector5D___str__(self)
2987 """__repr__(Vector5D self) -> std::string"""
2988 return _IMP_algebra.Vector5D___repr__(self)
2991 def __cmp__(self, arg2):
2992 """__cmp__(Vector5D self, Vector5D arg2) -> int"""
2993 return _IMP_algebra.Vector5D___cmp__(self, arg2)
2996 def __eq__(self, arg2):
2997 """__eq__(Vector5D self, Vector5D arg2) -> bool"""
2998 return _IMP_algebra.Vector5D___eq__(self, arg2)
3001 __truediv__ = __div__
3002 __itruediv__ = __idiv__
3004 __swig_destroy__ = _IMP_algebra.delete_Vector5D
3005 __del__ =
lambda self:
None
3006 Vector5D_swigregister = _IMP_algebra.Vector5D_swigregister
3007 Vector5D_swigregister(Vector5D)
3010 """Proxy of C++ IMP::algebra::VectorD<(6)> class"""
3011 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3014 """get_unit_vector(Vector6D self) -> Vector6D"""
3015 return _IMP_algebra.Vector6D_get_unit_vector(self)
3018 def __div__(self, s):
3019 """__div__(Vector6D self, double s) -> Vector6D"""
3020 return _IMP_algebra.Vector6D___div__(self, s)
3024 """__neg__(Vector6D self) -> Vector6D"""
3025 return _IMP_algebra.Vector6D___neg__(self)
3028 def __sub__(self, o):
3029 """__sub__(Vector6D self, Vector6D o) -> Vector6D"""
3030 return _IMP_algebra.Vector6D___sub__(self, o)
3033 def __add__(self, ret):
3034 """__add__(Vector6D self, Vector6D ret) -> Vector6D"""
3035 return _IMP_algebra.Vector6D___add__(self, ret)
3038 def __mul__(self, *args):
3040 __mul__(Vector6D self, double s) -> Vector6D
3041 __mul__(Vector6D self, Vector6D o) -> double
3043 return _IMP_algebra.Vector6D___mul__(self, *args)
3046 def __init__(self, *args):
3048 __init__(IMP::algebra::VectorD<(6)> self, IMP::Floats const & f) -> Vector6D
3049 __init__(IMP::algebra::VectorD<(6)> self) -> Vector6D
3050 __init__(IMP::algebra::VectorD<(6)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> Vector6D
3052 this = _IMP_algebra.new_Vector6D(*args)
3054 self.this.append(this)
3058 def __getitem__(self, index):
3059 """__getitem__(Vector6D self, unsigned int index) -> double"""
3060 return _IMP_algebra.Vector6D___getitem__(self, index)
3063 def __setitem__(self, index, val):
3064 """__setitem__(Vector6D self, unsigned int index, double val)"""
3065 return _IMP_algebra.Vector6D___setitem__(self, index, val)
3068 def __iadd__(self, *args):
3069 _IMP_algebra.Vector6D___iadd__(self, *args)
3074 def __imul__(self, *args):
3075 _IMP_algebra.Vector6D___imul__(self, *args)
3080 def __idiv__(self, *args):
3081 _IMP_algebra.Vector6D___idiv__(self, *args)
3086 def __isub__(self, *args):
3087 _IMP_algebra.Vector6D___isub__(self, *args)
3093 """__len__(Vector6D self) -> unsigned int"""
3094 return _IMP_algebra.Vector6D___len__(self)
3097 def __rmul__(self, f):
3098 """__rmul__(Vector6D self, double f) -> Vector6D"""
3099 return _IMP_algebra.Vector6D___rmul__(self, f)
3103 """__str__(Vector6D self) -> std::string"""
3104 return _IMP_algebra.Vector6D___str__(self)
3108 """__repr__(Vector6D self) -> std::string"""
3109 return _IMP_algebra.Vector6D___repr__(self)
3112 def __cmp__(self, arg2):
3113 """__cmp__(Vector6D self, Vector6D arg2) -> int"""
3114 return _IMP_algebra.Vector6D___cmp__(self, arg2)
3117 def __eq__(self, arg2):
3118 """__eq__(Vector6D self, Vector6D arg2) -> bool"""
3119 return _IMP_algebra.Vector6D___eq__(self, arg2)
3122 __truediv__ = __div__
3123 __itruediv__ = __idiv__
3125 __swig_destroy__ = _IMP_algebra.delete_Vector6D
3126 __del__ =
lambda self:
None
3127 Vector6D_swigregister = _IMP_algebra.Vector6D_swigregister
3128 Vector6D_swigregister(Vector6D)
3131 """Proxy of C++ IMP::algebra::VectorD<(-1)> class"""
3132 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3135 """get_unit_vector(VectorKD self) -> VectorKD"""
3136 return _IMP_algebra.VectorKD_get_unit_vector(self)
3139 def __div__(self, s):
3140 """__div__(VectorKD self, double s) -> VectorKD"""
3141 return _IMP_algebra.VectorKD___div__(self, s)
3145 """__neg__(VectorKD self) -> VectorKD"""
3146 return _IMP_algebra.VectorKD___neg__(self)
3149 def __sub__(self, o):
3150 """__sub__(VectorKD self, VectorKD o) -> VectorKD"""
3151 return _IMP_algebra.VectorKD___sub__(self, o)
3154 def __add__(self, ret):
3155 """__add__(VectorKD self, VectorKD ret) -> VectorKD"""
3156 return _IMP_algebra.VectorKD___add__(self, ret)
3159 def __mul__(self, *args):
3161 __mul__(VectorKD self, double s) -> VectorKD
3162 __mul__(VectorKD self, VectorKD o) -> double
3164 return _IMP_algebra.VectorKD___mul__(self, *args)
3167 def __init__(self, *args):
3169 __init__(IMP::algebra::VectorD<(-1)> self, IMP::Floats const & f) -> VectorKD
3170 __init__(IMP::algebra::VectorD<(-1)> self) -> VectorKD
3171 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> VectorKD
3172 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4) -> VectorKD
3173 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3) -> VectorKD
3174 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2) -> VectorKD
3175 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1) -> VectorKD
3176 __init__(IMP::algebra::VectorD<(-1)> self, double x0) -> VectorKD
3178 this = _IMP_algebra.new_VectorKD(*args)
3180 self.this.append(this)
3184 def __getitem__(self, index):
3185 """__getitem__(VectorKD self, unsigned int index) -> double"""
3186 return _IMP_algebra.VectorKD___getitem__(self, index)
3189 def __setitem__(self, index, val):
3190 """__setitem__(VectorKD self, unsigned int index, double val)"""
3191 return _IMP_algebra.VectorKD___setitem__(self, index, val)
3194 def __iadd__(self, *args):
3195 _IMP_algebra.VectorKD___iadd__(self, *args)
3200 def __imul__(self, *args):
3201 _IMP_algebra.VectorKD___imul__(self, *args)
3206 def __idiv__(self, *args):
3207 _IMP_algebra.VectorKD___idiv__(self, *args)
3212 def __isub__(self, *args):
3213 _IMP_algebra.VectorKD___isub__(self, *args)
3219 """__len__(VectorKD self) -> unsigned int"""
3220 return _IMP_algebra.VectorKD___len__(self)
3223 def __rmul__(self, f):
3224 """__rmul__(VectorKD self, double f) -> VectorKD"""
3225 return _IMP_algebra.VectorKD___rmul__(self, f)
3229 """__str__(VectorKD self) -> std::string"""
3230 return _IMP_algebra.VectorKD___str__(self)
3234 """__repr__(VectorKD self) -> std::string"""
3235 return _IMP_algebra.VectorKD___repr__(self)
3238 def __cmp__(self, arg2):
3239 """__cmp__(VectorKD self, VectorKD arg2) -> int"""
3240 return _IMP_algebra.VectorKD___cmp__(self, arg2)
3243 def __eq__(self, arg2):
3244 """__eq__(VectorKD self, VectorKD arg2) -> bool"""
3245 return _IMP_algebra.VectorKD___eq__(self, arg2)
3248 __truediv__ = __div__
3249 __itruediv__ = __idiv__
3251 __swig_destroy__ = _IMP_algebra.delete_VectorKD
3252 __del__ =
lambda self:
None
3253 VectorKD_swigregister = _IMP_algebra.VectorKD_swigregister
3254 VectorKD_swigregister(VectorKD)
3257 """Proxy of C++ IMP::algebra::BoundingBoxD<(1)> class"""
3258 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3260 def get_dimension(self):
3261 """get_dimension(BoundingBox1D self) -> unsigned int"""
3262 return _IMP_algebra.BoundingBox1D_get_dimension(self)
3265 def get_corner(self, i):
3266 """get_corner(BoundingBox1D self, unsigned int i) -> Vector1D"""
3267 return _IMP_algebra.BoundingBox1D_get_corner(self, i)
3270 def get_contains(self, *args):
3272 get_contains(BoundingBox1D self, Vector1D o) -> bool
3273 get_contains(BoundingBox1D self, BoundingBox1D bb) -> bool
3275 return _IMP_algebra.BoundingBox1D_get_contains(self, *args)
3278 def show(self, *args):
3280 show(BoundingBox1D self, _ostream out)
3281 show(BoundingBox1D self)
3283 return _IMP_algebra.BoundingBox1D_show(self, *args)
3287 """__str__(BoundingBox1D self) -> std::string"""
3288 return _IMP_algebra.BoundingBox1D___str__(self)
3292 """__repr__(BoundingBox1D self) -> std::string"""
3293 return _IMP_algebra.BoundingBox1D___repr__(self)
3296 def __cmp__(self, arg2):
3297 """__cmp__(BoundingBox1D self, BoundingBox1D arg2) -> int"""
3298 return _IMP_algebra.BoundingBox1D___cmp__(self, arg2)
3301 def __eq__(self, arg2):
3302 """__eq__(BoundingBox1D self, BoundingBox1D arg2) -> bool"""
3303 return _IMP_algebra.BoundingBox1D___eq__(self, arg2)
3306 def __init__(self, *args):
3308 __init__(IMP::algebra::BoundingBoxD<(1)> self, unsigned int d) -> BoundingBox1D
3309 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D lb, Vector1D ub) -> BoundingBox1D
3310 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D v) -> BoundingBox1D
3311 __init__(IMP::algebra::BoundingBoxD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & points) -> BoundingBox1D
3312 __init__(IMP::algebra::BoundingBoxD<(1)> self) -> BoundingBox1D
3314 this = _IMP_algebra.new_BoundingBox1D(*args)
3316 self.this.append(this)
3320 def __getitem__(self, index):
3321 """__getitem__(BoundingBox1D self, unsigned int index) -> Vector1D"""
3322 return _IMP_algebra.BoundingBox1D___getitem__(self, index)
3325 def __iadd__(self, *args):
3326 _IMP_algebra.BoundingBox1D___iadd__(self, *args)
3332 """__len__(BoundingBox1D self) -> unsigned int"""
3333 return _IMP_algebra.BoundingBox1D___len__(self)
3336 def __add__(self, *args):
3338 __add__(BoundingBox1D self, BoundingBox1D o) -> BoundingBox1D
3339 __add__(BoundingBox1D self, Vector1D o) -> BoundingBox1D
3340 __add__(BoundingBox1D self, double o) -> BoundingBox1D
3342 return _IMP_algebra.BoundingBox1D___add__(self, *args)
3344 __swig_destroy__ = _IMP_algebra.delete_BoundingBox1D
3345 __del__ =
lambda self:
None
3346 BoundingBox1D_swigregister = _IMP_algebra.BoundingBox1D_swigregister
3347 BoundingBox1D_swigregister(BoundingBox1D)
3350 """Proxy of C++ IMP::algebra::BoundingBoxD<(2)> class"""
3351 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3353 def get_dimension(self):
3354 """get_dimension(BoundingBox2D self) -> unsigned int"""
3355 return _IMP_algebra.BoundingBox2D_get_dimension(self)
3358 def get_corner(self, i):
3359 """get_corner(BoundingBox2D self, unsigned int i) -> Vector2D"""
3360 return _IMP_algebra.BoundingBox2D_get_corner(self, i)
3363 def get_contains(self, *args):
3365 get_contains(BoundingBox2D self, Vector2D o) -> bool
3366 get_contains(BoundingBox2D self, BoundingBox2D bb) -> bool
3368 return _IMP_algebra.BoundingBox2D_get_contains(self, *args)
3371 def show(self, *args):
3373 show(BoundingBox2D self, _ostream out)
3374 show(BoundingBox2D self)
3376 return _IMP_algebra.BoundingBox2D_show(self, *args)
3380 """__str__(BoundingBox2D self) -> std::string"""
3381 return _IMP_algebra.BoundingBox2D___str__(self)
3385 """__repr__(BoundingBox2D self) -> std::string"""
3386 return _IMP_algebra.BoundingBox2D___repr__(self)
3389 def __cmp__(self, arg2):
3390 """__cmp__(BoundingBox2D self, BoundingBox2D arg2) -> int"""
3391 return _IMP_algebra.BoundingBox2D___cmp__(self, arg2)
3394 def __eq__(self, arg2):
3395 """__eq__(BoundingBox2D self, BoundingBox2D arg2) -> bool"""
3396 return _IMP_algebra.BoundingBox2D___eq__(self, arg2)
3399 def __init__(self, *args):
3401 __init__(IMP::algebra::BoundingBoxD<(2)> self, unsigned int d) -> BoundingBox2D
3402 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D lb, Vector2D ub) -> BoundingBox2D
3403 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D v) -> BoundingBox2D
3404 __init__(IMP::algebra::BoundingBoxD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & points) -> BoundingBox2D
3405 __init__(IMP::algebra::BoundingBoxD<(2)> self) -> BoundingBox2D
3407 this = _IMP_algebra.new_BoundingBox2D(*args)
3409 self.this.append(this)
3413 def __getitem__(self, index):
3414 """__getitem__(BoundingBox2D self, unsigned int index) -> Vector2D"""
3415 return _IMP_algebra.BoundingBox2D___getitem__(self, index)
3418 def __iadd__(self, *args):
3419 _IMP_algebra.BoundingBox2D___iadd__(self, *args)
3425 """__len__(BoundingBox2D self) -> unsigned int"""
3426 return _IMP_algebra.BoundingBox2D___len__(self)
3429 def __add__(self, *args):
3431 __add__(BoundingBox2D self, BoundingBox2D o) -> BoundingBox2D
3432 __add__(BoundingBox2D self, Vector2D o) -> BoundingBox2D
3433 __add__(BoundingBox2D self, double o) -> BoundingBox2D
3435 return _IMP_algebra.BoundingBox2D___add__(self, *args)
3437 __swig_destroy__ = _IMP_algebra.delete_BoundingBox2D
3438 __del__ =
lambda self:
None
3439 BoundingBox2D_swigregister = _IMP_algebra.BoundingBox2D_swigregister
3440 BoundingBox2D_swigregister(BoundingBox2D)
3443 """Proxy of C++ IMP::algebra::BoundingBoxD<(3)> class"""
3444 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3446 def get_dimension(self):
3447 """get_dimension(BoundingBox3D self) -> unsigned int"""
3448 return _IMP_algebra.BoundingBox3D_get_dimension(self)
3451 def get_corner(self, i):
3452 """get_corner(BoundingBox3D self, unsigned int i) -> Vector3D"""
3453 return _IMP_algebra.BoundingBox3D_get_corner(self, i)
3456 def get_contains(self, *args):
3458 get_contains(BoundingBox3D self, Vector3D o) -> bool
3459 get_contains(BoundingBox3D self, BoundingBox3D bb) -> bool
3461 return _IMP_algebra.BoundingBox3D_get_contains(self, *args)
3464 def show(self, *args):
3466 show(BoundingBox3D self, _ostream out)
3467 show(BoundingBox3D self)
3469 return _IMP_algebra.BoundingBox3D_show(self, *args)
3473 """__str__(BoundingBox3D self) -> std::string"""
3474 return _IMP_algebra.BoundingBox3D___str__(self)
3478 """__repr__(BoundingBox3D self) -> std::string"""
3479 return _IMP_algebra.BoundingBox3D___repr__(self)
3482 def __cmp__(self, arg2):
3483 """__cmp__(BoundingBox3D self, BoundingBox3D arg2) -> int"""
3484 return _IMP_algebra.BoundingBox3D___cmp__(self, arg2)
3487 def __eq__(self, arg2):
3488 """__eq__(BoundingBox3D self, BoundingBox3D arg2) -> bool"""
3489 return _IMP_algebra.BoundingBox3D___eq__(self, arg2)
3492 def __init__(self, *args):
3494 __init__(IMP::algebra::BoundingBoxD<(3)> self, unsigned int d) -> BoundingBox3D
3495 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D lb, Vector3D ub) -> BoundingBox3D
3496 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D v) -> BoundingBox3D
3497 __init__(IMP::algebra::BoundingBoxD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & points) -> BoundingBox3D
3498 __init__(IMP::algebra::BoundingBoxD<(3)> self) -> BoundingBox3D
3500 this = _IMP_algebra.new_BoundingBox3D(*args)
3502 self.this.append(this)
3506 def __getitem__(self, index):
3507 """__getitem__(BoundingBox3D self, unsigned int index) -> Vector3D"""
3508 return _IMP_algebra.BoundingBox3D___getitem__(self, index)
3511 def __iadd__(self, *args):
3512 _IMP_algebra.BoundingBox3D___iadd__(self, *args)
3518 """__len__(BoundingBox3D self) -> unsigned int"""
3519 return _IMP_algebra.BoundingBox3D___len__(self)
3522 def __add__(self, *args):
3524 __add__(BoundingBox3D self, BoundingBox3D o) -> BoundingBox3D
3525 __add__(BoundingBox3D self, Vector3D o) -> BoundingBox3D
3526 __add__(BoundingBox3D self, double o) -> BoundingBox3D
3528 return _IMP_algebra.BoundingBox3D___add__(self, *args)
3530 __swig_destroy__ = _IMP_algebra.delete_BoundingBox3D
3531 __del__ =
lambda self:
None
3532 BoundingBox3D_swigregister = _IMP_algebra.BoundingBox3D_swigregister
3533 BoundingBox3D_swigregister(BoundingBox3D)
3536 """Proxy of C++ IMP::algebra::BoundingBoxD<(4)> class"""
3537 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3539 def get_dimension(self):
3540 """get_dimension(BoundingBox4D self) -> unsigned int"""
3541 return _IMP_algebra.BoundingBox4D_get_dimension(self)
3544 def get_corner(self, i):
3545 """get_corner(BoundingBox4D self, unsigned int i) -> Vector4D"""
3546 return _IMP_algebra.BoundingBox4D_get_corner(self, i)
3549 def get_contains(self, *args):
3551 get_contains(BoundingBox4D self, Vector4D o) -> bool
3552 get_contains(BoundingBox4D self, BoundingBox4D bb) -> bool
3554 return _IMP_algebra.BoundingBox4D_get_contains(self, *args)
3557 def show(self, *args):
3559 show(BoundingBox4D self, _ostream out)
3560 show(BoundingBox4D self)
3562 return _IMP_algebra.BoundingBox4D_show(self, *args)
3566 """__str__(BoundingBox4D self) -> std::string"""
3567 return _IMP_algebra.BoundingBox4D___str__(self)
3571 """__repr__(BoundingBox4D self) -> std::string"""
3572 return _IMP_algebra.BoundingBox4D___repr__(self)
3575 def __cmp__(self, arg2):
3576 """__cmp__(BoundingBox4D self, BoundingBox4D arg2) -> int"""
3577 return _IMP_algebra.BoundingBox4D___cmp__(self, arg2)
3580 def __eq__(self, arg2):
3581 """__eq__(BoundingBox4D self, BoundingBox4D arg2) -> bool"""
3582 return _IMP_algebra.BoundingBox4D___eq__(self, arg2)
3585 def __init__(self, *args):
3587 __init__(IMP::algebra::BoundingBoxD<(4)> self, unsigned int d) -> BoundingBox4D
3588 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D lb, Vector4D ub) -> BoundingBox4D
3589 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D v) -> BoundingBox4D
3590 __init__(IMP::algebra::BoundingBoxD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & points) -> BoundingBox4D
3591 __init__(IMP::algebra::BoundingBoxD<(4)> self) -> BoundingBox4D
3593 this = _IMP_algebra.new_BoundingBox4D(*args)
3595 self.this.append(this)
3599 def __getitem__(self, index):
3600 """__getitem__(BoundingBox4D self, unsigned int index) -> Vector4D"""
3601 return _IMP_algebra.BoundingBox4D___getitem__(self, index)
3604 def __iadd__(self, *args):
3605 _IMP_algebra.BoundingBox4D___iadd__(self, *args)
3611 """__len__(BoundingBox4D self) -> unsigned int"""
3612 return _IMP_algebra.BoundingBox4D___len__(self)
3615 def __add__(self, *args):
3617 __add__(BoundingBox4D self, BoundingBox4D o) -> BoundingBox4D
3618 __add__(BoundingBox4D self, Vector4D o) -> BoundingBox4D
3619 __add__(BoundingBox4D self, double o) -> BoundingBox4D
3621 return _IMP_algebra.BoundingBox4D___add__(self, *args)
3623 __swig_destroy__ = _IMP_algebra.delete_BoundingBox4D
3624 __del__ =
lambda self:
None
3625 BoundingBox4D_swigregister = _IMP_algebra.BoundingBox4D_swigregister
3626 BoundingBox4D_swigregister(BoundingBox4D)
3629 """Proxy of C++ IMP::algebra::BoundingBoxD<(5)> class"""
3630 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3632 def get_dimension(self):
3633 """get_dimension(BoundingBox5D self) -> unsigned int"""
3634 return _IMP_algebra.BoundingBox5D_get_dimension(self)
3637 def get_corner(self, i):
3638 """get_corner(BoundingBox5D self, unsigned int i) -> Vector5D"""
3639 return _IMP_algebra.BoundingBox5D_get_corner(self, i)
3642 def get_contains(self, *args):
3644 get_contains(BoundingBox5D self, Vector5D o) -> bool
3645 get_contains(BoundingBox5D self, BoundingBox5D bb) -> bool
3647 return _IMP_algebra.BoundingBox5D_get_contains(self, *args)
3650 def show(self, *args):
3652 show(BoundingBox5D self, _ostream out)
3653 show(BoundingBox5D self)
3655 return _IMP_algebra.BoundingBox5D_show(self, *args)
3659 """__str__(BoundingBox5D self) -> std::string"""
3660 return _IMP_algebra.BoundingBox5D___str__(self)
3664 """__repr__(BoundingBox5D self) -> std::string"""
3665 return _IMP_algebra.BoundingBox5D___repr__(self)
3668 def __cmp__(self, arg2):
3669 """__cmp__(BoundingBox5D self, BoundingBox5D arg2) -> int"""
3670 return _IMP_algebra.BoundingBox5D___cmp__(self, arg2)
3673 def __eq__(self, arg2):
3674 """__eq__(BoundingBox5D self, BoundingBox5D arg2) -> bool"""
3675 return _IMP_algebra.BoundingBox5D___eq__(self, arg2)
3678 def __init__(self, *args):
3680 __init__(IMP::algebra::BoundingBoxD<(5)> self, unsigned int d) -> BoundingBox5D
3681 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D lb, Vector5D ub) -> BoundingBox5D
3682 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D v) -> BoundingBox5D
3683 __init__(IMP::algebra::BoundingBoxD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & points) -> BoundingBox5D
3684 __init__(IMP::algebra::BoundingBoxD<(5)> self) -> BoundingBox5D
3686 this = _IMP_algebra.new_BoundingBox5D(*args)
3688 self.this.append(this)
3692 def __getitem__(self, index):
3693 """__getitem__(BoundingBox5D self, unsigned int index) -> Vector5D"""
3694 return _IMP_algebra.BoundingBox5D___getitem__(self, index)
3697 def __iadd__(self, *args):
3698 _IMP_algebra.BoundingBox5D___iadd__(self, *args)
3704 """__len__(BoundingBox5D self) -> unsigned int"""
3705 return _IMP_algebra.BoundingBox5D___len__(self)
3708 def __add__(self, *args):
3710 __add__(BoundingBox5D self, BoundingBox5D o) -> BoundingBox5D
3711 __add__(BoundingBox5D self, Vector5D o) -> BoundingBox5D
3712 __add__(BoundingBox5D self, double o) -> BoundingBox5D
3714 return _IMP_algebra.BoundingBox5D___add__(self, *args)
3716 __swig_destroy__ = _IMP_algebra.delete_BoundingBox5D
3717 __del__ =
lambda self:
None
3718 BoundingBox5D_swigregister = _IMP_algebra.BoundingBox5D_swigregister
3719 BoundingBox5D_swigregister(BoundingBox5D)
3722 """Proxy of C++ IMP::algebra::BoundingBoxD<(6)> class"""
3723 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3725 def get_dimension(self):
3726 """get_dimension(BoundingBox6D self) -> unsigned int"""
3727 return _IMP_algebra.BoundingBox6D_get_dimension(self)
3730 def get_corner(self, i):
3731 """get_corner(BoundingBox6D self, unsigned int i) -> Vector6D"""
3732 return _IMP_algebra.BoundingBox6D_get_corner(self, i)
3735 def get_contains(self, *args):
3737 get_contains(BoundingBox6D self, Vector6D o) -> bool
3738 get_contains(BoundingBox6D self, BoundingBox6D bb) -> bool
3740 return _IMP_algebra.BoundingBox6D_get_contains(self, *args)
3743 def show(self, *args):
3745 show(BoundingBox6D self, _ostream out)
3746 show(BoundingBox6D self)
3748 return _IMP_algebra.BoundingBox6D_show(self, *args)
3752 """__str__(BoundingBox6D self) -> std::string"""
3753 return _IMP_algebra.BoundingBox6D___str__(self)
3757 """__repr__(BoundingBox6D self) -> std::string"""
3758 return _IMP_algebra.BoundingBox6D___repr__(self)
3761 def __cmp__(self, arg2):
3762 """__cmp__(BoundingBox6D self, BoundingBox6D arg2) -> int"""
3763 return _IMP_algebra.BoundingBox6D___cmp__(self, arg2)
3766 def __eq__(self, arg2):
3767 """__eq__(BoundingBox6D self, BoundingBox6D arg2) -> bool"""
3768 return _IMP_algebra.BoundingBox6D___eq__(self, arg2)
3771 def __init__(self, *args):
3773 __init__(IMP::algebra::BoundingBoxD<(6)> self, unsigned int d) -> BoundingBox6D
3774 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D lb, Vector6D ub) -> BoundingBox6D
3775 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D v) -> BoundingBox6D
3776 __init__(IMP::algebra::BoundingBoxD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & points) -> BoundingBox6D
3777 __init__(IMP::algebra::BoundingBoxD<(6)> self) -> BoundingBox6D
3779 this = _IMP_algebra.new_BoundingBox6D(*args)
3781 self.this.append(this)
3785 def __getitem__(self, index):
3786 """__getitem__(BoundingBox6D self, unsigned int index) -> Vector6D"""
3787 return _IMP_algebra.BoundingBox6D___getitem__(self, index)
3790 def __iadd__(self, *args):
3791 _IMP_algebra.BoundingBox6D___iadd__(self, *args)
3797 """__len__(BoundingBox6D self) -> unsigned int"""
3798 return _IMP_algebra.BoundingBox6D___len__(self)
3801 def __add__(self, *args):
3803 __add__(BoundingBox6D self, BoundingBox6D o) -> BoundingBox6D
3804 __add__(BoundingBox6D self, Vector6D o) -> BoundingBox6D
3805 __add__(BoundingBox6D self, double o) -> BoundingBox6D
3807 return _IMP_algebra.BoundingBox6D___add__(self, *args)
3809 __swig_destroy__ = _IMP_algebra.delete_BoundingBox6D
3810 __del__ =
lambda self:
None
3811 BoundingBox6D_swigregister = _IMP_algebra.BoundingBox6D_swigregister
3812 BoundingBox6D_swigregister(BoundingBox6D)
3815 """Proxy of C++ IMP::algebra::BoundingBoxD<(-1)> class"""
3816 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3818 def get_dimension(self):
3819 """get_dimension(BoundingBoxKD self) -> unsigned int"""
3820 return _IMP_algebra.BoundingBoxKD_get_dimension(self)
3823 def get_corner(self, i):
3824 """get_corner(BoundingBoxKD self, unsigned int i) -> VectorKD"""
3825 return _IMP_algebra.BoundingBoxKD_get_corner(self, i)
3828 def get_contains(self, *args):
3830 get_contains(BoundingBoxKD self, VectorKD o) -> bool
3831 get_contains(BoundingBoxKD self, BoundingBoxKD bb) -> bool
3833 return _IMP_algebra.BoundingBoxKD_get_contains(self, *args)
3836 def show(self, *args):
3838 show(BoundingBoxKD self, _ostream out)
3839 show(BoundingBoxKD self)
3841 return _IMP_algebra.BoundingBoxKD_show(self, *args)
3845 """__str__(BoundingBoxKD self) -> std::string"""
3846 return _IMP_algebra.BoundingBoxKD___str__(self)
3850 """__repr__(BoundingBoxKD self) -> std::string"""
3851 return _IMP_algebra.BoundingBoxKD___repr__(self)
3854 def __cmp__(self, arg2):
3855 """__cmp__(BoundingBoxKD self, BoundingBoxKD arg2) -> int"""
3856 return _IMP_algebra.BoundingBoxKD___cmp__(self, arg2)
3859 def __eq__(self, arg2):
3860 """__eq__(BoundingBoxKD self, BoundingBoxKD arg2) -> bool"""
3861 return _IMP_algebra.BoundingBoxKD___eq__(self, arg2)
3864 def __init__(self, *args):
3866 __init__(IMP::algebra::BoundingBoxD<(-1)> self, unsigned int d) -> BoundingBoxKD
3867 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD lb, VectorKD ub) -> BoundingBoxKD
3868 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD v) -> BoundingBoxKD
3869 __init__(IMP::algebra::BoundingBoxD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & points) -> BoundingBoxKD
3870 __init__(IMP::algebra::BoundingBoxD<(-1)> self) -> BoundingBoxKD
3872 this = _IMP_algebra.new_BoundingBoxKD(*args)
3874 self.this.append(this)
3878 def __getitem__(self, index):
3879 """__getitem__(BoundingBoxKD self, unsigned int index) -> VectorKD"""
3880 return _IMP_algebra.BoundingBoxKD___getitem__(self, index)
3883 def __iadd__(self, *args):
3884 _IMP_algebra.BoundingBoxKD___iadd__(self, *args)
3890 """__len__(BoundingBoxKD self) -> unsigned int"""
3891 return _IMP_algebra.BoundingBoxKD___len__(self)
3894 def __add__(self, *args):
3896 __add__(BoundingBoxKD self, BoundingBoxKD o) -> BoundingBoxKD
3897 __add__(BoundingBoxKD self, VectorKD o) -> BoundingBoxKD
3898 __add__(BoundingBoxKD self, double o) -> BoundingBoxKD
3900 return _IMP_algebra.BoundingBoxKD___add__(self, *args)
3902 __swig_destroy__ = _IMP_algebra.delete_BoundingBoxKD
3903 __del__ =
lambda self:
None
3904 BoundingBoxKD_swigregister = _IMP_algebra.BoundingBoxKD_swigregister
3905 BoundingBoxKD_swigregister(BoundingBoxKD)
3907 class Sphere1D(_GeometricPrimitive1D):
3908 """Proxy of C++ IMP::algebra::SphereD<(1)> class"""
3909 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::SphereD<(1)> self) -> Sphere1D
3914 __init__(IMP::algebra::SphereD<(1)> self, Vector1D center, double radius) -> Sphere1D
3916 this = _IMP_algebra.new_Sphere1D(*args)
3918 self.this.append(this)
3922 def get_radius(self):
3923 """get_radius(Sphere1D self) -> double"""
3924 return _IMP_algebra.Sphere1D_get_radius(self)
3927 def get_center(self):
3928 """get_center(Sphere1D self) -> Vector1D"""
3929 return _IMP_algebra.Sphere1D_get_center(self)
3932 def get_contains(self, *args):
3934 get_contains(Sphere1D self, Sphere1D o) -> bool
3935 get_contains(Sphere1D self, Vector1D p) -> bool
3937 return _IMP_algebra.Sphere1D_get_contains(self, *args)
3940 def show(self, *args):
3942 show(Sphere1D self, _ostream out)
3945 return _IMP_algebra.Sphere1D_show(self, *args)
3948 def get_dimension(self):
3949 """get_dimension(Sphere1D self) -> unsigned int"""
3950 return _IMP_algebra.Sphere1D_get_dimension(self)
3954 """__str__(Sphere1D self) -> std::string"""
3955 return _IMP_algebra.Sphere1D___str__(self)
3959 """__repr__(Sphere1D self) -> std::string"""
3960 return _IMP_algebra.Sphere1D___repr__(self)
3963 def __cmp__(self, arg2):
3964 """__cmp__(Sphere1D self, Sphere1D arg2) -> int"""
3965 return _IMP_algebra.Sphere1D___cmp__(self, arg2)
3968 def __eq__(self, arg2):
3969 """__eq__(Sphere1D self, Sphere1D arg2) -> bool"""
3970 return _IMP_algebra.Sphere1D___eq__(self, arg2)
3972 __swig_destroy__ = _IMP_algebra.delete_Sphere1D
3973 __del__ =
lambda self:
None
3974 Sphere1D_swigregister = _IMP_algebra.Sphere1D_swigregister
3975 Sphere1D_swigregister(Sphere1D)
3977 class Sphere2D(_GeometricPrimitive2D):
3978 """Proxy of C++ IMP::algebra::SphereD<(2)> class"""
3979 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3981 def __init__(self, *args):
3983 __init__(IMP::algebra::SphereD<(2)> self) -> Sphere2D
3984 __init__(IMP::algebra::SphereD<(2)> self, Vector2D center, double radius) -> Sphere2D
3986 this = _IMP_algebra.new_Sphere2D(*args)
3988 self.this.append(this)
3992 def get_radius(self):
3993 """get_radius(Sphere2D self) -> double"""
3994 return _IMP_algebra.Sphere2D_get_radius(self)
3997 def get_center(self):
3998 """get_center(Sphere2D self) -> Vector2D"""
3999 return _IMP_algebra.Sphere2D_get_center(self)
4002 def get_contains(self, *args):
4004 get_contains(Sphere2D self, Sphere2D o) -> bool
4005 get_contains(Sphere2D self, Vector2D p) -> bool
4007 return _IMP_algebra.Sphere2D_get_contains(self, *args)
4010 def show(self, *args):
4012 show(Sphere2D self, _ostream out)
4015 return _IMP_algebra.Sphere2D_show(self, *args)
4018 def get_dimension(self):
4019 """get_dimension(Sphere2D self) -> unsigned int"""
4020 return _IMP_algebra.Sphere2D_get_dimension(self)
4024 """__str__(Sphere2D self) -> std::string"""
4025 return _IMP_algebra.Sphere2D___str__(self)
4029 """__repr__(Sphere2D self) -> std::string"""
4030 return _IMP_algebra.Sphere2D___repr__(self)
4033 def __cmp__(self, arg2):
4034 """__cmp__(Sphere2D self, Sphere2D arg2) -> int"""
4035 return _IMP_algebra.Sphere2D___cmp__(self, arg2)
4038 def __eq__(self, arg2):
4039 """__eq__(Sphere2D self, Sphere2D arg2) -> bool"""
4040 return _IMP_algebra.Sphere2D___eq__(self, arg2)
4042 __swig_destroy__ = _IMP_algebra.delete_Sphere2D
4043 __del__ =
lambda self:
None
4044 Sphere2D_swigregister = _IMP_algebra.Sphere2D_swigregister
4045 Sphere2D_swigregister(Sphere2D)
4047 class Sphere3D(_GeometricPrimitive3D):
4048 """Proxy of C++ IMP::algebra::SphereD<(3)> class"""
4049 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4051 def __init__(self, *args):
4053 __init__(IMP::algebra::SphereD<(3)> self) -> Sphere3D
4054 __init__(IMP::algebra::SphereD<(3)> self, Vector3D center, double radius) -> Sphere3D
4056 this = _IMP_algebra.new_Sphere3D(*args)
4058 self.this.append(this)
4062 def get_radius(self):
4063 """get_radius(Sphere3D self) -> double"""
4064 return _IMP_algebra.Sphere3D_get_radius(self)
4067 def get_center(self):
4068 """get_center(Sphere3D self) -> Vector3D"""
4069 return _IMP_algebra.Sphere3D_get_center(self)
4072 def get_contains(self, *args):
4074 get_contains(Sphere3D self, Sphere3D o) -> bool
4075 get_contains(Sphere3D self, Vector3D p) -> bool
4077 return _IMP_algebra.Sphere3D_get_contains(self, *args)
4080 def show(self, *args):
4082 show(Sphere3D self, _ostream out)
4085 return _IMP_algebra.Sphere3D_show(self, *args)
4088 def get_dimension(self):
4089 """get_dimension(Sphere3D self) -> unsigned int"""
4090 return _IMP_algebra.Sphere3D_get_dimension(self)
4094 """__str__(Sphere3D self) -> std::string"""
4095 return _IMP_algebra.Sphere3D___str__(self)
4099 """__repr__(Sphere3D self) -> std::string"""
4100 return _IMP_algebra.Sphere3D___repr__(self)
4103 def __cmp__(self, arg2):
4104 """__cmp__(Sphere3D self, Sphere3D arg2) -> int"""
4105 return _IMP_algebra.Sphere3D___cmp__(self, arg2)
4108 def __eq__(self, arg2):
4109 """__eq__(Sphere3D self, Sphere3D arg2) -> bool"""
4110 return _IMP_algebra.Sphere3D___eq__(self, arg2)
4112 __swig_destroy__ = _IMP_algebra.delete_Sphere3D
4113 __del__ =
lambda self:
None
4114 Sphere3D_swigregister = _IMP_algebra.Sphere3D_swigregister
4115 Sphere3D_swigregister(Sphere3D)
4117 class Sphere4D(_GeometricPrimitive4D):
4118 """Proxy of C++ IMP::algebra::SphereD<(4)> class"""
4119 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4121 def __init__(self, *args):
4123 __init__(IMP::algebra::SphereD<(4)> self) -> Sphere4D
4124 __init__(IMP::algebra::SphereD<(4)> self, Vector4D center, double radius) -> Sphere4D
4126 this = _IMP_algebra.new_Sphere4D(*args)
4128 self.this.append(this)
4132 def get_radius(self):
4133 """get_radius(Sphere4D self) -> double"""
4134 return _IMP_algebra.Sphere4D_get_radius(self)
4137 def get_center(self):
4138 """get_center(Sphere4D self) -> Vector4D"""
4139 return _IMP_algebra.Sphere4D_get_center(self)
4142 def get_contains(self, *args):
4144 get_contains(Sphere4D self, Sphere4D o) -> bool
4145 get_contains(Sphere4D self, Vector4D p) -> bool
4147 return _IMP_algebra.Sphere4D_get_contains(self, *args)
4150 def show(self, *args):
4152 show(Sphere4D self, _ostream out)
4155 return _IMP_algebra.Sphere4D_show(self, *args)
4158 def get_dimension(self):
4159 """get_dimension(Sphere4D self) -> unsigned int"""
4160 return _IMP_algebra.Sphere4D_get_dimension(self)
4164 """__str__(Sphere4D self) -> std::string"""
4165 return _IMP_algebra.Sphere4D___str__(self)
4169 """__repr__(Sphere4D self) -> std::string"""
4170 return _IMP_algebra.Sphere4D___repr__(self)
4173 def __cmp__(self, arg2):
4174 """__cmp__(Sphere4D self, Sphere4D arg2) -> int"""
4175 return _IMP_algebra.Sphere4D___cmp__(self, arg2)
4178 def __eq__(self, arg2):
4179 """__eq__(Sphere4D self, Sphere4D arg2) -> bool"""
4180 return _IMP_algebra.Sphere4D___eq__(self, arg2)
4182 __swig_destroy__ = _IMP_algebra.delete_Sphere4D
4183 __del__ =
lambda self:
None
4184 Sphere4D_swigregister = _IMP_algebra.Sphere4D_swigregister
4185 Sphere4D_swigregister(Sphere4D)
4187 class Sphere5D(_GeometricPrimitive5D):
4188 """Proxy of C++ IMP::algebra::SphereD<(5)> class"""
4189 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4191 def __init__(self, *args):
4193 __init__(IMP::algebra::SphereD<(5)> self) -> Sphere5D
4194 __init__(IMP::algebra::SphereD<(5)> self, Vector5D center, double radius) -> Sphere5D
4196 this = _IMP_algebra.new_Sphere5D(*args)
4198 self.this.append(this)
4202 def get_radius(self):
4203 """get_radius(Sphere5D self) -> double"""
4204 return _IMP_algebra.Sphere5D_get_radius(self)
4207 def get_center(self):
4208 """get_center(Sphere5D self) -> Vector5D"""
4209 return _IMP_algebra.Sphere5D_get_center(self)
4212 def get_contains(self, *args):
4214 get_contains(Sphere5D self, Sphere5D o) -> bool
4215 get_contains(Sphere5D self, Vector5D p) -> bool
4217 return _IMP_algebra.Sphere5D_get_contains(self, *args)
4220 def show(self, *args):
4222 show(Sphere5D self, _ostream out)
4225 return _IMP_algebra.Sphere5D_show(self, *args)
4228 def get_dimension(self):
4229 """get_dimension(Sphere5D self) -> unsigned int"""
4230 return _IMP_algebra.Sphere5D_get_dimension(self)
4234 """__str__(Sphere5D self) -> std::string"""
4235 return _IMP_algebra.Sphere5D___str__(self)
4239 """__repr__(Sphere5D self) -> std::string"""
4240 return _IMP_algebra.Sphere5D___repr__(self)
4243 def __cmp__(self, arg2):
4244 """__cmp__(Sphere5D self, Sphere5D arg2) -> int"""
4245 return _IMP_algebra.Sphere5D___cmp__(self, arg2)
4248 def __eq__(self, arg2):
4249 """__eq__(Sphere5D self, Sphere5D arg2) -> bool"""
4250 return _IMP_algebra.Sphere5D___eq__(self, arg2)
4252 __swig_destroy__ = _IMP_algebra.delete_Sphere5D
4253 __del__ =
lambda self:
None
4254 Sphere5D_swigregister = _IMP_algebra.Sphere5D_swigregister
4255 Sphere5D_swigregister(Sphere5D)
4257 class Sphere6D(_GeometricPrimitive6D):
4258 """Proxy of C++ IMP::algebra::SphereD<(6)> class"""
4259 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4261 def __init__(self, *args):
4263 __init__(IMP::algebra::SphereD<(6)> self) -> Sphere6D
4264 __init__(IMP::algebra::SphereD<(6)> self, Vector6D center, double radius) -> Sphere6D
4266 this = _IMP_algebra.new_Sphere6D(*args)
4268 self.this.append(this)
4272 def get_radius(self):
4273 """get_radius(Sphere6D self) -> double"""
4274 return _IMP_algebra.Sphere6D_get_radius(self)
4277 def get_center(self):
4278 """get_center(Sphere6D self) -> Vector6D"""
4279 return _IMP_algebra.Sphere6D_get_center(self)
4282 def get_contains(self, *args):
4284 get_contains(Sphere6D self, Sphere6D o) -> bool
4285 get_contains(Sphere6D self, Vector6D p) -> bool
4287 return _IMP_algebra.Sphere6D_get_contains(self, *args)
4290 def show(self, *args):
4292 show(Sphere6D self, _ostream out)
4295 return _IMP_algebra.Sphere6D_show(self, *args)
4298 def get_dimension(self):
4299 """get_dimension(Sphere6D self) -> unsigned int"""
4300 return _IMP_algebra.Sphere6D_get_dimension(self)
4304 """__str__(Sphere6D self) -> std::string"""
4305 return _IMP_algebra.Sphere6D___str__(self)
4309 """__repr__(Sphere6D self) -> std::string"""
4310 return _IMP_algebra.Sphere6D___repr__(self)
4313 def __cmp__(self, arg2):
4314 """__cmp__(Sphere6D self, Sphere6D arg2) -> int"""
4315 return _IMP_algebra.Sphere6D___cmp__(self, arg2)
4318 def __eq__(self, arg2):
4319 """__eq__(Sphere6D self, Sphere6D arg2) -> bool"""
4320 return _IMP_algebra.Sphere6D___eq__(self, arg2)
4322 __swig_destroy__ = _IMP_algebra.delete_Sphere6D
4323 __del__ =
lambda self:
None
4324 Sphere6D_swigregister = _IMP_algebra.Sphere6D_swigregister
4325 Sphere6D_swigregister(Sphere6D)
4327 class SphereKD(_GeometricPrimitiveKD):
4328 """Proxy of C++ IMP::algebra::SphereD<(-1)> class"""
4329 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4331 def __init__(self, *args):
4333 __init__(IMP::algebra::SphereD<(-1)> self) -> SphereKD
4334 __init__(IMP::algebra::SphereD<(-1)> self, VectorKD center, double radius) -> SphereKD
4336 this = _IMP_algebra.new_SphereKD(*args)
4338 self.this.append(this)
4342 def get_radius(self):
4343 """get_radius(SphereKD self) -> double"""
4344 return _IMP_algebra.SphereKD_get_radius(self)
4347 def get_center(self):
4348 """get_center(SphereKD self) -> VectorKD"""
4349 return _IMP_algebra.SphereKD_get_center(self)
4352 def get_contains(self, *args):
4354 get_contains(SphereKD self, SphereKD o) -> bool
4355 get_contains(SphereKD self, VectorKD p) -> bool
4357 return _IMP_algebra.SphereKD_get_contains(self, *args)
4360 def show(self, *args):
4362 show(SphereKD self, _ostream out)
4365 return _IMP_algebra.SphereKD_show(self, *args)
4368 def get_dimension(self):
4369 """get_dimension(SphereKD self) -> unsigned int"""
4370 return _IMP_algebra.SphereKD_get_dimension(self)
4374 """__str__(SphereKD self) -> std::string"""
4375 return _IMP_algebra.SphereKD___str__(self)
4379 """__repr__(SphereKD self) -> std::string"""
4380 return _IMP_algebra.SphereKD___repr__(self)
4383 def __cmp__(self, arg2):
4384 """__cmp__(SphereKD self, SphereKD arg2) -> int"""
4385 return _IMP_algebra.SphereKD___cmp__(self, arg2)
4388 def __eq__(self, arg2):
4389 """__eq__(SphereKD self, SphereKD arg2) -> bool"""
4390 return _IMP_algebra.SphereKD___eq__(self, arg2)
4392 __swig_destroy__ = _IMP_algebra.delete_SphereKD
4393 __del__ =
lambda self:
None
4394 SphereKD_swigregister = _IMP_algebra.SphereKD_swigregister
4395 SphereKD_swigregister(SphereKD)
4397 class ReferenceFrame3D(object):
4398 """Proxy of C++ IMP::algebra::ReferenceFrame3D class"""
4399 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4401 def __init__(self, *args):
4403 __init__(IMP::algebra::ReferenceFrame3D self) -> ReferenceFrame3D
4404 __init__(IMP::algebra::ReferenceFrame3D self, Transformation3D tr) -> ReferenceFrame3D
4406 this = _IMP_algebra.new_ReferenceFrame3D(*args)
4408 self.this.append(this)
4411 __swig_destroy__ = _IMP_algebra.delete_ReferenceFrame3D
4412 __del__ =
lambda self:
None
4414 def get_transformation_to(self):
4415 """get_transformation_to(ReferenceFrame3D self) -> Transformation3D"""
4416 return _IMP_algebra.ReferenceFrame3D_get_transformation_to(self)
4419 def get_transformation_from(self):
4420 """get_transformation_from(ReferenceFrame3D self) -> Transformation3D"""
4421 return _IMP_algebra.ReferenceFrame3D_get_transformation_from(self)
4424 def get_global_coordinates(self, v):
4425 """get_global_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
4426 return _IMP_algebra.ReferenceFrame3D_get_global_coordinates(self, v)
4429 def get_local_coordinates(self, v):
4430 """get_local_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
4431 return _IMP_algebra.ReferenceFrame3D_get_local_coordinates(self, v)
4434 def get_global_reference_frame(self, v):
4435 """get_global_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
4436 return _IMP_algebra.ReferenceFrame3D_get_global_reference_frame(self, v)
4439 def get_local_reference_frame(self, v):
4440 """get_local_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
4441 return _IMP_algebra.ReferenceFrame3D_get_local_reference_frame(self, v)
4444 def show(self, *args):
4446 show(ReferenceFrame3D self, _ostream out)
4447 show(ReferenceFrame3D self)
4449 return _IMP_algebra.ReferenceFrame3D_show(self, *args)
4453 """__str__(ReferenceFrame3D self) -> std::string"""
4454 return _IMP_algebra.ReferenceFrame3D___str__(self)
4458 """__repr__(ReferenceFrame3D self) -> std::string"""
4459 return _IMP_algebra.ReferenceFrame3D___repr__(self)
4461 ReferenceFrame3D_swigregister = _IMP_algebra.ReferenceFrame3D_swigregister
4462 ReferenceFrame3D_swigregister(ReferenceFrame3D)
4465 def get_transformed(*args):
4467 get_transformed(BoundingBox3D bb, Transformation3D tr) -> BoundingBox3D
4468 get_transformed(ReferenceFrame3D rf, Transformation3D tr) -> ReferenceFrame3D
4470 return _IMP_algebra.get_transformed(*args)
4472 def get_transformation_from_first_to_second(a, b):
4473 """get_transformation_from_first_to_second(ReferenceFrame3D a, ReferenceFrame3D b) -> Transformation3D"""
4474 return _IMP_algebra.get_transformation_from_first_to_second(a, b)
4475 class SphericalVector3D(_GeometricPrimitive3D):
4476 """Proxy of C++ IMP::algebra::SphericalVector3D class"""
4477 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4479 def __init__(self, *args):
4481 __init__(IMP::algebra::SphericalVector3D self) -> SphericalVector3D
4482 __init__(IMP::algebra::SphericalVector3D self, Vector3D v) -> SphericalVector3D
4483 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi, bool apply_check=True) -> SphericalVector3D
4484 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi) -> SphericalVector3D
4486 this = _IMP_algebra.new_SphericalVector3D(*args)
4488 self.this.append(this)
4492 def get_cartesian_coordinates(self):
4493 """get_cartesian_coordinates(SphericalVector3D self) -> Vector3D"""
4494 return _IMP_algebra.SphericalVector3D_get_cartesian_coordinates(self)
4497 def show(self, *args):
4499 show(SphericalVector3D self, _ostream out)
4500 show(SphericalVector3D self)
4502 return _IMP_algebra.SphericalVector3D_show(self, *args)
4506 """__str__(SphericalVector3D self) -> std::string"""
4507 return _IMP_algebra.SphericalVector3D___str__(self)
4511 """__repr__(SphericalVector3D self) -> std::string"""
4512 return _IMP_algebra.SphericalVector3D___repr__(self)
4515 def __getitem__(self, index):
4516 """__getitem__(SphericalVector3D self, unsigned int index) -> double"""
4517 return _IMP_algebra.SphericalVector3D___getitem__(self, index)
4520 def __setitem__(self, index, val):
4521 """__setitem__(SphericalVector3D self, unsigned int index, double val)"""
4522 return _IMP_algebra.SphericalVector3D___setitem__(self, index, val)
4524 __swig_destroy__ = _IMP_algebra.delete_SphericalVector3D
4525 __del__ =
lambda self:
None
4526 SphericalVector3D_swigregister = _IMP_algebra.SphericalVector3D_swigregister
4527 SphericalVector3D_swigregister(SphericalVector3D)
4531 """get_alignments_from_first_to_second(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2) -> IMP::algebra::Transformation3Ds"""
4532 return _IMP_algebra.get_alignments_from_first_to_second(pca1, pca2)
4533 class Segment3D(_GeometricPrimitive3D):
4534 """Proxy of C++ IMP::algebra::Segment3D class"""
4535 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4537 def __init__(self, *args):
4539 __init__(IMP::algebra::Segment3D self) -> Segment3D
4540 __init__(IMP::algebra::Segment3D self, Vector3D start, Vector3D end) -> Segment3D
4542 this = _IMP_algebra.new_Segment3D(*args)
4544 self.this.append(this)
4548 def get_point(self, i):
4551 return _IMP_algebra.Segment3D_get_point(self, i)
4555 def get_middle_point(self):
4556 """get_middle_point(Segment3D self) -> Vector3D"""
4557 return _IMP_algebra.Segment3D_get_middle_point(self)
4560 def get_direction(self):
4561 """get_direction(Segment3D self) -> Vector3D"""
4562 return _IMP_algebra.Segment3D_get_direction(self)
4565 def get_length(self):
4566 """get_length(Segment3D self) -> double"""
4567 return _IMP_algebra.Segment3D_get_length(self)
4570 def show(self, *args):
4572 show(Segment3D self, _ostream out)
4573 show(Segment3D self)
4575 return _IMP_algebra.Segment3D_show(self, *args)
4579 """__str__(Segment3D self) -> std::string"""
4580 return _IMP_algebra.Segment3D___str__(self)
4584 """__repr__(Segment3D self) -> std::string"""
4585 return _IMP_algebra.Segment3D___repr__(self)
4587 __swig_destroy__ = _IMP_algebra.delete_Segment3D
4588 __del__ =
lambda self:
None
4589 Segment3D_swigregister = _IMP_algebra.Segment3D_swigregister
4590 Segment3D_swigregister(Segment3D)
4593 def get_segment_3d_geometry(g):
4594 """get_segment_3d_geometry(Segment3D g) -> Segment3D"""
4595 return _IMP_algebra.get_segment_3d_geometry(g)
4598 """get_relative_projection_on_segment(Segment3D s, Vector3D p) -> double"""
4599 return _IMP_algebra.get_relative_projection_on_segment(s, p)
4600 class Triangle3D(_GeometricPrimitive3D):
4601 """Proxy of C++ IMP::algebra::Triangle3D class"""
4602 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4604 def __init__(self, *args):
4606 __init__(IMP::algebra::Triangle3D self) -> Triangle3D
4607 __init__(IMP::algebra::Triangle3D self, Vector3D p1, Vector3D p2, Vector3D p3) -> Triangle3D
4609 this = _IMP_algebra.new_Triangle3D(*args)
4611 self.this.append(this)
4615 def get_point(self, i):
4616 """get_point(Triangle3D self, unsigned int i) -> Vector3D"""
4617 return _IMP_algebra.Triangle3D_get_point(self, i)
4620 def show(self, *args):
4622 show(Triangle3D self, _ostream out)
4623 show(Triangle3D self)
4625 return _IMP_algebra.Triangle3D_show(self, *args)
4628 def get_edge_lengths(self):
4629 """get_edge_lengths(Triangle3D self) -> IMP::Floats"""
4630 return _IMP_algebra.Triangle3D_get_edge_lengths(self)
4634 """__str__(Triangle3D self) -> std::string"""
4635 return _IMP_algebra.Triangle3D___str__(self)
4639 """__repr__(Triangle3D self) -> std::string"""
4640 return _IMP_algebra.Triangle3D___repr__(self)
4642 __swig_destroy__ = _IMP_algebra.delete_Triangle3D
4643 __del__ =
lambda self:
None
4644 Triangle3D_swigregister = _IMP_algebra.Triangle3D_swigregister
4645 Triangle3D_swigregister(Triangle3D)
4649 """get_largest_triangle(IMP::algebra::Vector3Ds const & points) -> Triangle3D"""
4650 return _IMP_algebra.get_largest_triangle(points)
4653 """get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri) -> Transformation3D"""
4654 return _IMP_algebra.get_transformation_from_first_triangle_to_second(first_tri, second_tri)
4657 """get_are_colinear(Vector3D p1, Vector3D p2, Vector3D p3) -> bool"""
4658 return _IMP_algebra.get_are_colinear(p1, p2, p3)
4659 class LinearFit2D(_GeometricPrimitive2D):
4660 """Proxy of C++ IMP::algebra::LinearFit2D class"""
4661 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4663 def __init__(self, *args):
4665 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data, IMP::Floats const & error_bars) -> LinearFit2D
4666 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data) -> LinearFit2D
4668 this = _IMP_algebra.new_LinearFit2D(*args)
4670 self.this.append(this)
4674 def get_fit_error(self):
4675 """get_fit_error(LinearFit2D self) -> double"""
4676 return _IMP_algebra.LinearFit2D_get_fit_error(self)
4680 """get_a(LinearFit2D self) -> double"""
4681 return _IMP_algebra.LinearFit2D_get_a(self)
4685 """get_b(LinearFit2D self) -> double"""
4686 return _IMP_algebra.LinearFit2D_get_b(self)
4689 def show(self, *args):
4691 show(LinearFit2D self, _ostream out)
4692 show(LinearFit2D self)
4694 return _IMP_algebra.LinearFit2D_show(self, *args)
4698 """__str__(LinearFit2D self) -> std::string"""
4699 return _IMP_algebra.LinearFit2D___str__(self)
4703 """__repr__(LinearFit2D self) -> std::string"""
4704 return _IMP_algebra.LinearFit2D___repr__(self)
4706 __swig_destroy__ = _IMP_algebra.delete_LinearFit2D
4707 __del__ =
lambda self:
None
4708 LinearFit2D_swigregister = _IMP_algebra.LinearFit2D_swigregister
4709 LinearFit2D_swigregister(LinearFit2D)
4711 class ParabolicFit2D(_GeometricPrimitive2D):
4712 """Proxy of C++ IMP::algebra::ParabolicFit2D class"""
4713 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4715 def __init__(self, data):
4716 """__init__(IMP::algebra::ParabolicFit2D self, IMP::algebra::Vector2Ds const & data) -> ParabolicFit2D"""
4717 this = _IMP_algebra.new_ParabolicFit2D(data)
4719 self.this.append(this)
4723 def get_fit_error(self):
4724 """get_fit_error(ParabolicFit2D self) -> double"""
4725 return _IMP_algebra.ParabolicFit2D_get_fit_error(self)
4729 """get_a(ParabolicFit2D self) -> double"""
4730 return _IMP_algebra.ParabolicFit2D_get_a(self)
4734 """get_b(ParabolicFit2D self) -> double"""
4735 return _IMP_algebra.ParabolicFit2D_get_b(self)
4739 """get_c(ParabolicFit2D self) -> double"""
4740 return _IMP_algebra.ParabolicFit2D_get_c(self)
4743 def show(self, *args):
4745 show(ParabolicFit2D self, _ostream out)
4746 show(ParabolicFit2D self)
4748 return _IMP_algebra.ParabolicFit2D_show(self, *args)
4752 """__str__(ParabolicFit2D self) -> std::string"""
4753 return _IMP_algebra.ParabolicFit2D___str__(self)
4757 """__repr__(ParabolicFit2D self) -> std::string"""
4758 return _IMP_algebra.ParabolicFit2D___repr__(self)
4760 __swig_destroy__ = _IMP_algebra.delete_ParabolicFit2D
4761 __del__ =
lambda self:
None
4762 ParabolicFit2D_swigregister = _IMP_algebra.ParabolicFit2D_swigregister
4763 ParabolicFit2D_swigregister(ParabolicFit2D)
4765 class Plane3D(_GeometricPrimitive3D):
4766 """Proxy of C++ IMP::algebra::Plane3D class"""
4767 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4769 def __init__(self, *args):
4771 __init__(IMP::algebra::Plane3D self) -> Plane3D
4772 __init__(IMP::algebra::Plane3D self, Vector3D point_on_plane, Vector3D normal_to_plane) -> Plane3D
4773 __init__(IMP::algebra::Plane3D self, double distance_to_plane, Vector3D normal_to_plane) -> Plane3D
4775 this = _IMP_algebra.new_Plane3D(*args)
4777 self.this.append(this)
4781 def get_point_on_plane(self):
4782 """get_point_on_plane(Plane3D self) -> Vector3D"""
4783 return _IMP_algebra.Plane3D_get_point_on_plane(self)
4786 def get_normal(self):
4787 """get_normal(Plane3D self) -> Vector3D"""
4788 return _IMP_algebra.Plane3D_get_normal(self)
4791 def get_projected(self, p):
4792 """get_projected(Plane3D self, Vector3D p) -> Vector3D"""
4793 return _IMP_algebra.Plane3D_get_projected(self, p)
4796 def get_is_above(self, p):
4797 """get_is_above(Plane3D self, Vector3D p) -> bool"""
4798 return _IMP_algebra.Plane3D_get_is_above(self, p)
4801 def get_is_below(self, p):
4802 """get_is_below(Plane3D self, Vector3D p) -> bool"""
4803 return _IMP_algebra.Plane3D_get_is_below(self, p)
4806 def get_height(self, p):
4807 """get_height(Plane3D self, Vector3D p) -> double"""
4808 return _IMP_algebra.Plane3D_get_height(self, p)
4811 def show(self, *args):
4813 show(Plane3D self, _ostream out)
4816 return _IMP_algebra.Plane3D_show(self, *args)
4819 def get_opposite(self):
4820 """get_opposite(Plane3D self) -> Plane3D"""
4821 return _IMP_algebra.Plane3D_get_opposite(self)
4824 def get_distance_from_origin(self):
4825 """get_distance_from_origin(Plane3D self) -> double"""
4826 return _IMP_algebra.Plane3D_get_distance_from_origin(self)
4830 """__str__(Plane3D self) -> std::string"""
4831 return _IMP_algebra.Plane3D___str__(self)
4835 """__repr__(Plane3D self) -> std::string"""
4836 return _IMP_algebra.Plane3D___repr__(self)
4838 __swig_destroy__ = _IMP_algebra.delete_Plane3D
4839 __del__ =
lambda self:
None
4840 Plane3D_swigregister = _IMP_algebra.Plane3D_swigregister
4841 Plane3D_swigregister(Plane3D)
4845 """get_reflected(Plane3D pln, Vector3D p) -> Vector3D"""
4846 return _IMP_algebra.get_reflected(pln, p)
4848 def get_plane_3d_geometry(g):
4849 """get_plane_3d_geometry(Plane3D g) -> Plane3D"""
4850 return _IMP_algebra.get_plane_3d_geometry(g)
4851 class Reflection3D(_GeometricPrimitive3D):
4852 """Proxy of C++ IMP::algebra::Reflection3D class"""
4853 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4855 def __init__(self, *args):
4857 __init__(IMP::algebra::Reflection3D self) -> Reflection3D
4858 __init__(IMP::algebra::Reflection3D self, Plane3D pl) -> Reflection3D
4860 this = _IMP_algebra.new_Reflection3D(*args)
4862 self.this.append(this)
4867 """get_reflected(Reflection3D self, Vector3D v) -> Vector3D"""
4868 return _IMP_algebra.Reflection3D_get_reflected(self, v)
4871 def show(self, *args):
4873 show(Reflection3D self, _ostream out)
4874 show(Reflection3D self)
4876 return _IMP_algebra.Reflection3D_show(self, *args)
4880 """__str__(Reflection3D self) -> std::string"""
4881 return _IMP_algebra.Reflection3D___str__(self)
4885 """__repr__(Reflection3D self) -> std::string"""
4886 return _IMP_algebra.Reflection3D___repr__(self)
4888 __swig_destroy__ = _IMP_algebra.delete_Reflection3D
4889 __del__ =
lambda self:
None
4890 Reflection3D_swigregister = _IMP_algebra.Reflection3D_swigregister
4891 Reflection3D_swigregister(Reflection3D)
4893 class Cylinder3D(_GeometricPrimitive3D):
4894 """Proxy of C++ IMP::algebra::Cylinder3D class"""
4895 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4897 def __init__(self, *args):
4899 __init__(IMP::algebra::Cylinder3D self) -> Cylinder3D
4900 __init__(IMP::algebra::Cylinder3D self, Segment3D s, double radius) -> Cylinder3D
4902 this = _IMP_algebra.new_Cylinder3D(*args)
4904 self.this.append(this)
4908 def get_radius(self):
4909 """get_radius(Cylinder3D self) -> double"""
4910 return _IMP_algebra.Cylinder3D_get_radius(self)
4914 """get_segment(Cylinder3D self) -> Segment3D"""
4915 return _IMP_algebra.Cylinder3D_get_segment(self)
4918 def get_surface_point_at(self, relative_height, angle):
4919 """get_surface_point_at(Cylinder3D self, double relative_height, double angle) -> Vector3D"""
4920 return _IMP_algebra.Cylinder3D_get_surface_point_at(self, relative_height, angle)
4923 def get_inner_point_at(self, relative_height, relative_radius, angle):
4924 """get_inner_point_at(Cylinder3D self, double relative_height, double relative_radius, double angle) -> Vector3D"""
4925 return _IMP_algebra.Cylinder3D_get_inner_point_at(self, relative_height, relative_radius, angle)
4928 def show(self, *args):
4930 show(Cylinder3D self, _ostream out)
4931 show(Cylinder3D self)
4933 return _IMP_algebra.Cylinder3D_show(self, *args)
4937 """__str__(Cylinder3D self) -> std::string"""
4938 return _IMP_algebra.Cylinder3D___str__(self)
4942 """__repr__(Cylinder3D self) -> std::string"""
4943 return _IMP_algebra.Cylinder3D___repr__(self)
4945 __swig_destroy__ = _IMP_algebra.delete_Cylinder3D
4946 __del__ =
lambda self:
None
4947 Cylinder3D_swigregister = _IMP_algebra.Cylinder3D_swigregister
4948 Cylinder3D_swigregister(Cylinder3D)
4951 def get_cylinder_3d_geometry(g):
4952 """get_cylinder_3d_geometry(Cylinder3D g) -> Cylinder3D"""
4953 return _IMP_algebra.get_cylinder_3d_geometry(g)
4954 class Ellipsoid3D(_GeometricPrimitive3D):
4955 """Proxy of C++ IMP::algebra::Ellipsoid3D class"""
4956 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4958 def __init__(self, *args):
4960 __init__(IMP::algebra::Ellipsoid3D self) -> Ellipsoid3D
4961 __init__(IMP::algebra::Ellipsoid3D self, ReferenceFrame3D rf, Vector3D radii) -> Ellipsoid3D
4962 __init__(IMP::algebra::Ellipsoid3D self, Vector3D center, double radius_x, double radius_y, double radius_z, Rotation3D rot) -> Ellipsoid3D
4964 this = _IMP_algebra.new_Ellipsoid3D(*args)
4966 self.this.append(this)
4970 def get_radii(self):
4971 """get_radii(Ellipsoid3D self) -> Vector3D"""
4972 return _IMP_algebra.Ellipsoid3D_get_radii(self)
4975 def get_reference_frame(self):
4976 """get_reference_frame(Ellipsoid3D self) -> ReferenceFrame3D"""
4977 return _IMP_algebra.Ellipsoid3D_get_reference_frame(self)
4980 def show(self, *args):
4982 show(Ellipsoid3D self, _ostream out)
4983 show(Ellipsoid3D self)
4985 return _IMP_algebra.Ellipsoid3D_show(self, *args)
4989 """__str__(Ellipsoid3D self) -> std::string"""
4990 return _IMP_algebra.Ellipsoid3D___str__(self)
4994 """__repr__(Ellipsoid3D self) -> std::string"""
4995 return _IMP_algebra.Ellipsoid3D___repr__(self)
4997 __swig_destroy__ = _IMP_algebra.delete_Ellipsoid3D
4998 __del__ =
lambda self:
None
4999 Ellipsoid3D_swigregister = _IMP_algebra.Ellipsoid3D_swigregister
5000 Ellipsoid3D_swigregister(Ellipsoid3D)
5003 def get_ellipsoid_3d_geometry(g):
5004 """get_ellipsoid_3d_geometry(Ellipsoid3D g) -> Ellipsoid3D"""
5005 return _IMP_algebra.get_ellipsoid_3d_geometry(g)
5006 class ConnollySurfacePoint(object):
5007 """Proxy of C++ IMP::algebra::ConnollySurfacePoint class"""
5008 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5010 def __init__(self, a0, a1, a2, sp, a, n):
5011 """__init__(IMP::algebra::ConnollySurfacePoint self, int a0, int a1, int a2, Vector3D sp, float a, Vector3D n) -> ConnollySurfacePoint"""
5012 this = _IMP_algebra.new_ConnollySurfacePoint(a0, a1, a2, sp, a, n)
5014 self.this.append(this)
5019 """get_atom(ConnollySurfacePoint self, unsigned int i) -> int"""
5020 return _IMP_algebra.ConnollySurfacePoint_get_atom(self, i)
5023 def get_surface_point(self):
5024 """get_surface_point(ConnollySurfacePoint self) -> Vector3D"""
5025 return _IMP_algebra.ConnollySurfacePoint_get_surface_point(self)
5029 """get_area(ConnollySurfacePoint self) -> double"""
5030 return _IMP_algebra.ConnollySurfacePoint_get_area(self)
5033 def get_normal(self):
5034 """get_normal(ConnollySurfacePoint self) -> Vector3D"""
5035 return _IMP_algebra.ConnollySurfacePoint_get_normal(self)
5038 def show(self, *args):
5040 show(ConnollySurfacePoint self, _ostream out)
5041 show(ConnollySurfacePoint self)
5043 return _IMP_algebra.ConnollySurfacePoint_show(self, *args)
5047 """__str__(ConnollySurfacePoint self) -> std::string"""
5048 return _IMP_algebra.ConnollySurfacePoint___str__(self)
5052 """__repr__(ConnollySurfacePoint self) -> std::string"""
5053 return _IMP_algebra.ConnollySurfacePoint___repr__(self)
5055 __swig_destroy__ = _IMP_algebra.delete_ConnollySurfacePoint
5056 __del__ =
lambda self:
None
5057 ConnollySurfacePoint_swigregister = _IMP_algebra.ConnollySurfacePoint_swigregister
5058 ConnollySurfacePoint_swigregister(ConnollySurfacePoint)
5062 """get_connolly_surface(IMP::algebra::Sphere3Ds const & spheres, double density, double probe_radius) -> IMP::algebra::ConnollySurfacePoints"""
5063 return _IMP_algebra.get_connolly_surface(spheres, density, probe_radius)
5064 class LogEmbedding3D(object):
5065 """Proxy of C++ IMP::algebra::LogEmbeddingD<(3)> class"""
5066 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5068 def __init__(self, *args):
5070 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D origin, Vector3D cell, Vector3D base) -> LogEmbedding3D
5071 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding3D
5072 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts) -> LogEmbedding3D
5073 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D arg2, Vector3D arg3) -> LogEmbedding3D
5074 __init__(IMP::algebra::LogEmbeddingD<(3)> self) -> LogEmbedding3D
5076 this = _IMP_algebra.new_LogEmbedding3D(*args)
5078 self.this.append(this)
5082 def set_origin(self, o):
5083 """set_origin(LogEmbedding3D self, Vector3D o)"""
5084 return _IMP_algebra.LogEmbedding3D_set_origin(self, o)
5087 def get_origin(self):
5088 """get_origin(LogEmbedding3D self) -> Vector3D"""
5089 return _IMP_algebra.LogEmbedding3D_get_origin(self)
5092 def get_dimension(self):
5093 """get_dimension(LogEmbedding3D self) -> unsigned int"""
5094 return _IMP_algebra.LogEmbedding3D_get_dimension(self)
5097 def set_unit_cell(self, *args):
5099 set_unit_cell(LogEmbedding3D self, Vector3D o, Vector3D base)
5100 set_unit_cell(LogEmbedding3D self, Vector3D o)
5102 return _IMP_algebra.LogEmbedding3D_set_unit_cell(self, *args)
5105 def get_unit_cell(self):
5106 """get_unit_cell(LogEmbedding3D self) -> Vector3D"""
5107 return _IMP_algebra.LogEmbedding3D_get_unit_cell(self)
5110 def get_extended_index(self, o):
5111 """get_extended_index(LogEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
5112 return _IMP_algebra.LogEmbedding3D_get_extended_index(self, o)
5116 """get_index(LogEmbedding3D self, Vector3D o) -> GridIndex3D"""
5117 return _IMP_algebra.LogEmbedding3D_get_index(self, o)
5120 def get_center(self, *args):
5122 get_center(LogEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
5123 get_center(LogEmbedding3D self, GridIndex3D ei) -> Vector3D
5125 return _IMP_algebra.LogEmbedding3D_get_center(self, *args)
5128 def get_bounding_box(self, *args):
5130 get_bounding_box(LogEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
5131 get_bounding_box(LogEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
5133 return _IMP_algebra.LogEmbedding3D_get_bounding_box(self, *args)
5136 def show(self, *args):
5138 show(LogEmbedding3D self, _ostream out)
5139 show(LogEmbedding3D self)
5141 return _IMP_algebra.LogEmbedding3D_show(self, *args)
5145 """__str__(LogEmbedding3D self) -> std::string"""
5146 return _IMP_algebra.LogEmbedding3D___str__(self)
5150 """__repr__(LogEmbedding3D self) -> std::string"""
5151 return _IMP_algebra.LogEmbedding3D___repr__(self)
5154 def __cmp__(self, arg2):
5155 """__cmp__(LogEmbedding3D self, LogEmbedding3D arg2) -> int"""
5156 return _IMP_algebra.LogEmbedding3D___cmp__(self, arg2)
5159 def __eq__(self, arg2):
5160 """__eq__(LogEmbedding3D self, LogEmbedding3D arg2) -> bool"""
5161 return _IMP_algebra.LogEmbedding3D___eq__(self, arg2)
5163 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding3D
5164 __del__ =
lambda self:
None
5165 LogEmbedding3D_swigregister = _IMP_algebra.LogEmbedding3D_swigregister
5166 LogEmbedding3D_swigregister(LogEmbedding3D)
5168 class LogEmbeddingKD(object):
5169 """Proxy of C++ IMP::algebra::LogEmbeddingD<(-1)> class"""
5170 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5172 def __init__(self, *args):
5174 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell, VectorKD base) -> LogEmbeddingKD
5175 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbeddingKD
5176 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts) -> LogEmbeddingKD
5177 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD arg2, VectorKD arg3) -> LogEmbeddingKD
5178 __init__(IMP::algebra::LogEmbeddingD<(-1)> self) -> LogEmbeddingKD
5180 this = _IMP_algebra.new_LogEmbeddingKD(*args)
5182 self.this.append(this)
5186 def set_origin(self, o):
5187 """set_origin(LogEmbeddingKD self, VectorKD o)"""
5188 return _IMP_algebra.LogEmbeddingKD_set_origin(self, o)
5191 def get_origin(self):
5192 """get_origin(LogEmbeddingKD self) -> VectorKD"""
5193 return _IMP_algebra.LogEmbeddingKD_get_origin(self)
5196 def get_dimension(self):
5197 """get_dimension(LogEmbeddingKD self) -> unsigned int"""
5198 return _IMP_algebra.LogEmbeddingKD_get_dimension(self)
5201 def set_unit_cell(self, *args):
5203 set_unit_cell(LogEmbeddingKD self, VectorKD o, VectorKD base)
5204 set_unit_cell(LogEmbeddingKD self, VectorKD o)
5206 return _IMP_algebra.LogEmbeddingKD_set_unit_cell(self, *args)
5209 def get_unit_cell(self):
5210 """get_unit_cell(LogEmbeddingKD self) -> VectorKD"""
5211 return _IMP_algebra.LogEmbeddingKD_get_unit_cell(self)
5214 def get_extended_index(self, o):
5215 """get_extended_index(LogEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
5216 return _IMP_algebra.LogEmbeddingKD_get_extended_index(self, o)
5220 """get_index(LogEmbeddingKD self, VectorKD o) -> GridIndexKD"""
5221 return _IMP_algebra.LogEmbeddingKD_get_index(self, o)
5224 def get_center(self, *args):
5226 get_center(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
5227 get_center(LogEmbeddingKD self, GridIndexKD ei) -> VectorKD
5229 return _IMP_algebra.LogEmbeddingKD_get_center(self, *args)
5232 def get_bounding_box(self, *args):
5234 get_bounding_box(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
5235 get_bounding_box(LogEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
5237 return _IMP_algebra.LogEmbeddingKD_get_bounding_box(self, *args)
5240 def show(self, *args):
5242 show(LogEmbeddingKD self, _ostream out)
5243 show(LogEmbeddingKD self)
5245 return _IMP_algebra.LogEmbeddingKD_show(self, *args)
5249 """__str__(LogEmbeddingKD self) -> std::string"""
5250 return _IMP_algebra.LogEmbeddingKD___str__(self)
5254 """__repr__(LogEmbeddingKD self) -> std::string"""
5255 return _IMP_algebra.LogEmbeddingKD___repr__(self)
5258 def __cmp__(self, arg2):
5259 """__cmp__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> int"""
5260 return _IMP_algebra.LogEmbeddingKD___cmp__(self, arg2)
5263 def __eq__(self, arg2):
5264 """__eq__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> bool"""
5265 return _IMP_algebra.LogEmbeddingKD___eq__(self, arg2)
5267 __swig_destroy__ = _IMP_algebra.delete_LogEmbeddingKD
5268 __del__ =
lambda self:
None
5269 LogEmbeddingKD_swigregister = _IMP_algebra.LogEmbeddingKD_swigregister
5270 LogEmbeddingKD_swigregister(LogEmbeddingKD)
5272 class DenseFloatLogGridKD(object):
5273 """Proxy of C++ IMP::algebra::DenseFloatLogGridKD class"""
5274 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5276 def __init__(self, sz, le):
5277 """__init__(IMP::algebra::DenseFloatLogGridKD self, IMP::Ints const & sz, LogEmbeddingKD le) -> DenseFloatLogGridKD"""
5278 this = _IMP_algebra.new_DenseFloatLogGridKD(sz, le)
5280 self.this.append(this)
5284 def add_voxel(self, i, q):
5285 """add_voxel(DenseFloatLogGridKD self, ExtendedGridIndexKD i, float const & q) -> GridIndexKD"""
5286 return _IMP_algebra.DenseFloatLogGridKD_add_voxel(self, i, q)
5289 def __getitem__(self, *args):
5291 __getitem__(DenseFloatLogGridKD self, GridIndexKD i) -> float
5292 __getitem__(DenseFloatLogGridKD self, VectorKD i) -> float
5294 return _IMP_algebra.DenseFloatLogGridKD___getitem__(self, *args)
5297 def __setitem__(self, *args):
5299 __setitem__(DenseFloatLogGridKD self, GridIndexKD i, float const & q)
5300 __setitem__(DenseFloatLogGridKD self, VectorKD i, float const & q)
5302 return _IMP_algebra.DenseFloatLogGridKD___setitem__(self, *args)
5305 def get_bounding_box(self, *args):
5307 get_bounding_box(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
5308 get_bounding_box(DenseFloatLogGridKD self) -> BoundingBoxKD
5310 return _IMP_algebra.DenseFloatLogGridKD_get_bounding_box(self, *args)
5315 get_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
5316 get_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
5318 return _IMP_algebra.DenseFloatLogGridKD_get_indexes(self, *args)
5321 def get_all_indexes(self):
5322 """get_all_indexes(DenseFloatLogGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
5323 return _IMP_algebra.DenseFloatLogGridKD_get_all_indexes(self)
5326 def get_extended_indexes(self, *args):
5328 get_extended_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5329 get_extended_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5331 return _IMP_algebra.DenseFloatLogGridKD_get_extended_indexes(self, *args)
5334 def get_center(self, *args):
5336 get_center(DenseFloatLogGridKD self, ExtendedGridIndexKD ei) -> VectorKD
5337 get_center(DenseFloatLogGridKD self, GridIndexKD ei) -> VectorKD
5339 return _IMP_algebra.DenseFloatLogGridKD_get_center(self, *args)
5342 def get_extended_index(self, v):
5343 """get_extended_index(DenseFloatLogGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
5344 return _IMP_algebra.DenseFloatLogGridKD_get_extended_index(self, v)
5348 """get_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
5349 return _IMP_algebra.DenseFloatLogGridKD_get_index(self, v)
5352 def get_origin(self):
5353 """get_origin(DenseFloatLogGridKD self) -> VectorKD"""
5354 return _IMP_algebra.DenseFloatLogGridKD_get_origin(self)
5357 def get_dimension(self):
5358 """get_dimension(DenseFloatLogGridKD self) -> unsigned int"""
5359 return _IMP_algebra.DenseFloatLogGridKD_get_dimension(self)
5362 def get_unit_cell(self):
5363 """get_unit_cell(DenseFloatLogGridKD self) -> VectorKD"""
5364 return _IMP_algebra.DenseFloatLogGridKD_get_unit_cell(self)
5367 def get_has_index(self, v):
5368 """get_has_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> bool"""
5369 return _IMP_algebra.DenseFloatLogGridKD_get_has_index(self, v)
5373 """__str__(DenseFloatLogGridKD self) -> std::string"""
5374 return _IMP_algebra.DenseFloatLogGridKD___str__(self)
5378 """__repr__(DenseFloatLogGridKD self) -> std::string"""
5379 return _IMP_algebra.DenseFloatLogGridKD___repr__(self)
5382 def show(self, *args):
5384 show(DenseFloatLogGridKD self, _ostream out)
5385 show(DenseFloatLogGridKD self)
5387 return _IMP_algebra.DenseFloatLogGridKD_show(self, *args)
5389 __swig_destroy__ = _IMP_algebra.delete_DenseFloatLogGridKD
5390 __del__ =
lambda self:
None
5391 DenseFloatLogGridKD_swigregister = _IMP_algebra.DenseFloatLogGridKD_swigregister
5392 DenseFloatLogGridKD_swigregister(DenseFloatLogGridKD)
5394 class DenseIntLogGrid3D(object):
5395 """Proxy of C++ IMP::algebra::DenseIntLogGrid3D class"""
5396 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5398 def __init__(self, sz, le):
5399 """__init__(IMP::algebra::DenseIntLogGrid3D self, IMP::Ints const & sz, LogEmbedding3D le) -> DenseIntLogGrid3D"""
5400 this = _IMP_algebra.new_DenseIntLogGrid3D(sz, le)
5402 self.this.append(this)
5406 def add_voxel(self, i, q):
5407 """add_voxel(DenseIntLogGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
5408 return _IMP_algebra.DenseIntLogGrid3D_add_voxel(self, i, q)
5411 def __getitem__(self, *args):
5413 __getitem__(DenseIntLogGrid3D self, GridIndex3D i) -> int
5414 __getitem__(DenseIntLogGrid3D self, Vector3D i) -> int
5416 return _IMP_algebra.DenseIntLogGrid3D___getitem__(self, *args)
5419 def __setitem__(self, *args):
5421 __setitem__(DenseIntLogGrid3D self, GridIndex3D i, int const & q)
5422 __setitem__(DenseIntLogGrid3D self, Vector3D i, int const & q)
5424 return _IMP_algebra.DenseIntLogGrid3D___setitem__(self, *args)
5427 def get_bounding_box(self, *args):
5429 get_bounding_box(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5430 get_bounding_box(DenseIntLogGrid3D self) -> BoundingBox3D
5432 return _IMP_algebra.DenseIntLogGrid3D_get_bounding_box(self, *args)
5437 get_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5438 get_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5440 return _IMP_algebra.DenseIntLogGrid3D_get_indexes(self, *args)
5443 def get_all_indexes(self):
5444 """get_all_indexes(DenseIntLogGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5445 return _IMP_algebra.DenseIntLogGrid3D_get_all_indexes(self)
5448 def get_extended_indexes(self, *args):
5450 get_extended_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5451 get_extended_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5453 return _IMP_algebra.DenseIntLogGrid3D_get_extended_indexes(self, *args)
5456 def get_center(self, *args):
5458 get_center(DenseIntLogGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5459 get_center(DenseIntLogGrid3D self, GridIndex3D ei) -> Vector3D
5461 return _IMP_algebra.DenseIntLogGrid3D_get_center(self, *args)
5464 def get_extended_index(self, v):
5465 """get_extended_index(DenseIntLogGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5466 return _IMP_algebra.DenseIntLogGrid3D_get_extended_index(self, v)
5470 """get_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5471 return _IMP_algebra.DenseIntLogGrid3D_get_index(self, v)
5474 def get_origin(self):
5475 """get_origin(DenseIntLogGrid3D self) -> Vector3D"""
5476 return _IMP_algebra.DenseIntLogGrid3D_get_origin(self)
5479 def get_dimension(self):
5480 """get_dimension(DenseIntLogGrid3D self) -> unsigned int"""
5481 return _IMP_algebra.DenseIntLogGrid3D_get_dimension(self)
5484 def get_unit_cell(self):
5485 """get_unit_cell(DenseIntLogGrid3D self) -> Vector3D"""
5486 return _IMP_algebra.DenseIntLogGrid3D_get_unit_cell(self)
5489 def get_has_index(self, v):
5490 """get_has_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> bool"""
5491 return _IMP_algebra.DenseIntLogGrid3D_get_has_index(self, v)
5495 """__str__(DenseIntLogGrid3D self) -> std::string"""
5496 return _IMP_algebra.DenseIntLogGrid3D___str__(self)
5500 """__repr__(DenseIntLogGrid3D self) -> std::string"""
5501 return _IMP_algebra.DenseIntLogGrid3D___repr__(self)
5504 def show(self, *args):
5506 show(DenseIntLogGrid3D self, _ostream out)
5507 show(DenseIntLogGrid3D self)
5509 return _IMP_algebra.DenseIntLogGrid3D_show(self, *args)
5511 __swig_destroy__ = _IMP_algebra.delete_DenseIntLogGrid3D
5512 __del__ =
lambda self:
None
5513 DenseIntLogGrid3D_swigregister = _IMP_algebra.DenseIntLogGrid3D_swigregister
5514 DenseIntLogGrid3D_swigregister(DenseIntLogGrid3D)
5517 """Proxy of C++ IMP::algebra::DenseGrid3D<(double)> class"""
5518 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5520 def __init__(self, *args):
5522 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb, double arg4) -> DenseDoubleGrid3D
5523 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb) -> DenseDoubleGrid3D
5524 __init__(IMP::algebra::DenseGrid3D<(double)> self) -> DenseDoubleGrid3D
5526 this = _IMP_algebra.new_DenseDoubleGrid3D(*args)
5528 self.this.append(this)
5532 def add_voxel(self, i, q):
5533 """add_voxel(DenseDoubleGrid3D self, ExtendedGridIndex3D i, double const & q) -> GridIndex3D"""
5534 return _IMP_algebra.DenseDoubleGrid3D_add_voxel(self, i, q)
5537 def __getitem__(self, *args):
5539 __getitem__(DenseDoubleGrid3D self, GridIndex3D i) -> double
5540 __getitem__(DenseDoubleGrid3D self, Vector3D i) -> double
5542 return _IMP_algebra.DenseDoubleGrid3D___getitem__(self, *args)
5545 def __setitem__(self, *args):
5547 __setitem__(DenseDoubleGrid3D self, GridIndex3D i, double const & q)
5548 __setitem__(DenseDoubleGrid3D self, Vector3D i, double const & q)
5550 return _IMP_algebra.DenseDoubleGrid3D___setitem__(self, *args)
5553 def get_bounding_box(self, *args):
5555 get_bounding_box(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5556 get_bounding_box(DenseDoubleGrid3D self) -> BoundingBox3D
5558 return _IMP_algebra.DenseDoubleGrid3D_get_bounding_box(self, *args)
5563 get_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5564 get_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5566 return _IMP_algebra.DenseDoubleGrid3D_get_indexes(self, *args)
5569 def get_all_indexes(self):
5570 """get_all_indexes(DenseDoubleGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5571 return _IMP_algebra.DenseDoubleGrid3D_get_all_indexes(self)
5574 def get_extended_indexes(self, *args):
5576 get_extended_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5577 get_extended_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5579 return _IMP_algebra.DenseDoubleGrid3D_get_extended_indexes(self, *args)
5582 def get_center(self, *args):
5584 get_center(DenseDoubleGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5585 get_center(DenseDoubleGrid3D self, GridIndex3D ei) -> Vector3D
5587 return _IMP_algebra.DenseDoubleGrid3D_get_center(self, *args)
5590 def get_extended_index(self, v):
5591 """get_extended_index(DenseDoubleGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5592 return _IMP_algebra.DenseDoubleGrid3D_get_extended_index(self, v)
5596 """get_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5597 return _IMP_algebra.DenseDoubleGrid3D_get_index(self, v)
5600 def get_origin(self):
5601 """get_origin(DenseDoubleGrid3D self) -> Vector3D"""
5602 return _IMP_algebra.DenseDoubleGrid3D_get_origin(self)
5605 def get_dimension(self):
5606 """get_dimension(DenseDoubleGrid3D self) -> unsigned int"""
5607 return _IMP_algebra.DenseDoubleGrid3D_get_dimension(self)
5610 def get_unit_cell(self):
5611 """get_unit_cell(DenseDoubleGrid3D self) -> Vector3D"""
5612 return _IMP_algebra.DenseDoubleGrid3D_get_unit_cell(self)
5615 def get_has_index(self, v):
5616 """get_has_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> bool"""
5617 return _IMP_algebra.DenseDoubleGrid3D_get_has_index(self, v)
5621 """__str__(DenseDoubleGrid3D self) -> std::string"""
5622 return _IMP_algebra.DenseDoubleGrid3D___str__(self)
5626 """__repr__(DenseDoubleGrid3D self) -> std::string"""
5627 return _IMP_algebra.DenseDoubleGrid3D___repr__(self)
5630 def show(self, *args):
5632 show(DenseDoubleGrid3D self, _ostream out)
5633 show(DenseDoubleGrid3D self)
5635 return _IMP_algebra.DenseDoubleGrid3D_show(self, *args)
5637 __swig_destroy__ = _IMP_algebra.delete_DenseDoubleGrid3D
5638 __del__ =
lambda self:
None
5639 DenseDoubleGrid3D_swigregister = _IMP_algebra.DenseDoubleGrid3D_swigregister
5640 DenseDoubleGrid3D_swigregister(DenseDoubleGrid3D)
5643 """Proxy of C++ IMP::algebra::DenseGrid3D<(float)> class"""
5644 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5646 def __init__(self, *args):
5648 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb, float arg4) -> DenseFloatGrid3D
5649 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb) -> DenseFloatGrid3D
5650 __init__(IMP::algebra::DenseGrid3D<(float)> self) -> DenseFloatGrid3D
5652 this = _IMP_algebra.new_DenseFloatGrid3D(*args)
5654 self.this.append(this)
5658 def add_voxel(self, i, q):
5659 """add_voxel(DenseFloatGrid3D self, ExtendedGridIndex3D i, float const & q) -> GridIndex3D"""
5660 return _IMP_algebra.DenseFloatGrid3D_add_voxel(self, i, q)
5663 def __getitem__(self, *args):
5665 __getitem__(DenseFloatGrid3D self, GridIndex3D i) -> float
5666 __getitem__(DenseFloatGrid3D self, Vector3D i) -> float
5668 return _IMP_algebra.DenseFloatGrid3D___getitem__(self, *args)
5671 def __setitem__(self, *args):
5673 __setitem__(DenseFloatGrid3D self, GridIndex3D i, float const & q)
5674 __setitem__(DenseFloatGrid3D self, Vector3D i, float const & q)
5676 return _IMP_algebra.DenseFloatGrid3D___setitem__(self, *args)
5679 def get_bounding_box(self, *args):
5681 get_bounding_box(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5682 get_bounding_box(DenseFloatGrid3D self) -> BoundingBox3D
5684 return _IMP_algebra.DenseFloatGrid3D_get_bounding_box(self, *args)
5689 get_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5690 get_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5692 return _IMP_algebra.DenseFloatGrid3D_get_indexes(self, *args)
5695 def get_all_indexes(self):
5696 """get_all_indexes(DenseFloatGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5697 return _IMP_algebra.DenseFloatGrid3D_get_all_indexes(self)
5700 def get_extended_indexes(self, *args):
5702 get_extended_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5703 get_extended_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5705 return _IMP_algebra.DenseFloatGrid3D_get_extended_indexes(self, *args)
5708 def get_center(self, *args):
5710 get_center(DenseFloatGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5711 get_center(DenseFloatGrid3D self, GridIndex3D ei) -> Vector3D
5713 return _IMP_algebra.DenseFloatGrid3D_get_center(self, *args)
5716 def get_extended_index(self, v):
5717 """get_extended_index(DenseFloatGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5718 return _IMP_algebra.DenseFloatGrid3D_get_extended_index(self, v)
5722 """get_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5723 return _IMP_algebra.DenseFloatGrid3D_get_index(self, v)
5726 def get_origin(self):
5727 """get_origin(DenseFloatGrid3D self) -> Vector3D"""
5728 return _IMP_algebra.DenseFloatGrid3D_get_origin(self)
5731 def get_dimension(self):
5732 """get_dimension(DenseFloatGrid3D self) -> unsigned int"""
5733 return _IMP_algebra.DenseFloatGrid3D_get_dimension(self)
5736 def get_unit_cell(self):
5737 """get_unit_cell(DenseFloatGrid3D self) -> Vector3D"""
5738 return _IMP_algebra.DenseFloatGrid3D_get_unit_cell(self)
5741 def get_has_index(self, v):
5742 """get_has_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> bool"""
5743 return _IMP_algebra.DenseFloatGrid3D_get_has_index(self, v)
5747 """__str__(DenseFloatGrid3D self) -> std::string"""
5748 return _IMP_algebra.DenseFloatGrid3D___str__(self)
5752 """__repr__(DenseFloatGrid3D self) -> std::string"""
5753 return _IMP_algebra.DenseFloatGrid3D___repr__(self)
5756 def show(self, *args):
5758 show(DenseFloatGrid3D self, _ostream out)
5759 show(DenseFloatGrid3D self)
5761 return _IMP_algebra.DenseFloatGrid3D_show(self, *args)
5763 __swig_destroy__ = _IMP_algebra.delete_DenseFloatGrid3D
5764 __del__ =
lambda self:
None
5765 DenseFloatGrid3D_swigregister = _IMP_algebra.DenseFloatGrid3D_swigregister
5766 DenseFloatGrid3D_swigregister(DenseFloatGrid3D)
5769 """Proxy of C++ IMP::algebra::SparseUnboundedGrid3D<(int)> class"""
5770 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5772 def __init__(self, *args):
5774 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
5775 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin) -> SparseUnboundedIntGrid3D
5776 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
5777 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin) -> SparseUnboundedIntGrid3D
5778 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self) -> SparseUnboundedIntGrid3D
5780 this = _IMP_algebra.new_SparseUnboundedIntGrid3D(*args)
5782 self.this.append(this)
5786 def add_voxel(self, i, q):
5787 """add_voxel(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
5788 return _IMP_algebra.SparseUnboundedIntGrid3D_add_voxel(self, i, q)
5791 def __getitem__(self, *args):
5793 __getitem__(SparseUnboundedIntGrid3D self, GridIndex3D i) -> int
5794 __getitem__(SparseUnboundedIntGrid3D self, Vector3D i) -> int
5796 return _IMP_algebra.SparseUnboundedIntGrid3D___getitem__(self, *args)
5799 def __setitem__(self, *args):
5801 __setitem__(SparseUnboundedIntGrid3D self, GridIndex3D i, int const & q)
5802 __setitem__(SparseUnboundedIntGrid3D self, Vector3D i, int const & q)
5804 return _IMP_algebra.SparseUnboundedIntGrid3D___setitem__(self, *args)
5807 def get_bounding_box(self, *args):
5809 get_bounding_box(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5810 get_bounding_box(SparseUnboundedIntGrid3D self) -> BoundingBox3D
5812 return _IMP_algebra.SparseUnboundedIntGrid3D_get_bounding_box(self, *args)
5817 get_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5818 get_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5820 return _IMP_algebra.SparseUnboundedIntGrid3D_get_indexes(self, *args)
5823 def get_all_indexes(self):
5824 """get_all_indexes(SparseUnboundedIntGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5825 return _IMP_algebra.SparseUnboundedIntGrid3D_get_all_indexes(self)
5828 def get_extended_indexes(self, *args):
5830 get_extended_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5831 get_extended_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5833 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_indexes(self, *args)
5836 def get_center(self, *args):
5838 get_center(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5839 get_center(SparseUnboundedIntGrid3D self, GridIndex3D ei) -> Vector3D
5841 return _IMP_algebra.SparseUnboundedIntGrid3D_get_center(self, *args)
5844 def get_extended_index(self, v):
5845 """get_extended_index(SparseUnboundedIntGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5846 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_index(self, v)
5850 """get_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5851 return _IMP_algebra.SparseUnboundedIntGrid3D_get_index(self, v)
5854 def get_origin(self):
5855 """get_origin(SparseUnboundedIntGrid3D self) -> Vector3D"""
5856 return _IMP_algebra.SparseUnboundedIntGrid3D_get_origin(self)
5859 def get_dimension(self):
5860 """get_dimension(SparseUnboundedIntGrid3D self) -> unsigned int"""
5861 return _IMP_algebra.SparseUnboundedIntGrid3D_get_dimension(self)
5864 def get_unit_cell(self):
5865 """get_unit_cell(SparseUnboundedIntGrid3D self) -> Vector3D"""
5866 return _IMP_algebra.SparseUnboundedIntGrid3D_get_unit_cell(self)
5869 def get_has_index(self, v):
5870 """get_has_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> bool"""
5871 return _IMP_algebra.SparseUnboundedIntGrid3D_get_has_index(self, v)
5875 """__str__(SparseUnboundedIntGrid3D self) -> std::string"""
5876 return _IMP_algebra.SparseUnboundedIntGrid3D___str__(self)
5880 """__repr__(SparseUnboundedIntGrid3D self) -> std::string"""
5881 return _IMP_algebra.SparseUnboundedIntGrid3D___repr__(self)
5884 def show(self, *args):
5886 show(SparseUnboundedIntGrid3D self, _ostream out)
5887 show(SparseUnboundedIntGrid3D self)
5889 return _IMP_algebra.SparseUnboundedIntGrid3D_show(self, *args)
5891 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGrid3D
5892 __del__ =
lambda self:
None
5893 SparseUnboundedIntGrid3D_swigregister = _IMP_algebra.SparseUnboundedIntGrid3D_swigregister
5894 SparseUnboundedIntGrid3D_swigregister(SparseUnboundedIntGrid3D)
5896 class SparseUnboundedIntGridKD(object):
5897 """Proxy of C++ IMP::algebra::SparseUnboundedGridD<(-1,int)> class"""
5898 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5900 def __init__(self, *args):
5902 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin, int arg4) -> SparseUnboundedIntGridKD
5903 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin) -> SparseUnboundedIntGridKD
5904 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self) -> SparseUnboundedIntGridKD
5906 this = _IMP_algebra.new_SparseUnboundedIntGridKD(*args)
5908 self.this.append(this)
5912 def add_voxel(self, i, q):
5913 """add_voxel(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i, int const & q) -> GridIndexKD"""
5914 return _IMP_algebra.SparseUnboundedIntGridKD_add_voxel(self, i, q)
5917 def __getitem__(self, *args):
5919 __getitem__(SparseUnboundedIntGridKD self, GridIndexKD i) -> int
5920 __getitem__(SparseUnboundedIntGridKD self, VectorKD i) -> int
5922 return _IMP_algebra.SparseUnboundedIntGridKD___getitem__(self, *args)
5925 def __setitem__(self, *args):
5927 __setitem__(SparseUnboundedIntGridKD self, GridIndexKD i, int const & q)
5928 __setitem__(SparseUnboundedIntGridKD self, VectorKD i, int const & q)
5930 return _IMP_algebra.SparseUnboundedIntGridKD___setitem__(self, *args)
5933 def get_bounding_box(self, *args):
5935 get_bounding_box(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
5936 get_bounding_box(SparseUnboundedIntGridKD self) -> BoundingBoxKD
5938 return _IMP_algebra.SparseUnboundedIntGridKD_get_bounding_box(self, *args)
5943 get_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
5944 get_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
5946 return _IMP_algebra.SparseUnboundedIntGridKD_get_indexes(self, *args)
5949 def get_all_indexes(self):
5950 """get_all_indexes(SparseUnboundedIntGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
5951 return _IMP_algebra.SparseUnboundedIntGridKD_get_all_indexes(self)
5954 def get_extended_indexes(self, *args):
5956 get_extended_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5957 get_extended_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5959 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_indexes(self, *args)
5962 def get_center(self, *args):
5964 get_center(SparseUnboundedIntGridKD self, ExtendedGridIndexKD ei) -> VectorKD
5965 get_center(SparseUnboundedIntGridKD self, GridIndexKD ei) -> VectorKD
5967 return _IMP_algebra.SparseUnboundedIntGridKD_get_center(self, *args)
5970 def get_extended_index(self, v):
5971 """get_extended_index(SparseUnboundedIntGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
5972 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_index(self, v)
5976 """get_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
5977 return _IMP_algebra.SparseUnboundedIntGridKD_get_index(self, v)
5980 def get_origin(self):
5981 """get_origin(SparseUnboundedIntGridKD self) -> VectorKD"""
5982 return _IMP_algebra.SparseUnboundedIntGridKD_get_origin(self)
5985 def get_dimension(self):
5986 """get_dimension(SparseUnboundedIntGridKD self) -> unsigned int"""
5987 return _IMP_algebra.SparseUnboundedIntGridKD_get_dimension(self)
5990 def get_unit_cell(self):
5991 """get_unit_cell(SparseUnboundedIntGridKD self) -> VectorKD"""
5992 return _IMP_algebra.SparseUnboundedIntGridKD_get_unit_cell(self)
5995 def get_has_index(self, v):
5996 """get_has_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> bool"""
5997 return _IMP_algebra.SparseUnboundedIntGridKD_get_has_index(self, v)
6001 """__str__(SparseUnboundedIntGridKD self) -> std::string"""
6002 return _IMP_algebra.SparseUnboundedIntGridKD___str__(self)
6006 """__repr__(SparseUnboundedIntGridKD self) -> std::string"""
6007 return _IMP_algebra.SparseUnboundedIntGridKD___repr__(self)
6010 def show(self, *args):
6012 show(SparseUnboundedIntGridKD self, _ostream out)
6013 show(SparseUnboundedIntGridKD self)
6015 return _IMP_algebra.SparseUnboundedIntGridKD_show(self, *args)
6017 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGridKD
6018 __del__ =
lambda self:
None
6019 SparseUnboundedIntGridKD_swigregister = _IMP_algebra.SparseUnboundedIntGridKD_swigregister
6020 SparseUnboundedIntGridKD_swigregister(SparseUnboundedIntGridKD)
6022 class GridIndex1D(IMP._Value):
6023 """Proxy of C++ IMP::algebra::GridIndexD<(1)> class"""
6024 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6026 def __init__(self, *args):
6028 __init__(IMP::algebra::GridIndexD<(1)> self) -> GridIndex1D
6029 __init__(IMP::algebra::GridIndexD<(1)> self, int x) -> GridIndex1D
6030 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y) -> GridIndex1D
6031 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y, int z) -> GridIndex1D
6032 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l) -> GridIndex1D
6033 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m) -> GridIndex1D
6034 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> GridIndex1D
6036 this = _IMP_algebra.new_GridIndex1D(*args)
6038 self.this.append(this)
6042 def get_dimension(self):
6043 """get_dimension(GridIndex1D self) -> unsigned int"""
6044 return _IMP_algebra.GridIndex1D_get_dimension(self)
6047 def __getitem__(self, i):
6048 """__getitem__(GridIndex1D self, unsigned int i) -> int const &"""
6049 return _IMP_algebra.GridIndex1D___getitem__(self, i)
6052 def show(self, *args):
6054 show(GridIndex1D self, _ostream out)
6055 show(GridIndex1D self)
6057 return _IMP_algebra.GridIndex1D_show(self, *args)
6061 """__len__(GridIndex1D self) -> unsigned int"""
6062 return _IMP_algebra.GridIndex1D___len__(self)
6065 def __cmp__(self, o):
6066 """__cmp__(GridIndex1D self, GridIndex1D o) -> int"""
6067 return _IMP_algebra.GridIndex1D___cmp__(self, o)
6070 def __eq__(self, o):
6071 """__eq__(GridIndex1D self, GridIndex1D o) -> bool"""
6072 return _IMP_algebra.GridIndex1D___eq__(self, o)
6075 def __ne__(self, o):
6076 """__ne__(GridIndex1D self, GridIndex1D o) -> bool"""
6077 return _IMP_algebra.GridIndex1D___ne__(self, o)
6080 def __lt__(self, o):
6081 """__lt__(GridIndex1D self, GridIndex1D o) -> bool"""
6082 return _IMP_algebra.GridIndex1D___lt__(self, o)
6085 def __gt__(self, o):
6086 """__gt__(GridIndex1D self, GridIndex1D o) -> bool"""
6087 return _IMP_algebra.GridIndex1D___gt__(self, o)
6090 def __ge__(self, o):
6091 """__ge__(GridIndex1D self, GridIndex1D o) -> bool"""
6092 return _IMP_algebra.GridIndex1D___ge__(self, o)
6095 def __le__(self, o):
6096 """__le__(GridIndex1D self, GridIndex1D o) -> bool"""
6097 return _IMP_algebra.GridIndex1D___le__(self, o)
6101 """__hash__(GridIndex1D self) -> std::size_t"""
6102 return _IMP_algebra.GridIndex1D___hash__(self)
6106 """__str__(GridIndex1D self) -> std::string"""
6107 return _IMP_algebra.GridIndex1D___str__(self)
6111 """__repr__(GridIndex1D self) -> std::string"""
6112 return _IMP_algebra.GridIndex1D___repr__(self)
6114 __swig_destroy__ = _IMP_algebra.delete_GridIndex1D
6115 __del__ =
lambda self:
None
6116 GridIndex1D_swigregister = _IMP_algebra.GridIndex1D_swigregister
6117 GridIndex1D_swigregister(GridIndex1D)
6119 class GridIndex2D(IMP._Value):
6120 """Proxy of C++ IMP::algebra::GridIndexD<(2)> class"""
6121 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6123 def __init__(self, *args):
6125 __init__(IMP::algebra::GridIndexD<(2)> self) -> GridIndex2D
6126 __init__(IMP::algebra::GridIndexD<(2)> self, int x) -> GridIndex2D
6127 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y) -> GridIndex2D
6128 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y, int z) -> GridIndex2D
6129 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l) -> GridIndex2D
6130 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m) -> GridIndex2D
6131 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> GridIndex2D
6133 this = _IMP_algebra.new_GridIndex2D(*args)
6135 self.this.append(this)
6139 def get_dimension(self):
6140 """get_dimension(GridIndex2D self) -> unsigned int"""
6141 return _IMP_algebra.GridIndex2D_get_dimension(self)
6144 def __getitem__(self, i):
6145 """__getitem__(GridIndex2D self, unsigned int i) -> int const &"""
6146 return _IMP_algebra.GridIndex2D___getitem__(self, i)
6149 def show(self, *args):
6151 show(GridIndex2D self, _ostream out)
6152 show(GridIndex2D self)
6154 return _IMP_algebra.GridIndex2D_show(self, *args)
6158 """__len__(GridIndex2D self) -> unsigned int"""
6159 return _IMP_algebra.GridIndex2D___len__(self)
6162 def __cmp__(self, o):
6163 """__cmp__(GridIndex2D self, GridIndex2D o) -> int"""
6164 return _IMP_algebra.GridIndex2D___cmp__(self, o)
6167 def __eq__(self, o):
6168 """__eq__(GridIndex2D self, GridIndex2D o) -> bool"""
6169 return _IMP_algebra.GridIndex2D___eq__(self, o)
6172 def __ne__(self, o):
6173 """__ne__(GridIndex2D self, GridIndex2D o) -> bool"""
6174 return _IMP_algebra.GridIndex2D___ne__(self, o)
6177 def __lt__(self, o):
6178 """__lt__(GridIndex2D self, GridIndex2D o) -> bool"""
6179 return _IMP_algebra.GridIndex2D___lt__(self, o)
6182 def __gt__(self, o):
6183 """__gt__(GridIndex2D self, GridIndex2D o) -> bool"""
6184 return _IMP_algebra.GridIndex2D___gt__(self, o)
6187 def __ge__(self, o):
6188 """__ge__(GridIndex2D self, GridIndex2D o) -> bool"""
6189 return _IMP_algebra.GridIndex2D___ge__(self, o)
6192 def __le__(self, o):
6193 """__le__(GridIndex2D self, GridIndex2D o) -> bool"""
6194 return _IMP_algebra.GridIndex2D___le__(self, o)
6198 """__hash__(GridIndex2D self) -> std::size_t"""
6199 return _IMP_algebra.GridIndex2D___hash__(self)
6203 """__str__(GridIndex2D self) -> std::string"""
6204 return _IMP_algebra.GridIndex2D___str__(self)
6208 """__repr__(GridIndex2D self) -> std::string"""
6209 return _IMP_algebra.GridIndex2D___repr__(self)
6211 __swig_destroy__ = _IMP_algebra.delete_GridIndex2D
6212 __del__ =
lambda self:
None
6213 GridIndex2D_swigregister = _IMP_algebra.GridIndex2D_swigregister
6214 GridIndex2D_swigregister(GridIndex2D)
6216 class GridIndex3D(IMP._Value):
6217 """Proxy of C++ IMP::algebra::GridIndexD<(3)> class"""
6218 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6220 def __init__(self, *args):
6222 __init__(IMP::algebra::GridIndexD<(3)> self) -> GridIndex3D
6223 __init__(IMP::algebra::GridIndexD<(3)> self, int x) -> GridIndex3D
6224 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y) -> GridIndex3D
6225 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y, int z) -> GridIndex3D
6226 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l) -> GridIndex3D
6227 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m) -> GridIndex3D
6228 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> GridIndex3D
6230 this = _IMP_algebra.new_GridIndex3D(*args)
6232 self.this.append(this)
6236 def get_dimension(self):
6237 """get_dimension(GridIndex3D self) -> unsigned int"""
6238 return _IMP_algebra.GridIndex3D_get_dimension(self)
6241 def __getitem__(self, i):
6242 """__getitem__(GridIndex3D self, unsigned int i) -> int const &"""
6243 return _IMP_algebra.GridIndex3D___getitem__(self, i)
6246 def show(self, *args):
6248 show(GridIndex3D self, _ostream out)
6249 show(GridIndex3D self)
6251 return _IMP_algebra.GridIndex3D_show(self, *args)
6255 """__len__(GridIndex3D self) -> unsigned int"""
6256 return _IMP_algebra.GridIndex3D___len__(self)
6259 def __cmp__(self, o):
6260 """__cmp__(GridIndex3D self, GridIndex3D o) -> int"""
6261 return _IMP_algebra.GridIndex3D___cmp__(self, o)
6264 def __eq__(self, o):
6265 """__eq__(GridIndex3D self, GridIndex3D o) -> bool"""
6266 return _IMP_algebra.GridIndex3D___eq__(self, o)
6269 def __ne__(self, o):
6270 """__ne__(GridIndex3D self, GridIndex3D o) -> bool"""
6271 return _IMP_algebra.GridIndex3D___ne__(self, o)
6274 def __lt__(self, o):
6275 """__lt__(GridIndex3D self, GridIndex3D o) -> bool"""
6276 return _IMP_algebra.GridIndex3D___lt__(self, o)
6279 def __gt__(self, o):
6280 """__gt__(GridIndex3D self, GridIndex3D o) -> bool"""
6281 return _IMP_algebra.GridIndex3D___gt__(self, o)
6284 def __ge__(self, o):
6285 """__ge__(GridIndex3D self, GridIndex3D o) -> bool"""
6286 return _IMP_algebra.GridIndex3D___ge__(self, o)
6289 def __le__(self, o):
6290 """__le__(GridIndex3D self, GridIndex3D o) -> bool"""
6291 return _IMP_algebra.GridIndex3D___le__(self, o)
6295 """__hash__(GridIndex3D self) -> std::size_t"""
6296 return _IMP_algebra.GridIndex3D___hash__(self)
6300 """__str__(GridIndex3D self) -> std::string"""
6301 return _IMP_algebra.GridIndex3D___str__(self)
6305 """__repr__(GridIndex3D self) -> std::string"""
6306 return _IMP_algebra.GridIndex3D___repr__(self)
6308 __swig_destroy__ = _IMP_algebra.delete_GridIndex3D
6309 __del__ =
lambda self:
None
6310 GridIndex3D_swigregister = _IMP_algebra.GridIndex3D_swigregister
6311 GridIndex3D_swigregister(GridIndex3D)
6313 class GridIndex4D(IMP._Value):
6314 """Proxy of C++ IMP::algebra::GridIndexD<(4)> class"""
6315 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6317 def __init__(self, *args):
6319 __init__(IMP::algebra::GridIndexD<(4)> self) -> GridIndex4D
6320 __init__(IMP::algebra::GridIndexD<(4)> self, int x) -> GridIndex4D
6321 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y) -> GridIndex4D
6322 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y, int z) -> GridIndex4D
6323 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l) -> GridIndex4D
6324 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m) -> GridIndex4D
6325 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> GridIndex4D
6327 this = _IMP_algebra.new_GridIndex4D(*args)
6329 self.this.append(this)
6333 def get_dimension(self):
6334 """get_dimension(GridIndex4D self) -> unsigned int"""
6335 return _IMP_algebra.GridIndex4D_get_dimension(self)
6338 def __getitem__(self, i):
6339 """__getitem__(GridIndex4D self, unsigned int i) -> int const &"""
6340 return _IMP_algebra.GridIndex4D___getitem__(self, i)
6343 def show(self, *args):
6345 show(GridIndex4D self, _ostream out)
6346 show(GridIndex4D self)
6348 return _IMP_algebra.GridIndex4D_show(self, *args)
6352 """__len__(GridIndex4D self) -> unsigned int"""
6353 return _IMP_algebra.GridIndex4D___len__(self)
6356 def __cmp__(self, o):
6357 """__cmp__(GridIndex4D self, GridIndex4D o) -> int"""
6358 return _IMP_algebra.GridIndex4D___cmp__(self, o)
6361 def __eq__(self, o):
6362 """__eq__(GridIndex4D self, GridIndex4D o) -> bool"""
6363 return _IMP_algebra.GridIndex4D___eq__(self, o)
6366 def __ne__(self, o):
6367 """__ne__(GridIndex4D self, GridIndex4D o) -> bool"""
6368 return _IMP_algebra.GridIndex4D___ne__(self, o)
6371 def __lt__(self, o):
6372 """__lt__(GridIndex4D self, GridIndex4D o) -> bool"""
6373 return _IMP_algebra.GridIndex4D___lt__(self, o)
6376 def __gt__(self, o):
6377 """__gt__(GridIndex4D self, GridIndex4D o) -> bool"""
6378 return _IMP_algebra.GridIndex4D___gt__(self, o)
6381 def __ge__(self, o):
6382 """__ge__(GridIndex4D self, GridIndex4D o) -> bool"""
6383 return _IMP_algebra.GridIndex4D___ge__(self, o)
6386 def __le__(self, o):
6387 """__le__(GridIndex4D self, GridIndex4D o) -> bool"""
6388 return _IMP_algebra.GridIndex4D___le__(self, o)
6392 """__hash__(GridIndex4D self) -> std::size_t"""
6393 return _IMP_algebra.GridIndex4D___hash__(self)
6397 """__str__(GridIndex4D self) -> std::string"""
6398 return _IMP_algebra.GridIndex4D___str__(self)
6402 """__repr__(GridIndex4D self) -> std::string"""
6403 return _IMP_algebra.GridIndex4D___repr__(self)
6405 __swig_destroy__ = _IMP_algebra.delete_GridIndex4D
6406 __del__ =
lambda self:
None
6407 GridIndex4D_swigregister = _IMP_algebra.GridIndex4D_swigregister
6408 GridIndex4D_swigregister(GridIndex4D)
6410 class GridIndex5D(IMP._Value):
6411 """Proxy of C++ IMP::algebra::GridIndexD<(5)> class"""
6412 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6414 def __init__(self, *args):
6416 __init__(IMP::algebra::GridIndexD<(5)> self) -> GridIndex5D
6417 __init__(IMP::algebra::GridIndexD<(5)> self, int x) -> GridIndex5D
6418 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y) -> GridIndex5D
6419 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y, int z) -> GridIndex5D
6420 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l) -> GridIndex5D
6421 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m) -> GridIndex5D
6422 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> GridIndex5D
6424 this = _IMP_algebra.new_GridIndex5D(*args)
6426 self.this.append(this)
6430 def get_dimension(self):
6431 """get_dimension(GridIndex5D self) -> unsigned int"""
6432 return _IMP_algebra.GridIndex5D_get_dimension(self)
6435 def __getitem__(self, i):
6436 """__getitem__(GridIndex5D self, unsigned int i) -> int const &"""
6437 return _IMP_algebra.GridIndex5D___getitem__(self, i)
6440 def show(self, *args):
6442 show(GridIndex5D self, _ostream out)
6443 show(GridIndex5D self)
6445 return _IMP_algebra.GridIndex5D_show(self, *args)
6449 """__len__(GridIndex5D self) -> unsigned int"""
6450 return _IMP_algebra.GridIndex5D___len__(self)
6453 def __cmp__(self, o):
6454 """__cmp__(GridIndex5D self, GridIndex5D o) -> int"""
6455 return _IMP_algebra.GridIndex5D___cmp__(self, o)
6458 def __eq__(self, o):
6459 """__eq__(GridIndex5D self, GridIndex5D o) -> bool"""
6460 return _IMP_algebra.GridIndex5D___eq__(self, o)
6463 def __ne__(self, o):
6464 """__ne__(GridIndex5D self, GridIndex5D o) -> bool"""
6465 return _IMP_algebra.GridIndex5D___ne__(self, o)
6468 def __lt__(self, o):
6469 """__lt__(GridIndex5D self, GridIndex5D o) -> bool"""
6470 return _IMP_algebra.GridIndex5D___lt__(self, o)
6473 def __gt__(self, o):
6474 """__gt__(GridIndex5D self, GridIndex5D o) -> bool"""
6475 return _IMP_algebra.GridIndex5D___gt__(self, o)
6478 def __ge__(self, o):
6479 """__ge__(GridIndex5D self, GridIndex5D o) -> bool"""
6480 return _IMP_algebra.GridIndex5D___ge__(self, o)
6483 def __le__(self, o):
6484 """__le__(GridIndex5D self, GridIndex5D o) -> bool"""
6485 return _IMP_algebra.GridIndex5D___le__(self, o)
6489 """__hash__(GridIndex5D self) -> std::size_t"""
6490 return _IMP_algebra.GridIndex5D___hash__(self)
6494 """__str__(GridIndex5D self) -> std::string"""
6495 return _IMP_algebra.GridIndex5D___str__(self)
6499 """__repr__(GridIndex5D self) -> std::string"""
6500 return _IMP_algebra.GridIndex5D___repr__(self)
6502 __swig_destroy__ = _IMP_algebra.delete_GridIndex5D
6503 __del__ =
lambda self:
None
6504 GridIndex5D_swigregister = _IMP_algebra.GridIndex5D_swigregister
6505 GridIndex5D_swigregister(GridIndex5D)
6507 class GridIndex6D(IMP._Value):
6508 """Proxy of C++ IMP::algebra::GridIndexD<(6)> class"""
6509 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6511 def __init__(self, *args):
6513 __init__(IMP::algebra::GridIndexD<(6)> self) -> GridIndex6D
6514 __init__(IMP::algebra::GridIndexD<(6)> self, int x) -> GridIndex6D
6515 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y) -> GridIndex6D
6516 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y, int z) -> GridIndex6D
6517 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l) -> GridIndex6D
6518 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m) -> GridIndex6D
6519 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> GridIndex6D
6521 this = _IMP_algebra.new_GridIndex6D(*args)
6523 self.this.append(this)
6527 def get_dimension(self):
6528 """get_dimension(GridIndex6D self) -> unsigned int"""
6529 return _IMP_algebra.GridIndex6D_get_dimension(self)
6532 def __getitem__(self, i):
6533 """__getitem__(GridIndex6D self, unsigned int i) -> int const &"""
6534 return _IMP_algebra.GridIndex6D___getitem__(self, i)
6537 def show(self, *args):
6539 show(GridIndex6D self, _ostream out)
6540 show(GridIndex6D self)
6542 return _IMP_algebra.GridIndex6D_show(self, *args)
6546 """__len__(GridIndex6D self) -> unsigned int"""
6547 return _IMP_algebra.GridIndex6D___len__(self)
6550 def __cmp__(self, o):
6551 """__cmp__(GridIndex6D self, GridIndex6D o) -> int"""
6552 return _IMP_algebra.GridIndex6D___cmp__(self, o)
6555 def __eq__(self, o):
6556 """__eq__(GridIndex6D self, GridIndex6D o) -> bool"""
6557 return _IMP_algebra.GridIndex6D___eq__(self, o)
6560 def __ne__(self, o):
6561 """__ne__(GridIndex6D self, GridIndex6D o) -> bool"""
6562 return _IMP_algebra.GridIndex6D___ne__(self, o)
6565 def __lt__(self, o):
6566 """__lt__(GridIndex6D self, GridIndex6D o) -> bool"""
6567 return _IMP_algebra.GridIndex6D___lt__(self, o)
6570 def __gt__(self, o):
6571 """__gt__(GridIndex6D self, GridIndex6D o) -> bool"""
6572 return _IMP_algebra.GridIndex6D___gt__(self, o)
6575 def __ge__(self, o):
6576 """__ge__(GridIndex6D self, GridIndex6D o) -> bool"""
6577 return _IMP_algebra.GridIndex6D___ge__(self, o)
6580 def __le__(self, o):
6581 """__le__(GridIndex6D self, GridIndex6D o) -> bool"""
6582 return _IMP_algebra.GridIndex6D___le__(self, o)
6586 """__hash__(GridIndex6D self) -> std::size_t"""
6587 return _IMP_algebra.GridIndex6D___hash__(self)
6591 """__str__(GridIndex6D self) -> std::string"""
6592 return _IMP_algebra.GridIndex6D___str__(self)
6596 """__repr__(GridIndex6D self) -> std::string"""
6597 return _IMP_algebra.GridIndex6D___repr__(self)
6599 __swig_destroy__ = _IMP_algebra.delete_GridIndex6D
6600 __del__ =
lambda self:
None
6601 GridIndex6D_swigregister = _IMP_algebra.GridIndex6D_swigregister
6602 GridIndex6D_swigregister(GridIndex6D)
6604 class GridIndexKD(IMP._Value):
6605 """Proxy of C++ IMP::algebra::GridIndexD<(-1)> class"""
6606 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6608 def __init__(self, *args):
6610 __init__(IMP::algebra::GridIndexD<(-1)> self) -> GridIndexKD
6611 __init__(IMP::algebra::GridIndexD<(-1)> self, int x) -> GridIndexKD
6612 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y) -> GridIndexKD
6613 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y, int z) -> GridIndexKD
6614 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l) -> GridIndexKD
6615 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> GridIndexKD
6616 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> GridIndexKD
6618 this = _IMP_algebra.new_GridIndexKD(*args)
6620 self.this.append(this)
6624 def get_dimension(self):
6625 """get_dimension(GridIndexKD self) -> unsigned int"""
6626 return _IMP_algebra.GridIndexKD_get_dimension(self)
6629 def __getitem__(self, i):
6630 """__getitem__(GridIndexKD self, unsigned int i) -> int const &"""
6631 return _IMP_algebra.GridIndexKD___getitem__(self, i)
6634 def show(self, *args):
6636 show(GridIndexKD self, _ostream out)
6637 show(GridIndexKD self)
6639 return _IMP_algebra.GridIndexKD_show(self, *args)
6643 """__len__(GridIndexKD self) -> unsigned int"""
6644 return _IMP_algebra.GridIndexKD___len__(self)
6647 def __cmp__(self, o):
6648 """__cmp__(GridIndexKD self, GridIndexKD o) -> int"""
6649 return _IMP_algebra.GridIndexKD___cmp__(self, o)
6652 def __eq__(self, o):
6653 """__eq__(GridIndexKD self, GridIndexKD o) -> bool"""
6654 return _IMP_algebra.GridIndexKD___eq__(self, o)
6657 def __ne__(self, o):
6658 """__ne__(GridIndexKD self, GridIndexKD o) -> bool"""
6659 return _IMP_algebra.GridIndexKD___ne__(self, o)
6662 def __lt__(self, o):
6663 """__lt__(GridIndexKD self, GridIndexKD o) -> bool"""
6664 return _IMP_algebra.GridIndexKD___lt__(self, o)
6667 def __gt__(self, o):
6668 """__gt__(GridIndexKD self, GridIndexKD o) -> bool"""
6669 return _IMP_algebra.GridIndexKD___gt__(self, o)
6672 def __ge__(self, o):
6673 """__ge__(GridIndexKD self, GridIndexKD o) -> bool"""
6674 return _IMP_algebra.GridIndexKD___ge__(self, o)
6677 def __le__(self, o):
6678 """__le__(GridIndexKD self, GridIndexKD o) -> bool"""
6679 return _IMP_algebra.GridIndexKD___le__(self, o)
6683 """__hash__(GridIndexKD self) -> std::size_t"""
6684 return _IMP_algebra.GridIndexKD___hash__(self)
6688 """__str__(GridIndexKD self) -> std::string"""
6689 return _IMP_algebra.GridIndexKD___str__(self)
6693 """__repr__(GridIndexKD self) -> std::string"""
6694 return _IMP_algebra.GridIndexKD___repr__(self)
6696 __swig_destroy__ = _IMP_algebra.delete_GridIndexKD
6697 __del__ =
lambda self:
None
6698 GridIndexKD_swigregister = _IMP_algebra.GridIndexKD_swigregister
6699 GridIndexKD_swigregister(GridIndexKD)
6701 class ExtendedGridIndex1D(IMP._Value):
6702 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(1)> class"""
6703 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6705 def __init__(self, *args):
6707 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, IMP::Ints vals) -> ExtendedGridIndex1D
6708 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x) -> ExtendedGridIndex1D
6709 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y) -> ExtendedGridIndex1D
6710 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y, int z) -> ExtendedGridIndex1D
6711 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l) -> ExtendedGridIndex1D
6712 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex1D
6713 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex1D
6714 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self) -> ExtendedGridIndex1D
6716 this = _IMP_algebra.new_ExtendedGridIndex1D(*args)
6718 self.this.append(this)
6722 def get_dimension(self):
6723 """get_dimension(ExtendedGridIndex1D self) -> unsigned int"""
6724 return _IMP_algebra.ExtendedGridIndex1D_get_dimension(self)
6727 def __cmp__(self, o):
6728 """__cmp__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> int"""
6729 return _IMP_algebra.ExtendedGridIndex1D___cmp__(self, o)
6732 def __eq__(self, o):
6733 """__eq__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6734 return _IMP_algebra.ExtendedGridIndex1D___eq__(self, o)
6737 def __ne__(self, o):
6738 """__ne__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6739 return _IMP_algebra.ExtendedGridIndex1D___ne__(self, o)
6742 def __lt__(self, o):
6743 """__lt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6744 return _IMP_algebra.ExtendedGridIndex1D___lt__(self, o)
6747 def __gt__(self, o):
6748 """__gt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6749 return _IMP_algebra.ExtendedGridIndex1D___gt__(self, o)
6752 def __ge__(self, o):
6753 """__ge__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6754 return _IMP_algebra.ExtendedGridIndex1D___ge__(self, o)
6757 def __le__(self, o):
6758 """__le__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6759 return _IMP_algebra.ExtendedGridIndex1D___le__(self, o)
6762 def __setitem__(self, i, v):
6763 """__setitem__(ExtendedGridIndex1D self, unsigned int i, int const & v)"""
6764 return _IMP_algebra.ExtendedGridIndex1D___setitem__(self, i, v)
6767 def __getitem__(self, i):
6768 """__getitem__(ExtendedGridIndex1D self, unsigned int i) -> int const &"""
6769 return _IMP_algebra.ExtendedGridIndex1D___getitem__(self, i)
6772 def show(self, *args):
6774 show(ExtendedGridIndex1D self, _ostream out)
6775 show(ExtendedGridIndex1D self)
6777 return _IMP_algebra.ExtendedGridIndex1D_show(self, *args)
6781 """__len__(ExtendedGridIndex1D self) -> unsigned int"""
6782 return _IMP_algebra.ExtendedGridIndex1D___len__(self)
6786 """__hash__(ExtendedGridIndex1D self) -> std::size_t"""
6787 return _IMP_algebra.ExtendedGridIndex1D___hash__(self)
6790 def get_uniform_offset(self, ii):
6791 """get_uniform_offset(ExtendedGridIndex1D self, int ii) -> ExtendedGridIndex1D"""
6792 return _IMP_algebra.ExtendedGridIndex1D_get_uniform_offset(self, ii)
6795 def get_offset(self, i, j, k):
6796 """get_offset(ExtendedGridIndex1D self, int i, int j, int k) -> ExtendedGridIndex1D"""
6797 return _IMP_algebra.ExtendedGridIndex1D_get_offset(self, i, j, k)
6801 """__str__(ExtendedGridIndex1D self) -> std::string"""
6802 return _IMP_algebra.ExtendedGridIndex1D___str__(self)
6806 """__repr__(ExtendedGridIndex1D self) -> std::string"""
6807 return _IMP_algebra.ExtendedGridIndex1D___repr__(self)
6809 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex1D
6810 __del__ =
lambda self:
None
6811 ExtendedGridIndex1D_swigregister = _IMP_algebra.ExtendedGridIndex1D_swigregister
6812 ExtendedGridIndex1D_swigregister(ExtendedGridIndex1D)
6814 class ExtendedGridIndex2D(IMP._Value):
6815 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(2)> class"""
6816 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6818 def __init__(self, *args):
6820 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, IMP::Ints vals) -> ExtendedGridIndex2D
6821 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x) -> ExtendedGridIndex2D
6822 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y) -> ExtendedGridIndex2D
6823 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y, int z) -> ExtendedGridIndex2D
6824 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l) -> ExtendedGridIndex2D
6825 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex2D
6826 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex2D
6827 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self) -> ExtendedGridIndex2D
6829 this = _IMP_algebra.new_ExtendedGridIndex2D(*args)
6831 self.this.append(this)
6835 def get_dimension(self):
6836 """get_dimension(ExtendedGridIndex2D self) -> unsigned int"""
6837 return _IMP_algebra.ExtendedGridIndex2D_get_dimension(self)
6840 def __cmp__(self, o):
6841 """__cmp__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> int"""
6842 return _IMP_algebra.ExtendedGridIndex2D___cmp__(self, o)
6845 def __eq__(self, o):
6846 """__eq__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6847 return _IMP_algebra.ExtendedGridIndex2D___eq__(self, o)
6850 def __ne__(self, o):
6851 """__ne__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6852 return _IMP_algebra.ExtendedGridIndex2D___ne__(self, o)
6855 def __lt__(self, o):
6856 """__lt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6857 return _IMP_algebra.ExtendedGridIndex2D___lt__(self, o)
6860 def __gt__(self, o):
6861 """__gt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6862 return _IMP_algebra.ExtendedGridIndex2D___gt__(self, o)
6865 def __ge__(self, o):
6866 """__ge__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6867 return _IMP_algebra.ExtendedGridIndex2D___ge__(self, o)
6870 def __le__(self, o):
6871 """__le__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6872 return _IMP_algebra.ExtendedGridIndex2D___le__(self, o)
6875 def __setitem__(self, i, v):
6876 """__setitem__(ExtendedGridIndex2D self, unsigned int i, int const & v)"""
6877 return _IMP_algebra.ExtendedGridIndex2D___setitem__(self, i, v)
6880 def __getitem__(self, i):
6881 """__getitem__(ExtendedGridIndex2D self, unsigned int i) -> int const &"""
6882 return _IMP_algebra.ExtendedGridIndex2D___getitem__(self, i)
6885 def show(self, *args):
6887 show(ExtendedGridIndex2D self, _ostream out)
6888 show(ExtendedGridIndex2D self)
6890 return _IMP_algebra.ExtendedGridIndex2D_show(self, *args)
6894 """__len__(ExtendedGridIndex2D self) -> unsigned int"""
6895 return _IMP_algebra.ExtendedGridIndex2D___len__(self)
6899 """__hash__(ExtendedGridIndex2D self) -> std::size_t"""
6900 return _IMP_algebra.ExtendedGridIndex2D___hash__(self)
6903 def get_uniform_offset(self, ii):
6904 """get_uniform_offset(ExtendedGridIndex2D self, int ii) -> ExtendedGridIndex2D"""
6905 return _IMP_algebra.ExtendedGridIndex2D_get_uniform_offset(self, ii)
6908 def get_offset(self, i, j, k):
6909 """get_offset(ExtendedGridIndex2D self, int i, int j, int k) -> ExtendedGridIndex2D"""
6910 return _IMP_algebra.ExtendedGridIndex2D_get_offset(self, i, j, k)
6914 """__str__(ExtendedGridIndex2D self) -> std::string"""
6915 return _IMP_algebra.ExtendedGridIndex2D___str__(self)
6919 """__repr__(ExtendedGridIndex2D self) -> std::string"""
6920 return _IMP_algebra.ExtendedGridIndex2D___repr__(self)
6922 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex2D
6923 __del__ =
lambda self:
None
6924 ExtendedGridIndex2D_swigregister = _IMP_algebra.ExtendedGridIndex2D_swigregister
6925 ExtendedGridIndex2D_swigregister(ExtendedGridIndex2D)
6927 class ExtendedGridIndex3D(IMP._Value):
6928 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(3)> class"""
6929 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6931 def __init__(self, *args):
6933 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, IMP::Ints vals) -> ExtendedGridIndex3D
6934 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x) -> ExtendedGridIndex3D
6935 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y) -> ExtendedGridIndex3D
6936 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y, int z) -> ExtendedGridIndex3D
6937 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l) -> ExtendedGridIndex3D
6938 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex3D
6939 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex3D
6940 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self) -> ExtendedGridIndex3D
6942 this = _IMP_algebra.new_ExtendedGridIndex3D(*args)
6944 self.this.append(this)
6948 def get_dimension(self):
6949 """get_dimension(ExtendedGridIndex3D self) -> unsigned int"""
6950 return _IMP_algebra.ExtendedGridIndex3D_get_dimension(self)
6953 def __cmp__(self, o):
6954 """__cmp__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> int"""
6955 return _IMP_algebra.ExtendedGridIndex3D___cmp__(self, o)
6958 def __eq__(self, o):
6959 """__eq__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
6960 return _IMP_algebra.ExtendedGridIndex3D___eq__(self, o)
6963 def __ne__(self, o):
6964 """__ne__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
6965 return _IMP_algebra.ExtendedGridIndex3D___ne__(self, o)
6968 def __lt__(self, o):
6969 """__lt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
6970 return _IMP_algebra.ExtendedGridIndex3D___lt__(self, o)
6973 def __gt__(self, o):
6974 """__gt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
6975 return _IMP_algebra.ExtendedGridIndex3D___gt__(self, o)
6978 def __ge__(self, o):
6979 """__ge__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
6980 return _IMP_algebra.ExtendedGridIndex3D___ge__(self, o)
6983 def __le__(self, o):
6984 """__le__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
6985 return _IMP_algebra.ExtendedGridIndex3D___le__(self, o)
6988 def __setitem__(self, i, v):
6989 """__setitem__(ExtendedGridIndex3D self, unsigned int i, int const & v)"""
6990 return _IMP_algebra.ExtendedGridIndex3D___setitem__(self, i, v)
6993 def __getitem__(self, i):
6994 """__getitem__(ExtendedGridIndex3D self, unsigned int i) -> int const &"""
6995 return _IMP_algebra.ExtendedGridIndex3D___getitem__(self, i)
6998 def show(self, *args):
7000 show(ExtendedGridIndex3D self, _ostream out)
7001 show(ExtendedGridIndex3D self)
7003 return _IMP_algebra.ExtendedGridIndex3D_show(self, *args)
7007 """__len__(ExtendedGridIndex3D self) -> unsigned int"""
7008 return _IMP_algebra.ExtendedGridIndex3D___len__(self)
7012 """__hash__(ExtendedGridIndex3D self) -> std::size_t"""
7013 return _IMP_algebra.ExtendedGridIndex3D___hash__(self)
7016 def get_uniform_offset(self, ii):
7017 """get_uniform_offset(ExtendedGridIndex3D self, int ii) -> ExtendedGridIndex3D"""
7018 return _IMP_algebra.ExtendedGridIndex3D_get_uniform_offset(self, ii)
7021 def get_offset(self, i, j, k):
7022 """get_offset(ExtendedGridIndex3D self, int i, int j, int k) -> ExtendedGridIndex3D"""
7023 return _IMP_algebra.ExtendedGridIndex3D_get_offset(self, i, j, k)
7027 """__str__(ExtendedGridIndex3D self) -> std::string"""
7028 return _IMP_algebra.ExtendedGridIndex3D___str__(self)
7032 """__repr__(ExtendedGridIndex3D self) -> std::string"""
7033 return _IMP_algebra.ExtendedGridIndex3D___repr__(self)
7035 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex3D
7036 __del__ =
lambda self:
None
7037 ExtendedGridIndex3D_swigregister = _IMP_algebra.ExtendedGridIndex3D_swigregister
7038 ExtendedGridIndex3D_swigregister(ExtendedGridIndex3D)
7040 class ExtendedGridIndex4D(IMP._Value):
7041 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(4)> class"""
7042 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7044 def __init__(self, *args):
7046 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, IMP::Ints vals) -> ExtendedGridIndex4D
7047 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x) -> ExtendedGridIndex4D
7048 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y) -> ExtendedGridIndex4D
7049 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y, int z) -> ExtendedGridIndex4D
7050 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l) -> ExtendedGridIndex4D
7051 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex4D
7052 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex4D
7053 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self) -> ExtendedGridIndex4D
7055 this = _IMP_algebra.new_ExtendedGridIndex4D(*args)
7057 self.this.append(this)
7061 def get_dimension(self):
7062 """get_dimension(ExtendedGridIndex4D self) -> unsigned int"""
7063 return _IMP_algebra.ExtendedGridIndex4D_get_dimension(self)
7066 def __cmp__(self, o):
7067 """__cmp__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> int"""
7068 return _IMP_algebra.ExtendedGridIndex4D___cmp__(self, o)
7071 def __eq__(self, o):
7072 """__eq__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7073 return _IMP_algebra.ExtendedGridIndex4D___eq__(self, o)
7076 def __ne__(self, o):
7077 """__ne__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7078 return _IMP_algebra.ExtendedGridIndex4D___ne__(self, o)
7081 def __lt__(self, o):
7082 """__lt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7083 return _IMP_algebra.ExtendedGridIndex4D___lt__(self, o)
7086 def __gt__(self, o):
7087 """__gt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7088 return _IMP_algebra.ExtendedGridIndex4D___gt__(self, o)
7091 def __ge__(self, o):
7092 """__ge__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7093 return _IMP_algebra.ExtendedGridIndex4D___ge__(self, o)
7096 def __le__(self, o):
7097 """__le__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7098 return _IMP_algebra.ExtendedGridIndex4D___le__(self, o)
7101 def __setitem__(self, i, v):
7102 """__setitem__(ExtendedGridIndex4D self, unsigned int i, int const & v)"""
7103 return _IMP_algebra.ExtendedGridIndex4D___setitem__(self, i, v)
7106 def __getitem__(self, i):
7107 """__getitem__(ExtendedGridIndex4D self, unsigned int i) -> int const &"""
7108 return _IMP_algebra.ExtendedGridIndex4D___getitem__(self, i)
7111 def show(self, *args):
7113 show(ExtendedGridIndex4D self, _ostream out)
7114 show(ExtendedGridIndex4D self)
7116 return _IMP_algebra.ExtendedGridIndex4D_show(self, *args)
7120 """__len__(ExtendedGridIndex4D self) -> unsigned int"""
7121 return _IMP_algebra.ExtendedGridIndex4D___len__(self)
7125 """__hash__(ExtendedGridIndex4D self) -> std::size_t"""
7126 return _IMP_algebra.ExtendedGridIndex4D___hash__(self)
7129 def get_uniform_offset(self, ii):
7130 """get_uniform_offset(ExtendedGridIndex4D self, int ii) -> ExtendedGridIndex4D"""
7131 return _IMP_algebra.ExtendedGridIndex4D_get_uniform_offset(self, ii)
7134 def get_offset(self, i, j, k):
7135 """get_offset(ExtendedGridIndex4D self, int i, int j, int k) -> ExtendedGridIndex4D"""
7136 return _IMP_algebra.ExtendedGridIndex4D_get_offset(self, i, j, k)
7140 """__str__(ExtendedGridIndex4D self) -> std::string"""
7141 return _IMP_algebra.ExtendedGridIndex4D___str__(self)
7145 """__repr__(ExtendedGridIndex4D self) -> std::string"""
7146 return _IMP_algebra.ExtendedGridIndex4D___repr__(self)
7148 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex4D
7149 __del__ =
lambda self:
None
7150 ExtendedGridIndex4D_swigregister = _IMP_algebra.ExtendedGridIndex4D_swigregister
7151 ExtendedGridIndex4D_swigregister(ExtendedGridIndex4D)
7153 class ExtendedGridIndex5D(IMP._Value):
7154 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(5)> class"""
7155 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7157 def __init__(self, *args):
7159 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, IMP::Ints vals) -> ExtendedGridIndex5D
7160 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x) -> ExtendedGridIndex5D
7161 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y) -> ExtendedGridIndex5D
7162 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y, int z) -> ExtendedGridIndex5D
7163 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l) -> ExtendedGridIndex5D
7164 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex5D
7165 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex5D
7166 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self) -> ExtendedGridIndex5D
7168 this = _IMP_algebra.new_ExtendedGridIndex5D(*args)
7170 self.this.append(this)
7174 def get_dimension(self):
7175 """get_dimension(ExtendedGridIndex5D self) -> unsigned int"""
7176 return _IMP_algebra.ExtendedGridIndex5D_get_dimension(self)
7179 def __cmp__(self, o):
7180 """__cmp__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> int"""
7181 return _IMP_algebra.ExtendedGridIndex5D___cmp__(self, o)
7184 def __eq__(self, o):
7185 """__eq__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7186 return _IMP_algebra.ExtendedGridIndex5D___eq__(self, o)
7189 def __ne__(self, o):
7190 """__ne__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7191 return _IMP_algebra.ExtendedGridIndex5D___ne__(self, o)
7194 def __lt__(self, o):
7195 """__lt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7196 return _IMP_algebra.ExtendedGridIndex5D___lt__(self, o)
7199 def __gt__(self, o):
7200 """__gt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7201 return _IMP_algebra.ExtendedGridIndex5D___gt__(self, o)
7204 def __ge__(self, o):
7205 """__ge__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7206 return _IMP_algebra.ExtendedGridIndex5D___ge__(self, o)
7209 def __le__(self, o):
7210 """__le__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7211 return _IMP_algebra.ExtendedGridIndex5D___le__(self, o)
7214 def __setitem__(self, i, v):
7215 """__setitem__(ExtendedGridIndex5D self, unsigned int i, int const & v)"""
7216 return _IMP_algebra.ExtendedGridIndex5D___setitem__(self, i, v)
7219 def __getitem__(self, i):
7220 """__getitem__(ExtendedGridIndex5D self, unsigned int i) -> int const &"""
7221 return _IMP_algebra.ExtendedGridIndex5D___getitem__(self, i)
7224 def show(self, *args):
7226 show(ExtendedGridIndex5D self, _ostream out)
7227 show(ExtendedGridIndex5D self)
7229 return _IMP_algebra.ExtendedGridIndex5D_show(self, *args)
7233 """__len__(ExtendedGridIndex5D self) -> unsigned int"""
7234 return _IMP_algebra.ExtendedGridIndex5D___len__(self)
7238 """__hash__(ExtendedGridIndex5D self) -> std::size_t"""
7239 return _IMP_algebra.ExtendedGridIndex5D___hash__(self)
7242 def get_uniform_offset(self, ii):
7243 """get_uniform_offset(ExtendedGridIndex5D self, int ii) -> ExtendedGridIndex5D"""
7244 return _IMP_algebra.ExtendedGridIndex5D_get_uniform_offset(self, ii)
7247 def get_offset(self, i, j, k):
7248 """get_offset(ExtendedGridIndex5D self, int i, int j, int k) -> ExtendedGridIndex5D"""
7249 return _IMP_algebra.ExtendedGridIndex5D_get_offset(self, i, j, k)
7253 """__str__(ExtendedGridIndex5D self) -> std::string"""
7254 return _IMP_algebra.ExtendedGridIndex5D___str__(self)
7258 """__repr__(ExtendedGridIndex5D self) -> std::string"""
7259 return _IMP_algebra.ExtendedGridIndex5D___repr__(self)
7261 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex5D
7262 __del__ =
lambda self:
None
7263 ExtendedGridIndex5D_swigregister = _IMP_algebra.ExtendedGridIndex5D_swigregister
7264 ExtendedGridIndex5D_swigregister(ExtendedGridIndex5D)
7266 class ExtendedGridIndex6D(IMP._Value):
7267 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(6)> class"""
7268 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7270 def __init__(self, *args):
7272 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, IMP::Ints vals) -> ExtendedGridIndex6D
7273 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x) -> ExtendedGridIndex6D
7274 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y) -> ExtendedGridIndex6D
7275 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y, int z) -> ExtendedGridIndex6D
7276 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l) -> ExtendedGridIndex6D
7277 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex6D
7278 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex6D
7279 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self) -> ExtendedGridIndex6D
7281 this = _IMP_algebra.new_ExtendedGridIndex6D(*args)
7283 self.this.append(this)
7287 def get_dimension(self):
7288 """get_dimension(ExtendedGridIndex6D self) -> unsigned int"""
7289 return _IMP_algebra.ExtendedGridIndex6D_get_dimension(self)
7292 def __cmp__(self, o):
7293 """__cmp__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> int"""
7294 return _IMP_algebra.ExtendedGridIndex6D___cmp__(self, o)
7297 def __eq__(self, o):
7298 """__eq__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7299 return _IMP_algebra.ExtendedGridIndex6D___eq__(self, o)
7302 def __ne__(self, o):
7303 """__ne__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7304 return _IMP_algebra.ExtendedGridIndex6D___ne__(self, o)
7307 def __lt__(self, o):
7308 """__lt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7309 return _IMP_algebra.ExtendedGridIndex6D___lt__(self, o)
7312 def __gt__(self, o):
7313 """__gt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7314 return _IMP_algebra.ExtendedGridIndex6D___gt__(self, o)
7317 def __ge__(self, o):
7318 """__ge__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7319 return _IMP_algebra.ExtendedGridIndex6D___ge__(self, o)
7322 def __le__(self, o):
7323 """__le__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7324 return _IMP_algebra.ExtendedGridIndex6D___le__(self, o)
7327 def __setitem__(self, i, v):
7328 """__setitem__(ExtendedGridIndex6D self, unsigned int i, int const & v)"""
7329 return _IMP_algebra.ExtendedGridIndex6D___setitem__(self, i, v)
7332 def __getitem__(self, i):
7333 """__getitem__(ExtendedGridIndex6D self, unsigned int i) -> int const &"""
7334 return _IMP_algebra.ExtendedGridIndex6D___getitem__(self, i)
7337 def show(self, *args):
7339 show(ExtendedGridIndex6D self, _ostream out)
7340 show(ExtendedGridIndex6D self)
7342 return _IMP_algebra.ExtendedGridIndex6D_show(self, *args)
7346 """__len__(ExtendedGridIndex6D self) -> unsigned int"""
7347 return _IMP_algebra.ExtendedGridIndex6D___len__(self)
7351 """__hash__(ExtendedGridIndex6D self) -> std::size_t"""
7352 return _IMP_algebra.ExtendedGridIndex6D___hash__(self)
7355 def get_uniform_offset(self, ii):
7356 """get_uniform_offset(ExtendedGridIndex6D self, int ii) -> ExtendedGridIndex6D"""
7357 return _IMP_algebra.ExtendedGridIndex6D_get_uniform_offset(self, ii)
7360 def get_offset(self, i, j, k):
7361 """get_offset(ExtendedGridIndex6D self, int i, int j, int k) -> ExtendedGridIndex6D"""
7362 return _IMP_algebra.ExtendedGridIndex6D_get_offset(self, i, j, k)
7366 """__str__(ExtendedGridIndex6D self) -> std::string"""
7367 return _IMP_algebra.ExtendedGridIndex6D___str__(self)
7371 """__repr__(ExtendedGridIndex6D self) -> std::string"""
7372 return _IMP_algebra.ExtendedGridIndex6D___repr__(self)
7374 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex6D
7375 __del__ =
lambda self:
None
7376 ExtendedGridIndex6D_swigregister = _IMP_algebra.ExtendedGridIndex6D_swigregister
7377 ExtendedGridIndex6D_swigregister(ExtendedGridIndex6D)
7379 class ExtendedGridIndexKD(IMP._Value):
7380 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(-1)> class"""
7381 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7383 def __init__(self, *args):
7385 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, IMP::Ints vals) -> ExtendedGridIndexKD
7386 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x) -> ExtendedGridIndexKD
7387 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y) -> ExtendedGridIndexKD
7388 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y, int z) -> ExtendedGridIndexKD
7389 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l) -> ExtendedGridIndexKD
7390 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndexKD
7391 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndexKD
7392 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self) -> ExtendedGridIndexKD
7394 this = _IMP_algebra.new_ExtendedGridIndexKD(*args)
7396 self.this.append(this)
7400 def get_dimension(self):
7401 """get_dimension(ExtendedGridIndexKD self) -> unsigned int"""
7402 return _IMP_algebra.ExtendedGridIndexKD_get_dimension(self)
7405 def __cmp__(self, o):
7406 """__cmp__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> int"""
7407 return _IMP_algebra.ExtendedGridIndexKD___cmp__(self, o)
7410 def __eq__(self, o):
7411 """__eq__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7412 return _IMP_algebra.ExtendedGridIndexKD___eq__(self, o)
7415 def __ne__(self, o):
7416 """__ne__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7417 return _IMP_algebra.ExtendedGridIndexKD___ne__(self, o)
7420 def __lt__(self, o):
7421 """__lt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7422 return _IMP_algebra.ExtendedGridIndexKD___lt__(self, o)
7425 def __gt__(self, o):
7426 """__gt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7427 return _IMP_algebra.ExtendedGridIndexKD___gt__(self, o)
7430 def __ge__(self, o):
7431 """__ge__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7432 return _IMP_algebra.ExtendedGridIndexKD___ge__(self, o)
7435 def __le__(self, o):
7436 """__le__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7437 return _IMP_algebra.ExtendedGridIndexKD___le__(self, o)
7440 def __setitem__(self, i, v):
7441 """__setitem__(ExtendedGridIndexKD self, unsigned int i, int const & v)"""
7442 return _IMP_algebra.ExtendedGridIndexKD___setitem__(self, i, v)
7445 def __getitem__(self, i):
7446 """__getitem__(ExtendedGridIndexKD self, unsigned int i) -> int const &"""
7447 return _IMP_algebra.ExtendedGridIndexKD___getitem__(self, i)
7450 def show(self, *args):
7452 show(ExtendedGridIndexKD self, _ostream out)
7453 show(ExtendedGridIndexKD self)
7455 return _IMP_algebra.ExtendedGridIndexKD_show(self, *args)
7459 """__len__(ExtendedGridIndexKD self) -> unsigned int"""
7460 return _IMP_algebra.ExtendedGridIndexKD___len__(self)
7464 """__hash__(ExtendedGridIndexKD self) -> std::size_t"""
7465 return _IMP_algebra.ExtendedGridIndexKD___hash__(self)
7468 def get_uniform_offset(self, ii):
7469 """get_uniform_offset(ExtendedGridIndexKD self, int ii) -> ExtendedGridIndexKD"""
7470 return _IMP_algebra.ExtendedGridIndexKD_get_uniform_offset(self, ii)
7473 def get_offset(self, i, j, k):
7474 """get_offset(ExtendedGridIndexKD self, int i, int j, int k) -> ExtendedGridIndexKD"""
7475 return _IMP_algebra.ExtendedGridIndexKD_get_offset(self, i, j, k)
7479 """__str__(ExtendedGridIndexKD self) -> std::string"""
7480 return _IMP_algebra.ExtendedGridIndexKD___str__(self)
7484 """__repr__(ExtendedGridIndexKD self) -> std::string"""
7485 return _IMP_algebra.ExtendedGridIndexKD___repr__(self)
7487 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndexKD
7488 __del__ =
lambda self:
None
7489 ExtendedGridIndexKD_swigregister = _IMP_algebra.ExtendedGridIndexKD_swigregister
7490 ExtendedGridIndexKD_swigregister(ExtendedGridIndexKD)
7492 class BoundedGridRange1D(object):
7493 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(1)> class"""
7494 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7496 def get_is_bounded():
7497 """get_is_bounded() -> bool"""
7498 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
7500 get_is_bounded = staticmethod(get_is_bounded)
7502 def __init__(self, *args):
7504 __init__(IMP::algebra::BoundedGridRangeD<(1)> self) -> BoundedGridRange1D
7505 __init__(IMP::algebra::BoundedGridRangeD<(1)> self, IMP::Ints const & counts) -> BoundedGridRange1D
7507 this = _IMP_algebra.new_BoundedGridRange1D(*args)
7509 self.this.append(this)
7513 def get_number_of_voxels(self, *args):
7515 get_number_of_voxels(BoundedGridRange1D self, unsigned int i) -> unsigned int
7516 get_number_of_voxels(BoundedGridRange1D self) -> unsigned int
7518 return _IMP_algebra.BoundedGridRange1D_get_number_of_voxels(self, *args)
7521 def get_end_index(self):
7522 """get_end_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7523 return _IMP_algebra.BoundedGridRange1D_get_end_index(self)
7526 def show(self, *args):
7528 show(BoundedGridRange1D self, _ostream out)
7529 show(BoundedGridRange1D self)
7531 return _IMP_algebra.BoundedGridRange1D_show(self, *args)
7534 def get_all_indexes(self):
7535 """get_all_indexes(BoundedGridRange1D self) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
7536 return _IMP_algebra.BoundedGridRange1D_get_all_indexes(self)
7540 """get_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
7541 return _IMP_algebra.BoundedGridRange1D_get_indexes(self, lb, ub)
7544 def get_extended_indexes(self, lb, ub):
7545 """get_extended_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
7546 return _IMP_algebra.BoundedGridRange1D_get_extended_indexes(self, lb, ub)
7550 """get_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> GridIndex1D"""
7551 return _IMP_algebra.BoundedGridRange1D_get_index(self, v)
7554 def get_has_index(self, v):
7555 """get_has_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> bool"""
7556 return _IMP_algebra.BoundedGridRange1D_get_has_index(self, v)
7559 def get_minimum_extended_index(self):
7560 """get_minimum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7561 return _IMP_algebra.BoundedGridRange1D_get_minimum_extended_index(self)
7564 def get_maximum_extended_index(self):
7565 """get_maximum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7566 return _IMP_algebra.BoundedGridRange1D_get_maximum_extended_index(self)
7570 """__str__(BoundedGridRange1D self) -> std::string"""
7571 return _IMP_algebra.BoundedGridRange1D___str__(self)
7575 """__repr__(BoundedGridRange1D self) -> std::string"""
7576 return _IMP_algebra.BoundedGridRange1D___repr__(self)
7579 def __cmp__(self, arg2):
7580 """__cmp__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> int"""
7581 return _IMP_algebra.BoundedGridRange1D___cmp__(self, arg2)
7584 def __eq__(self, arg2):
7585 """__eq__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> bool"""
7586 return _IMP_algebra.BoundedGridRange1D___eq__(self, arg2)
7588 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange1D
7589 __del__ =
lambda self:
None
7590 BoundedGridRange1D_swigregister = _IMP_algebra.BoundedGridRange1D_swigregister
7591 BoundedGridRange1D_swigregister(BoundedGridRange1D)
7593 def BoundedGridRange1D_get_is_bounded():
7594 """BoundedGridRange1D_get_is_bounded() -> bool"""
7595 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
7597 class BoundedGridRange2D(object):
7598 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(2)> class"""
7599 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7601 def get_is_bounded():
7602 """get_is_bounded() -> bool"""
7603 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
7605 get_is_bounded = staticmethod(get_is_bounded)
7607 def __init__(self, *args):
7609 __init__(IMP::algebra::BoundedGridRangeD<(2)> self) -> BoundedGridRange2D
7610 __init__(IMP::algebra::BoundedGridRangeD<(2)> self, IMP::Ints const & counts) -> BoundedGridRange2D
7612 this = _IMP_algebra.new_BoundedGridRange2D(*args)
7614 self.this.append(this)
7618 def get_number_of_voxels(self, *args):
7620 get_number_of_voxels(BoundedGridRange2D self, unsigned int i) -> unsigned int
7621 get_number_of_voxels(BoundedGridRange2D self) -> unsigned int
7623 return _IMP_algebra.BoundedGridRange2D_get_number_of_voxels(self, *args)
7626 def get_end_index(self):
7627 """get_end_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7628 return _IMP_algebra.BoundedGridRange2D_get_end_index(self)
7631 def show(self, *args):
7633 show(BoundedGridRange2D self, _ostream out)
7634 show(BoundedGridRange2D self)
7636 return _IMP_algebra.BoundedGridRange2D_show(self, *args)
7639 def get_all_indexes(self):
7640 """get_all_indexes(BoundedGridRange2D self) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
7641 return _IMP_algebra.BoundedGridRange2D_get_all_indexes(self)
7645 """get_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
7646 return _IMP_algebra.BoundedGridRange2D_get_indexes(self, lb, ub)
7649 def get_extended_indexes(self, lb, ub):
7650 """get_extended_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
7651 return _IMP_algebra.BoundedGridRange2D_get_extended_indexes(self, lb, ub)
7655 """get_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> GridIndex2D"""
7656 return _IMP_algebra.BoundedGridRange2D_get_index(self, v)
7659 def get_has_index(self, v):
7660 """get_has_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> bool"""
7661 return _IMP_algebra.BoundedGridRange2D_get_has_index(self, v)
7664 def get_minimum_extended_index(self):
7665 """get_minimum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7666 return _IMP_algebra.BoundedGridRange2D_get_minimum_extended_index(self)
7669 def get_maximum_extended_index(self):
7670 """get_maximum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7671 return _IMP_algebra.BoundedGridRange2D_get_maximum_extended_index(self)
7675 """__str__(BoundedGridRange2D self) -> std::string"""
7676 return _IMP_algebra.BoundedGridRange2D___str__(self)
7680 """__repr__(BoundedGridRange2D self) -> std::string"""
7681 return _IMP_algebra.BoundedGridRange2D___repr__(self)
7684 def __cmp__(self, arg2):
7685 """__cmp__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> int"""
7686 return _IMP_algebra.BoundedGridRange2D___cmp__(self, arg2)
7689 def __eq__(self, arg2):
7690 """__eq__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> bool"""
7691 return _IMP_algebra.BoundedGridRange2D___eq__(self, arg2)
7693 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange2D
7694 __del__ =
lambda self:
None
7695 BoundedGridRange2D_swigregister = _IMP_algebra.BoundedGridRange2D_swigregister
7696 BoundedGridRange2D_swigregister(BoundedGridRange2D)
7698 def BoundedGridRange2D_get_is_bounded():
7699 """BoundedGridRange2D_get_is_bounded() -> bool"""
7700 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
7702 class BoundedGridRange3D(object):
7703 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(3)> class"""
7704 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7706 def get_is_bounded():
7707 """get_is_bounded() -> bool"""
7708 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
7710 get_is_bounded = staticmethod(get_is_bounded)
7712 def __init__(self, *args):
7714 __init__(IMP::algebra::BoundedGridRangeD<(3)> self) -> BoundedGridRange3D
7715 __init__(IMP::algebra::BoundedGridRangeD<(3)> self, IMP::Ints const & counts) -> BoundedGridRange3D
7717 this = _IMP_algebra.new_BoundedGridRange3D(*args)
7719 self.this.append(this)
7723 def get_number_of_voxels(self, *args):
7725 get_number_of_voxels(BoundedGridRange3D self, unsigned int i) -> unsigned int
7726 get_number_of_voxels(BoundedGridRange3D self) -> unsigned int
7728 return _IMP_algebra.BoundedGridRange3D_get_number_of_voxels(self, *args)
7731 def get_end_index(self):
7732 """get_end_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7733 return _IMP_algebra.BoundedGridRange3D_get_end_index(self)
7736 def show(self, *args):
7738 show(BoundedGridRange3D self, _ostream out)
7739 show(BoundedGridRange3D self)
7741 return _IMP_algebra.BoundedGridRange3D_show(self, *args)
7744 def get_all_indexes(self):
7745 """get_all_indexes(BoundedGridRange3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
7746 return _IMP_algebra.BoundedGridRange3D_get_all_indexes(self)
7750 """get_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
7751 return _IMP_algebra.BoundedGridRange3D_get_indexes(self, lb, ub)
7754 def get_extended_indexes(self, lb, ub):
7755 """get_extended_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
7756 return _IMP_algebra.BoundedGridRange3D_get_extended_indexes(self, lb, ub)
7760 """get_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
7761 return _IMP_algebra.BoundedGridRange3D_get_index(self, v)
7764 def get_has_index(self, v):
7765 """get_has_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> bool"""
7766 return _IMP_algebra.BoundedGridRange3D_get_has_index(self, v)
7769 def get_minimum_extended_index(self):
7770 """get_minimum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7771 return _IMP_algebra.BoundedGridRange3D_get_minimum_extended_index(self)
7774 def get_maximum_extended_index(self):
7775 """get_maximum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7776 return _IMP_algebra.BoundedGridRange3D_get_maximum_extended_index(self)
7780 """__str__(BoundedGridRange3D self) -> std::string"""
7781 return _IMP_algebra.BoundedGridRange3D___str__(self)
7785 """__repr__(BoundedGridRange3D self) -> std::string"""
7786 return _IMP_algebra.BoundedGridRange3D___repr__(self)
7789 def __cmp__(self, arg2):
7790 """__cmp__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> int"""
7791 return _IMP_algebra.BoundedGridRange3D___cmp__(self, arg2)
7794 def __eq__(self, arg2):
7795 """__eq__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> bool"""
7796 return _IMP_algebra.BoundedGridRange3D___eq__(self, arg2)
7798 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange3D
7799 __del__ =
lambda self:
None
7800 BoundedGridRange3D_swigregister = _IMP_algebra.BoundedGridRange3D_swigregister
7801 BoundedGridRange3D_swigregister(BoundedGridRange3D)
7803 def BoundedGridRange3D_get_is_bounded():
7804 """BoundedGridRange3D_get_is_bounded() -> bool"""
7805 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
7807 class BoundedGridRange4D(object):
7808 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(4)> class"""
7809 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7811 def get_is_bounded():
7812 """get_is_bounded() -> bool"""
7813 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
7815 get_is_bounded = staticmethod(get_is_bounded)
7817 def __init__(self, *args):
7819 __init__(IMP::algebra::BoundedGridRangeD<(4)> self) -> BoundedGridRange4D
7820 __init__(IMP::algebra::BoundedGridRangeD<(4)> self, IMP::Ints const & counts) -> BoundedGridRange4D
7822 this = _IMP_algebra.new_BoundedGridRange4D(*args)
7824 self.this.append(this)
7828 def get_number_of_voxels(self, *args):
7830 get_number_of_voxels(BoundedGridRange4D self, unsigned int i) -> unsigned int
7831 get_number_of_voxels(BoundedGridRange4D self) -> unsigned int
7833 return _IMP_algebra.BoundedGridRange4D_get_number_of_voxels(self, *args)
7836 def get_end_index(self):
7837 """get_end_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
7838 return _IMP_algebra.BoundedGridRange4D_get_end_index(self)
7841 def show(self, *args):
7843 show(BoundedGridRange4D self, _ostream out)
7844 show(BoundedGridRange4D self)
7846 return _IMP_algebra.BoundedGridRange4D_show(self, *args)
7849 def get_all_indexes(self):
7850 """get_all_indexes(BoundedGridRange4D self) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
7851 return _IMP_algebra.BoundedGridRange4D_get_all_indexes(self)
7855 """get_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
7856 return _IMP_algebra.BoundedGridRange4D_get_indexes(self, lb, ub)
7859 def get_extended_indexes(self, lb, ub):
7860 """get_extended_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
7861 return _IMP_algebra.BoundedGridRange4D_get_extended_indexes(self, lb, ub)
7865 """get_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> GridIndex4D"""
7866 return _IMP_algebra.BoundedGridRange4D_get_index(self, v)
7869 def get_has_index(self, v):
7870 """get_has_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> bool"""
7871 return _IMP_algebra.BoundedGridRange4D_get_has_index(self, v)
7874 def get_minimum_extended_index(self):
7875 """get_minimum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
7876 return _IMP_algebra.BoundedGridRange4D_get_minimum_extended_index(self)
7879 def get_maximum_extended_index(self):
7880 """get_maximum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
7881 return _IMP_algebra.BoundedGridRange4D_get_maximum_extended_index(self)
7885 """__str__(BoundedGridRange4D self) -> std::string"""
7886 return _IMP_algebra.BoundedGridRange4D___str__(self)
7890 """__repr__(BoundedGridRange4D self) -> std::string"""
7891 return _IMP_algebra.BoundedGridRange4D___repr__(self)
7894 def __cmp__(self, arg2):
7895 """__cmp__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> int"""
7896 return _IMP_algebra.BoundedGridRange4D___cmp__(self, arg2)
7899 def __eq__(self, arg2):
7900 """__eq__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> bool"""
7901 return _IMP_algebra.BoundedGridRange4D___eq__(self, arg2)
7903 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange4D
7904 __del__ =
lambda self:
None
7905 BoundedGridRange4D_swigregister = _IMP_algebra.BoundedGridRange4D_swigregister
7906 BoundedGridRange4D_swigregister(BoundedGridRange4D)
7908 def BoundedGridRange4D_get_is_bounded():
7909 """BoundedGridRange4D_get_is_bounded() -> bool"""
7910 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
7912 class BoundedGridRange5D(object):
7913 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(5)> class"""
7914 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7916 def get_is_bounded():
7917 """get_is_bounded() -> bool"""
7918 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
7920 get_is_bounded = staticmethod(get_is_bounded)
7922 def __init__(self, *args):
7924 __init__(IMP::algebra::BoundedGridRangeD<(5)> self) -> BoundedGridRange5D
7925 __init__(IMP::algebra::BoundedGridRangeD<(5)> self, IMP::Ints const & counts) -> BoundedGridRange5D
7927 this = _IMP_algebra.new_BoundedGridRange5D(*args)
7929 self.this.append(this)
7933 def get_number_of_voxels(self, *args):
7935 get_number_of_voxels(BoundedGridRange5D self, unsigned int i) -> unsigned int
7936 get_number_of_voxels(BoundedGridRange5D self) -> unsigned int
7938 return _IMP_algebra.BoundedGridRange5D_get_number_of_voxels(self, *args)
7941 def get_end_index(self):
7942 """get_end_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
7943 return _IMP_algebra.BoundedGridRange5D_get_end_index(self)
7946 def show(self, *args):
7948 show(BoundedGridRange5D self, _ostream out)
7949 show(BoundedGridRange5D self)
7951 return _IMP_algebra.BoundedGridRange5D_show(self, *args)
7954 def get_all_indexes(self):
7955 """get_all_indexes(BoundedGridRange5D self) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
7956 return _IMP_algebra.BoundedGridRange5D_get_all_indexes(self)
7960 """get_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
7961 return _IMP_algebra.BoundedGridRange5D_get_indexes(self, lb, ub)
7964 def get_extended_indexes(self, lb, ub):
7965 """get_extended_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
7966 return _IMP_algebra.BoundedGridRange5D_get_extended_indexes(self, lb, ub)
7970 """get_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> GridIndex5D"""
7971 return _IMP_algebra.BoundedGridRange5D_get_index(self, v)
7974 def get_has_index(self, v):
7975 """get_has_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> bool"""
7976 return _IMP_algebra.BoundedGridRange5D_get_has_index(self, v)
7979 def get_minimum_extended_index(self):
7980 """get_minimum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
7981 return _IMP_algebra.BoundedGridRange5D_get_minimum_extended_index(self)
7984 def get_maximum_extended_index(self):
7985 """get_maximum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
7986 return _IMP_algebra.BoundedGridRange5D_get_maximum_extended_index(self)
7990 """__str__(BoundedGridRange5D self) -> std::string"""
7991 return _IMP_algebra.BoundedGridRange5D___str__(self)
7995 """__repr__(BoundedGridRange5D self) -> std::string"""
7996 return _IMP_algebra.BoundedGridRange5D___repr__(self)
7999 def __cmp__(self, arg2):
8000 """__cmp__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> int"""
8001 return _IMP_algebra.BoundedGridRange5D___cmp__(self, arg2)
8004 def __eq__(self, arg2):
8005 """__eq__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> bool"""
8006 return _IMP_algebra.BoundedGridRange5D___eq__(self, arg2)
8008 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange5D
8009 __del__ =
lambda self:
None
8010 BoundedGridRange5D_swigregister = _IMP_algebra.BoundedGridRange5D_swigregister
8011 BoundedGridRange5D_swigregister(BoundedGridRange5D)
8013 def BoundedGridRange5D_get_is_bounded():
8014 """BoundedGridRange5D_get_is_bounded() -> bool"""
8015 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8017 class BoundedGridRange6D(object):
8018 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(6)> class"""
8019 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8021 def get_is_bounded():
8022 """get_is_bounded() -> bool"""
8023 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8025 get_is_bounded = staticmethod(get_is_bounded)
8027 def __init__(self, *args):
8029 __init__(IMP::algebra::BoundedGridRangeD<(6)> self) -> BoundedGridRange6D
8030 __init__(IMP::algebra::BoundedGridRangeD<(6)> self, IMP::Ints const & counts) -> BoundedGridRange6D
8032 this = _IMP_algebra.new_BoundedGridRange6D(*args)
8034 self.this.append(this)
8038 def get_number_of_voxels(self, *args):
8040 get_number_of_voxels(BoundedGridRange6D self, unsigned int i) -> unsigned int
8041 get_number_of_voxels(BoundedGridRange6D self) -> unsigned int
8043 return _IMP_algebra.BoundedGridRange6D_get_number_of_voxels(self, *args)
8046 def get_end_index(self):
8047 """get_end_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8048 return _IMP_algebra.BoundedGridRange6D_get_end_index(self)
8051 def show(self, *args):
8053 show(BoundedGridRange6D self, _ostream out)
8054 show(BoundedGridRange6D self)
8056 return _IMP_algebra.BoundedGridRange6D_show(self, *args)
8059 def get_all_indexes(self):
8060 """get_all_indexes(BoundedGridRange6D self) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8061 return _IMP_algebra.BoundedGridRange6D_get_all_indexes(self)
8065 """get_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8066 return _IMP_algebra.BoundedGridRange6D_get_indexes(self, lb, ub)
8069 def get_extended_indexes(self, lb, ub):
8070 """get_extended_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
8071 return _IMP_algebra.BoundedGridRange6D_get_extended_indexes(self, lb, ub)
8075 """get_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> GridIndex6D"""
8076 return _IMP_algebra.BoundedGridRange6D_get_index(self, v)
8079 def get_has_index(self, v):
8080 """get_has_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> bool"""
8081 return _IMP_algebra.BoundedGridRange6D_get_has_index(self, v)
8084 def get_minimum_extended_index(self):
8085 """get_minimum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8086 return _IMP_algebra.BoundedGridRange6D_get_minimum_extended_index(self)
8089 def get_maximum_extended_index(self):
8090 """get_maximum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8091 return _IMP_algebra.BoundedGridRange6D_get_maximum_extended_index(self)
8095 """__str__(BoundedGridRange6D self) -> std::string"""
8096 return _IMP_algebra.BoundedGridRange6D___str__(self)
8100 """__repr__(BoundedGridRange6D self) -> std::string"""
8101 return _IMP_algebra.BoundedGridRange6D___repr__(self)
8104 def __cmp__(self, arg2):
8105 """__cmp__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> int"""
8106 return _IMP_algebra.BoundedGridRange6D___cmp__(self, arg2)
8109 def __eq__(self, arg2):
8110 """__eq__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> bool"""
8111 return _IMP_algebra.BoundedGridRange6D___eq__(self, arg2)
8113 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange6D
8114 __del__ =
lambda self:
None
8115 BoundedGridRange6D_swigregister = _IMP_algebra.BoundedGridRange6D_swigregister
8116 BoundedGridRange6D_swigregister(BoundedGridRange6D)
8118 def BoundedGridRange6D_get_is_bounded():
8119 """BoundedGridRange6D_get_is_bounded() -> bool"""
8120 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8122 class BoundedGridRangeKD(object):
8123 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(-1)> class"""
8124 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8126 def get_is_bounded():
8127 """get_is_bounded() -> bool"""
8128 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8130 get_is_bounded = staticmethod(get_is_bounded)
8132 def __init__(self, *args):
8134 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self) -> BoundedGridRangeKD
8135 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self, IMP::Ints const & counts) -> BoundedGridRangeKD
8137 this = _IMP_algebra.new_BoundedGridRangeKD(*args)
8139 self.this.append(this)
8143 def get_number_of_voxels(self, *args):
8145 get_number_of_voxels(BoundedGridRangeKD self, unsigned int i) -> unsigned int
8146 get_number_of_voxels(BoundedGridRangeKD self) -> unsigned int
8148 return _IMP_algebra.BoundedGridRangeKD_get_number_of_voxels(self, *args)
8151 def get_end_index(self):
8152 """get_end_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8153 return _IMP_algebra.BoundedGridRangeKD_get_end_index(self)
8156 def show(self, *args):
8158 show(BoundedGridRangeKD self, _ostream out)
8159 show(BoundedGridRangeKD self)
8161 return _IMP_algebra.BoundedGridRangeKD_show(self, *args)
8164 def get_all_indexes(self):
8165 """get_all_indexes(BoundedGridRangeKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8166 return _IMP_algebra.BoundedGridRangeKD_get_all_indexes(self)
8170 """get_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8171 return _IMP_algebra.BoundedGridRangeKD_get_indexes(self, lb, ub)
8174 def get_extended_indexes(self, lb, ub):
8175 """get_extended_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
8176 return _IMP_algebra.BoundedGridRangeKD_get_extended_indexes(self, lb, ub)
8180 """get_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
8181 return _IMP_algebra.BoundedGridRangeKD_get_index(self, v)
8184 def get_has_index(self, v):
8185 """get_has_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> bool"""
8186 return _IMP_algebra.BoundedGridRangeKD_get_has_index(self, v)
8189 def get_minimum_extended_index(self):
8190 """get_minimum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8191 return _IMP_algebra.BoundedGridRangeKD_get_minimum_extended_index(self)
8194 def get_maximum_extended_index(self):
8195 """get_maximum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8196 return _IMP_algebra.BoundedGridRangeKD_get_maximum_extended_index(self)
8200 """__str__(BoundedGridRangeKD self) -> std::string"""
8201 return _IMP_algebra.BoundedGridRangeKD___str__(self)
8205 """__repr__(BoundedGridRangeKD self) -> std::string"""
8206 return _IMP_algebra.BoundedGridRangeKD___repr__(self)
8209 def __cmp__(self, arg2):
8210 """__cmp__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> int"""
8211 return _IMP_algebra.BoundedGridRangeKD___cmp__(self, arg2)
8214 def __eq__(self, arg2):
8215 """__eq__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> bool"""
8216 return _IMP_algebra.BoundedGridRangeKD___eq__(self, arg2)
8218 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRangeKD
8219 __del__ =
lambda self:
None
8220 BoundedGridRangeKD_swigregister = _IMP_algebra.BoundedGridRangeKD_swigregister
8221 BoundedGridRangeKD_swigregister(BoundedGridRangeKD)
8223 def BoundedGridRangeKD_get_is_bounded():
8224 """BoundedGridRangeKD_get_is_bounded() -> bool"""
8225 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8227 class UnboundedGridRange1D(object):
8228 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(1)> class"""
8229 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8231 def __init__(self, *args):
8233 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self) -> UnboundedGridRange1D
8234 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self, IMP::Ints const & arg2) -> UnboundedGridRange1D
8236 this = _IMP_algebra.new_UnboundedGridRange1D(*args)
8238 self.this.append(this)
8242 def set_number_of_voxels(self, arg2):
8243 """set_number_of_voxels(UnboundedGridRange1D self, IMP::Ints arg2)"""
8244 return _IMP_algebra.UnboundedGridRange1D_set_number_of_voxels(self, arg2)
8247 def get_number_of_voxels(self, arg2):
8248 """get_number_of_voxels(UnboundedGridRange1D self, int arg2) -> unsigned int"""
8249 return _IMP_algebra.UnboundedGridRange1D_get_number_of_voxels(self, arg2)
8252 def get_is_bounded():
8253 """get_is_bounded() -> bool"""
8254 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
8256 get_is_bounded = staticmethod(get_is_bounded)
8258 def get_has_index(self, arg2):
8259 """get_has_index(UnboundedGridRange1D self, ExtendedGridIndex1D arg2) -> bool"""
8260 return _IMP_algebra.UnboundedGridRange1D_get_has_index(self, arg2)
8263 def show(self, *args):
8265 show(UnboundedGridRange1D self, _ostream out)
8266 show(UnboundedGridRange1D self)
8268 return _IMP_algebra.UnboundedGridRange1D_show(self, *args)
8271 def get_extended_indexes(self, lb, ub):
8272 """get_extended_indexes(UnboundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
8273 return _IMP_algebra.UnboundedGridRange1D_get_extended_indexes(self, lb, ub)
8277 """__str__(UnboundedGridRange1D self) -> std::string"""
8278 return _IMP_algebra.UnboundedGridRange1D___str__(self)
8282 """__repr__(UnboundedGridRange1D self) -> std::string"""
8283 return _IMP_algebra.UnboundedGridRange1D___repr__(self)
8286 def __cmp__(self, arg2):
8287 """__cmp__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> int"""
8288 return _IMP_algebra.UnboundedGridRange1D___cmp__(self, arg2)
8291 def __eq__(self, arg2):
8292 """__eq__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> bool"""
8293 return _IMP_algebra.UnboundedGridRange1D___eq__(self, arg2)
8295 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange1D
8296 __del__ =
lambda self:
None
8297 UnboundedGridRange1D_swigregister = _IMP_algebra.UnboundedGridRange1D_swigregister
8298 UnboundedGridRange1D_swigregister(UnboundedGridRange1D)
8300 def UnboundedGridRange1D_get_is_bounded():
8301 """UnboundedGridRange1D_get_is_bounded() -> bool"""
8302 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
8304 class UnboundedGridRange2D(object):
8305 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(2)> class"""
8306 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8308 def __init__(self, *args):
8310 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self) -> UnboundedGridRange2D
8311 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self, IMP::Ints const & arg2) -> UnboundedGridRange2D
8313 this = _IMP_algebra.new_UnboundedGridRange2D(*args)
8315 self.this.append(this)
8319 def set_number_of_voxels(self, arg2):
8320 """set_number_of_voxels(UnboundedGridRange2D self, IMP::Ints arg2)"""
8321 return _IMP_algebra.UnboundedGridRange2D_set_number_of_voxels(self, arg2)
8324 def get_number_of_voxels(self, arg2):
8325 """get_number_of_voxels(UnboundedGridRange2D self, int arg2) -> unsigned int"""
8326 return _IMP_algebra.UnboundedGridRange2D_get_number_of_voxels(self, arg2)
8329 def get_is_bounded():
8330 """get_is_bounded() -> bool"""
8331 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
8333 get_is_bounded = staticmethod(get_is_bounded)
8335 def get_has_index(self, arg2):
8336 """get_has_index(UnboundedGridRange2D self, ExtendedGridIndex2D arg2) -> bool"""
8337 return _IMP_algebra.UnboundedGridRange2D_get_has_index(self, arg2)
8340 def show(self, *args):
8342 show(UnboundedGridRange2D self, _ostream out)
8343 show(UnboundedGridRange2D self)
8345 return _IMP_algebra.UnboundedGridRange2D_show(self, *args)
8348 def get_extended_indexes(self, lb, ub):
8349 """get_extended_indexes(UnboundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
8350 return _IMP_algebra.UnboundedGridRange2D_get_extended_indexes(self, lb, ub)
8354 """__str__(UnboundedGridRange2D self) -> std::string"""
8355 return _IMP_algebra.UnboundedGridRange2D___str__(self)
8359 """__repr__(UnboundedGridRange2D self) -> std::string"""
8360 return _IMP_algebra.UnboundedGridRange2D___repr__(self)
8363 def __cmp__(self, arg2):
8364 """__cmp__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> int"""
8365 return _IMP_algebra.UnboundedGridRange2D___cmp__(self, arg2)
8368 def __eq__(self, arg2):
8369 """__eq__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> bool"""
8370 return _IMP_algebra.UnboundedGridRange2D___eq__(self, arg2)
8372 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange2D
8373 __del__ =
lambda self:
None
8374 UnboundedGridRange2D_swigregister = _IMP_algebra.UnboundedGridRange2D_swigregister
8375 UnboundedGridRange2D_swigregister(UnboundedGridRange2D)
8377 def UnboundedGridRange2D_get_is_bounded():
8378 """UnboundedGridRange2D_get_is_bounded() -> bool"""
8379 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
8381 class UnboundedGridRange3D(object):
8382 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(3)> class"""
8383 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8385 def __init__(self, *args):
8387 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self) -> UnboundedGridRange3D
8388 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self, IMP::Ints const & arg2) -> UnboundedGridRange3D
8390 this = _IMP_algebra.new_UnboundedGridRange3D(*args)
8392 self.this.append(this)
8396 def set_number_of_voxels(self, arg2):
8397 """set_number_of_voxels(UnboundedGridRange3D self, IMP::Ints arg2)"""
8398 return _IMP_algebra.UnboundedGridRange3D_set_number_of_voxels(self, arg2)
8401 def get_number_of_voxels(self, arg2):
8402 """get_number_of_voxels(UnboundedGridRange3D self, int arg2) -> unsigned int"""
8403 return _IMP_algebra.UnboundedGridRange3D_get_number_of_voxels(self, arg2)
8406 def get_is_bounded():
8407 """get_is_bounded() -> bool"""
8408 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
8410 get_is_bounded = staticmethod(get_is_bounded)
8412 def get_has_index(self, arg2):
8413 """get_has_index(UnboundedGridRange3D self, ExtendedGridIndex3D arg2) -> bool"""
8414 return _IMP_algebra.UnboundedGridRange3D_get_has_index(self, arg2)
8417 def show(self, *args):
8419 show(UnboundedGridRange3D self, _ostream out)
8420 show(UnboundedGridRange3D self)
8422 return _IMP_algebra.UnboundedGridRange3D_show(self, *args)
8425 def get_extended_indexes(self, lb, ub):
8426 """get_extended_indexes(UnboundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
8427 return _IMP_algebra.UnboundedGridRange3D_get_extended_indexes(self, lb, ub)
8431 """__str__(UnboundedGridRange3D self) -> std::string"""
8432 return _IMP_algebra.UnboundedGridRange3D___str__(self)
8436 """__repr__(UnboundedGridRange3D self) -> std::string"""
8437 return _IMP_algebra.UnboundedGridRange3D___repr__(self)
8440 def __cmp__(self, arg2):
8441 """__cmp__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> int"""
8442 return _IMP_algebra.UnboundedGridRange3D___cmp__(self, arg2)
8445 def __eq__(self, arg2):
8446 """__eq__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> bool"""
8447 return _IMP_algebra.UnboundedGridRange3D___eq__(self, arg2)
8449 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange3D
8450 __del__ =
lambda self:
None
8451 UnboundedGridRange3D_swigregister = _IMP_algebra.UnboundedGridRange3D_swigregister
8452 UnboundedGridRange3D_swigregister(UnboundedGridRange3D)
8454 def UnboundedGridRange3D_get_is_bounded():
8455 """UnboundedGridRange3D_get_is_bounded() -> bool"""
8456 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
8458 class UnboundedGridRange4D(object):
8459 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(4)> class"""
8460 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8462 def __init__(self, *args):
8464 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self) -> UnboundedGridRange4D
8465 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self, IMP::Ints const & arg2) -> UnboundedGridRange4D
8467 this = _IMP_algebra.new_UnboundedGridRange4D(*args)
8469 self.this.append(this)
8473 def set_number_of_voxels(self, arg2):
8474 """set_number_of_voxels(UnboundedGridRange4D self, IMP::Ints arg2)"""
8475 return _IMP_algebra.UnboundedGridRange4D_set_number_of_voxels(self, arg2)
8478 def get_number_of_voxels(self, arg2):
8479 """get_number_of_voxels(UnboundedGridRange4D self, int arg2) -> unsigned int"""
8480 return _IMP_algebra.UnboundedGridRange4D_get_number_of_voxels(self, arg2)
8483 def get_is_bounded():
8484 """get_is_bounded() -> bool"""
8485 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
8487 get_is_bounded = staticmethod(get_is_bounded)
8489 def get_has_index(self, arg2):
8490 """get_has_index(UnboundedGridRange4D self, ExtendedGridIndex4D arg2) -> bool"""
8491 return _IMP_algebra.UnboundedGridRange4D_get_has_index(self, arg2)
8494 def show(self, *args):
8496 show(UnboundedGridRange4D self, _ostream out)
8497 show(UnboundedGridRange4D self)
8499 return _IMP_algebra.UnboundedGridRange4D_show(self, *args)
8502 def get_extended_indexes(self, lb, ub):
8503 """get_extended_indexes(UnboundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
8504 return _IMP_algebra.UnboundedGridRange4D_get_extended_indexes(self, lb, ub)
8508 """__str__(UnboundedGridRange4D self) -> std::string"""
8509 return _IMP_algebra.UnboundedGridRange4D___str__(self)
8513 """__repr__(UnboundedGridRange4D self) -> std::string"""
8514 return _IMP_algebra.UnboundedGridRange4D___repr__(self)
8517 def __cmp__(self, arg2):
8518 """__cmp__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> int"""
8519 return _IMP_algebra.UnboundedGridRange4D___cmp__(self, arg2)
8522 def __eq__(self, arg2):
8523 """__eq__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> bool"""
8524 return _IMP_algebra.UnboundedGridRange4D___eq__(self, arg2)
8526 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange4D
8527 __del__ =
lambda self:
None
8528 UnboundedGridRange4D_swigregister = _IMP_algebra.UnboundedGridRange4D_swigregister
8529 UnboundedGridRange4D_swigregister(UnboundedGridRange4D)
8531 def UnboundedGridRange4D_get_is_bounded():
8532 """UnboundedGridRange4D_get_is_bounded() -> bool"""
8533 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
8535 class UnboundedGridRange5D(object):
8536 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(5)> class"""
8537 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8539 def __init__(self, *args):
8541 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self) -> UnboundedGridRange5D
8542 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self, IMP::Ints const & arg2) -> UnboundedGridRange5D
8544 this = _IMP_algebra.new_UnboundedGridRange5D(*args)
8546 self.this.append(this)
8550 def set_number_of_voxels(self, arg2):
8551 """set_number_of_voxels(UnboundedGridRange5D self, IMP::Ints arg2)"""
8552 return _IMP_algebra.UnboundedGridRange5D_set_number_of_voxels(self, arg2)
8555 def get_number_of_voxels(self, arg2):
8556 """get_number_of_voxels(UnboundedGridRange5D self, int arg2) -> unsigned int"""
8557 return _IMP_algebra.UnboundedGridRange5D_get_number_of_voxels(self, arg2)
8560 def get_is_bounded():
8561 """get_is_bounded() -> bool"""
8562 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
8564 get_is_bounded = staticmethod(get_is_bounded)
8566 def get_has_index(self, arg2):
8567 """get_has_index(UnboundedGridRange5D self, ExtendedGridIndex5D arg2) -> bool"""
8568 return _IMP_algebra.UnboundedGridRange5D_get_has_index(self, arg2)
8571 def show(self, *args):
8573 show(UnboundedGridRange5D self, _ostream out)
8574 show(UnboundedGridRange5D self)
8576 return _IMP_algebra.UnboundedGridRange5D_show(self, *args)
8579 def get_extended_indexes(self, lb, ub):
8580 """get_extended_indexes(UnboundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
8581 return _IMP_algebra.UnboundedGridRange5D_get_extended_indexes(self, lb, ub)
8585 """__str__(UnboundedGridRange5D self) -> std::string"""
8586 return _IMP_algebra.UnboundedGridRange5D___str__(self)
8590 """__repr__(UnboundedGridRange5D self) -> std::string"""
8591 return _IMP_algebra.UnboundedGridRange5D___repr__(self)
8594 def __cmp__(self, arg2):
8595 """__cmp__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> int"""
8596 return _IMP_algebra.UnboundedGridRange5D___cmp__(self, arg2)
8599 def __eq__(self, arg2):
8600 """__eq__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> bool"""
8601 return _IMP_algebra.UnboundedGridRange5D___eq__(self, arg2)
8603 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange5D
8604 __del__ =
lambda self:
None
8605 UnboundedGridRange5D_swigregister = _IMP_algebra.UnboundedGridRange5D_swigregister
8606 UnboundedGridRange5D_swigregister(UnboundedGridRange5D)
8608 def UnboundedGridRange5D_get_is_bounded():
8609 """UnboundedGridRange5D_get_is_bounded() -> bool"""
8610 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
8612 class UnboundedGridRange6D(object):
8613 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(6)> class"""
8614 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8616 def __init__(self, *args):
8618 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self) -> UnboundedGridRange6D
8619 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self, IMP::Ints const & arg2) -> UnboundedGridRange6D
8621 this = _IMP_algebra.new_UnboundedGridRange6D(*args)
8623 self.this.append(this)
8627 def set_number_of_voxels(self, arg2):
8628 """set_number_of_voxels(UnboundedGridRange6D self, IMP::Ints arg2)"""
8629 return _IMP_algebra.UnboundedGridRange6D_set_number_of_voxels(self, arg2)
8632 def get_number_of_voxels(self, arg2):
8633 """get_number_of_voxels(UnboundedGridRange6D self, int arg2) -> unsigned int"""
8634 return _IMP_algebra.UnboundedGridRange6D_get_number_of_voxels(self, arg2)
8637 def get_is_bounded():
8638 """get_is_bounded() -> bool"""
8639 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
8641 get_is_bounded = staticmethod(get_is_bounded)
8643 def get_has_index(self, arg2):
8644 """get_has_index(UnboundedGridRange6D self, ExtendedGridIndex6D arg2) -> bool"""
8645 return _IMP_algebra.UnboundedGridRange6D_get_has_index(self, arg2)
8648 def show(self, *args):
8650 show(UnboundedGridRange6D self, _ostream out)
8651 show(UnboundedGridRange6D self)
8653 return _IMP_algebra.UnboundedGridRange6D_show(self, *args)
8656 def get_extended_indexes(self, lb, ub):
8657 """get_extended_indexes(UnboundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
8658 return _IMP_algebra.UnboundedGridRange6D_get_extended_indexes(self, lb, ub)
8662 """__str__(UnboundedGridRange6D self) -> std::string"""
8663 return _IMP_algebra.UnboundedGridRange6D___str__(self)
8667 """__repr__(UnboundedGridRange6D self) -> std::string"""
8668 return _IMP_algebra.UnboundedGridRange6D___repr__(self)
8671 def __cmp__(self, arg2):
8672 """__cmp__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> int"""
8673 return _IMP_algebra.UnboundedGridRange6D___cmp__(self, arg2)
8676 def __eq__(self, arg2):
8677 """__eq__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> bool"""
8678 return _IMP_algebra.UnboundedGridRange6D___eq__(self, arg2)
8680 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange6D
8681 __del__ =
lambda self:
None
8682 UnboundedGridRange6D_swigregister = _IMP_algebra.UnboundedGridRange6D_swigregister
8683 UnboundedGridRange6D_swigregister(UnboundedGridRange6D)
8685 def UnboundedGridRange6D_get_is_bounded():
8686 """UnboundedGridRange6D_get_is_bounded() -> bool"""
8687 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
8689 class UnboundedGridRangeKD(object):
8690 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(-1)> class"""
8691 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8693 def __init__(self, *args):
8695 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self) -> UnboundedGridRangeKD
8696 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self, IMP::Ints const & arg2) -> UnboundedGridRangeKD
8698 this = _IMP_algebra.new_UnboundedGridRangeKD(*args)
8700 self.this.append(this)
8704 def set_number_of_voxels(self, arg2):
8705 """set_number_of_voxels(UnboundedGridRangeKD self, IMP::Ints arg2)"""
8706 return _IMP_algebra.UnboundedGridRangeKD_set_number_of_voxels(self, arg2)
8709 def get_number_of_voxels(self, arg2):
8710 """get_number_of_voxels(UnboundedGridRangeKD self, int arg2) -> unsigned int"""
8711 return _IMP_algebra.UnboundedGridRangeKD_get_number_of_voxels(self, arg2)
8714 def get_is_bounded():
8715 """get_is_bounded() -> bool"""
8716 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
8718 get_is_bounded = staticmethod(get_is_bounded)
8720 def get_has_index(self, arg2):
8721 """get_has_index(UnboundedGridRangeKD self, ExtendedGridIndexKD arg2) -> bool"""
8722 return _IMP_algebra.UnboundedGridRangeKD_get_has_index(self, arg2)
8725 def show(self, *args):
8727 show(UnboundedGridRangeKD self, _ostream out)
8728 show(UnboundedGridRangeKD self)
8730 return _IMP_algebra.UnboundedGridRangeKD_show(self, *args)
8733 def get_extended_indexes(self, lb, ub):
8734 """get_extended_indexes(UnboundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
8735 return _IMP_algebra.UnboundedGridRangeKD_get_extended_indexes(self, lb, ub)
8739 """__str__(UnboundedGridRangeKD self) -> std::string"""
8740 return _IMP_algebra.UnboundedGridRangeKD___str__(self)
8744 """__repr__(UnboundedGridRangeKD self) -> std::string"""
8745 return _IMP_algebra.UnboundedGridRangeKD___repr__(self)
8748 def __cmp__(self, arg2):
8749 """__cmp__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> int"""
8750 return _IMP_algebra.UnboundedGridRangeKD___cmp__(self, arg2)
8753 def __eq__(self, arg2):
8754 """__eq__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> bool"""
8755 return _IMP_algebra.UnboundedGridRangeKD___eq__(self, arg2)
8757 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRangeKD
8758 __del__ =
lambda self:
None
8759 UnboundedGridRangeKD_swigregister = _IMP_algebra.UnboundedGridRangeKD_swigregister
8760 UnboundedGridRangeKD_swigregister(UnboundedGridRangeKD)
8762 def UnboundedGridRangeKD_get_is_bounded():
8763 """UnboundedGridRangeKD_get_is_bounded() -> bool"""
8764 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
8766 class DefaultEmbedding1D(object):
8767 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(1)> class"""
8768 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8770 def __init__(self, *args):
8772 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self, Vector1D origin, Vector1D cell) -> DefaultEmbedding1D
8773 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self) -> DefaultEmbedding1D
8775 this = _IMP_algebra.new_DefaultEmbedding1D(*args)
8777 self.this.append(this)
8781 def set_origin(self, o):
8782 """set_origin(DefaultEmbedding1D self, Vector1D o)"""
8783 return _IMP_algebra.DefaultEmbedding1D_set_origin(self, o)
8786 def get_origin(self):
8787 """get_origin(DefaultEmbedding1D self) -> Vector1D"""
8788 return _IMP_algebra.DefaultEmbedding1D_get_origin(self)
8791 def get_dimension(self):
8792 """get_dimension(DefaultEmbedding1D self) -> unsigned int"""
8793 return _IMP_algebra.DefaultEmbedding1D_get_dimension(self)
8796 def set_unit_cell(self, o):
8797 """set_unit_cell(DefaultEmbedding1D self, Vector1D o)"""
8798 return _IMP_algebra.DefaultEmbedding1D_set_unit_cell(self, o)
8801 def get_inverse_unit_cell(self):
8802 """get_inverse_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
8803 return _IMP_algebra.DefaultEmbedding1D_get_inverse_unit_cell(self)
8806 def get_unit_cell(self):
8807 """get_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
8808 return _IMP_algebra.DefaultEmbedding1D_get_unit_cell(self)
8811 def get_extended_index(self, o):
8812 """get_extended_index(DefaultEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
8813 return _IMP_algebra.DefaultEmbedding1D_get_extended_index(self, o)
8817 """get_index(DefaultEmbedding1D self, Vector1D o) -> GridIndex1D"""
8818 return _IMP_algebra.DefaultEmbedding1D_get_index(self, o)
8821 def get_center(self, *args):
8823 get_center(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
8824 get_center(DefaultEmbedding1D self, GridIndex1D ei) -> Vector1D
8826 return _IMP_algebra.DefaultEmbedding1D_get_center(self, *args)
8829 def get_bounding_box(self, *args):
8831 get_bounding_box(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
8832 get_bounding_box(DefaultEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
8834 return _IMP_algebra.DefaultEmbedding1D_get_bounding_box(self, *args)
8837 def show(self, *args):
8839 show(DefaultEmbedding1D self, _ostream out)
8840 show(DefaultEmbedding1D self)
8842 return _IMP_algebra.DefaultEmbedding1D_show(self, *args)
8846 """__str__(DefaultEmbedding1D self) -> std::string"""
8847 return _IMP_algebra.DefaultEmbedding1D___str__(self)
8851 """__repr__(DefaultEmbedding1D self) -> std::string"""
8852 return _IMP_algebra.DefaultEmbedding1D___repr__(self)
8855 def __cmp__(self, arg2):
8856 """__cmp__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> int"""
8857 return _IMP_algebra.DefaultEmbedding1D___cmp__(self, arg2)
8860 def __eq__(self, arg2):
8861 """__eq__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> bool"""
8862 return _IMP_algebra.DefaultEmbedding1D___eq__(self, arg2)
8864 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding1D
8865 __del__ =
lambda self:
None
8866 DefaultEmbedding1D_swigregister = _IMP_algebra.DefaultEmbedding1D_swigregister
8867 DefaultEmbedding1D_swigregister(DefaultEmbedding1D)
8869 class DefaultEmbedding2D(object):
8870 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(2)> class"""
8871 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8873 def __init__(self, *args):
8875 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self, Vector2D origin, Vector2D cell) -> DefaultEmbedding2D
8876 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self) -> DefaultEmbedding2D
8878 this = _IMP_algebra.new_DefaultEmbedding2D(*args)
8880 self.this.append(this)
8884 def set_origin(self, o):
8885 """set_origin(DefaultEmbedding2D self, Vector2D o)"""
8886 return _IMP_algebra.DefaultEmbedding2D_set_origin(self, o)
8889 def get_origin(self):
8890 """get_origin(DefaultEmbedding2D self) -> Vector2D"""
8891 return _IMP_algebra.DefaultEmbedding2D_get_origin(self)
8894 def get_dimension(self):
8895 """get_dimension(DefaultEmbedding2D self) -> unsigned int"""
8896 return _IMP_algebra.DefaultEmbedding2D_get_dimension(self)
8899 def set_unit_cell(self, o):
8900 """set_unit_cell(DefaultEmbedding2D self, Vector2D o)"""
8901 return _IMP_algebra.DefaultEmbedding2D_set_unit_cell(self, o)
8904 def get_inverse_unit_cell(self):
8905 """get_inverse_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
8906 return _IMP_algebra.DefaultEmbedding2D_get_inverse_unit_cell(self)
8909 def get_unit_cell(self):
8910 """get_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
8911 return _IMP_algebra.DefaultEmbedding2D_get_unit_cell(self)
8914 def get_extended_index(self, o):
8915 """get_extended_index(DefaultEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
8916 return _IMP_algebra.DefaultEmbedding2D_get_extended_index(self, o)
8920 """get_index(DefaultEmbedding2D self, Vector2D o) -> GridIndex2D"""
8921 return _IMP_algebra.DefaultEmbedding2D_get_index(self, o)
8924 def get_center(self, *args):
8926 get_center(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
8927 get_center(DefaultEmbedding2D self, GridIndex2D ei) -> Vector2D
8929 return _IMP_algebra.DefaultEmbedding2D_get_center(self, *args)
8932 def get_bounding_box(self, *args):
8934 get_bounding_box(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
8935 get_bounding_box(DefaultEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
8937 return _IMP_algebra.DefaultEmbedding2D_get_bounding_box(self, *args)
8940 def show(self, *args):
8942 show(DefaultEmbedding2D self, _ostream out)
8943 show(DefaultEmbedding2D self)
8945 return _IMP_algebra.DefaultEmbedding2D_show(self, *args)
8949 """__str__(DefaultEmbedding2D self) -> std::string"""
8950 return _IMP_algebra.DefaultEmbedding2D___str__(self)
8954 """__repr__(DefaultEmbedding2D self) -> std::string"""
8955 return _IMP_algebra.DefaultEmbedding2D___repr__(self)
8958 def __cmp__(self, arg2):
8959 """__cmp__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> int"""
8960 return _IMP_algebra.DefaultEmbedding2D___cmp__(self, arg2)
8963 def __eq__(self, arg2):
8964 """__eq__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> bool"""
8965 return _IMP_algebra.DefaultEmbedding2D___eq__(self, arg2)
8967 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding2D
8968 __del__ =
lambda self:
None
8969 DefaultEmbedding2D_swigregister = _IMP_algebra.DefaultEmbedding2D_swigregister
8970 DefaultEmbedding2D_swigregister(DefaultEmbedding2D)
8972 class DefaultEmbedding3D(object):
8973 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(3)> class"""
8974 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8976 def __init__(self, *args):
8978 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self, Vector3D origin, Vector3D cell) -> DefaultEmbedding3D
8979 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self) -> DefaultEmbedding3D
8981 this = _IMP_algebra.new_DefaultEmbedding3D(*args)
8983 self.this.append(this)
8987 def set_origin(self, o):
8988 """set_origin(DefaultEmbedding3D self, Vector3D o)"""
8989 return _IMP_algebra.DefaultEmbedding3D_set_origin(self, o)
8992 def get_origin(self):
8993 """get_origin(DefaultEmbedding3D self) -> Vector3D"""
8994 return _IMP_algebra.DefaultEmbedding3D_get_origin(self)
8997 def get_dimension(self):
8998 """get_dimension(DefaultEmbedding3D self) -> unsigned int"""
8999 return _IMP_algebra.DefaultEmbedding3D_get_dimension(self)
9002 def set_unit_cell(self, o):
9003 """set_unit_cell(DefaultEmbedding3D self, Vector3D o)"""
9004 return _IMP_algebra.DefaultEmbedding3D_set_unit_cell(self, o)
9007 def get_inverse_unit_cell(self):
9008 """get_inverse_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9009 return _IMP_algebra.DefaultEmbedding3D_get_inverse_unit_cell(self)
9012 def get_unit_cell(self):
9013 """get_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9014 return _IMP_algebra.DefaultEmbedding3D_get_unit_cell(self)
9017 def get_extended_index(self, o):
9018 """get_extended_index(DefaultEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
9019 return _IMP_algebra.DefaultEmbedding3D_get_extended_index(self, o)
9023 """get_index(DefaultEmbedding3D self, Vector3D o) -> GridIndex3D"""
9024 return _IMP_algebra.DefaultEmbedding3D_get_index(self, o)
9027 def get_center(self, *args):
9029 get_center(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
9030 get_center(DefaultEmbedding3D self, GridIndex3D ei) -> Vector3D
9032 return _IMP_algebra.DefaultEmbedding3D_get_center(self, *args)
9035 def get_bounding_box(self, *args):
9037 get_bounding_box(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
9038 get_bounding_box(DefaultEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
9040 return _IMP_algebra.DefaultEmbedding3D_get_bounding_box(self, *args)
9043 def show(self, *args):
9045 show(DefaultEmbedding3D self, _ostream out)
9046 show(DefaultEmbedding3D self)
9048 return _IMP_algebra.DefaultEmbedding3D_show(self, *args)
9052 """__str__(DefaultEmbedding3D self) -> std::string"""
9053 return _IMP_algebra.DefaultEmbedding3D___str__(self)
9057 """__repr__(DefaultEmbedding3D self) -> std::string"""
9058 return _IMP_algebra.DefaultEmbedding3D___repr__(self)
9061 def __cmp__(self, arg2):
9062 """__cmp__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> int"""
9063 return _IMP_algebra.DefaultEmbedding3D___cmp__(self, arg2)
9066 def __eq__(self, arg2):
9067 """__eq__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> bool"""
9068 return _IMP_algebra.DefaultEmbedding3D___eq__(self, arg2)
9070 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding3D
9071 __del__ =
lambda self:
None
9072 DefaultEmbedding3D_swigregister = _IMP_algebra.DefaultEmbedding3D_swigregister
9073 DefaultEmbedding3D_swigregister(DefaultEmbedding3D)
9075 class DefaultEmbedding4D(object):
9076 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(4)> class"""
9077 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9079 def __init__(self, *args):
9081 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self, Vector4D origin, Vector4D cell) -> DefaultEmbedding4D
9082 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self) -> DefaultEmbedding4D
9084 this = _IMP_algebra.new_DefaultEmbedding4D(*args)
9086 self.this.append(this)
9090 def set_origin(self, o):
9091 """set_origin(DefaultEmbedding4D self, Vector4D o)"""
9092 return _IMP_algebra.DefaultEmbedding4D_set_origin(self, o)
9095 def get_origin(self):
9096 """get_origin(DefaultEmbedding4D self) -> Vector4D"""
9097 return _IMP_algebra.DefaultEmbedding4D_get_origin(self)
9100 def get_dimension(self):
9101 """get_dimension(DefaultEmbedding4D self) -> unsigned int"""
9102 return _IMP_algebra.DefaultEmbedding4D_get_dimension(self)
9105 def set_unit_cell(self, o):
9106 """set_unit_cell(DefaultEmbedding4D self, Vector4D o)"""
9107 return _IMP_algebra.DefaultEmbedding4D_set_unit_cell(self, o)
9110 def get_inverse_unit_cell(self):
9111 """get_inverse_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9112 return _IMP_algebra.DefaultEmbedding4D_get_inverse_unit_cell(self)
9115 def get_unit_cell(self):
9116 """get_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9117 return _IMP_algebra.DefaultEmbedding4D_get_unit_cell(self)
9120 def get_extended_index(self, o):
9121 """get_extended_index(DefaultEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
9122 return _IMP_algebra.DefaultEmbedding4D_get_extended_index(self, o)
9126 """get_index(DefaultEmbedding4D self, Vector4D o) -> GridIndex4D"""
9127 return _IMP_algebra.DefaultEmbedding4D_get_index(self, o)
9130 def get_center(self, *args):
9132 get_center(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
9133 get_center(DefaultEmbedding4D self, GridIndex4D ei) -> Vector4D
9135 return _IMP_algebra.DefaultEmbedding4D_get_center(self, *args)
9138 def get_bounding_box(self, *args):
9140 get_bounding_box(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
9141 get_bounding_box(DefaultEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
9143 return _IMP_algebra.DefaultEmbedding4D_get_bounding_box(self, *args)
9146 def show(self, *args):
9148 show(DefaultEmbedding4D self, _ostream out)
9149 show(DefaultEmbedding4D self)
9151 return _IMP_algebra.DefaultEmbedding4D_show(self, *args)
9155 """__str__(DefaultEmbedding4D self) -> std::string"""
9156 return _IMP_algebra.DefaultEmbedding4D___str__(self)
9160 """__repr__(DefaultEmbedding4D self) -> std::string"""
9161 return _IMP_algebra.DefaultEmbedding4D___repr__(self)
9164 def __cmp__(self, arg2):
9165 """__cmp__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> int"""
9166 return _IMP_algebra.DefaultEmbedding4D___cmp__(self, arg2)
9169 def __eq__(self, arg2):
9170 """__eq__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> bool"""
9171 return _IMP_algebra.DefaultEmbedding4D___eq__(self, arg2)
9173 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding4D
9174 __del__ =
lambda self:
None
9175 DefaultEmbedding4D_swigregister = _IMP_algebra.DefaultEmbedding4D_swigregister
9176 DefaultEmbedding4D_swigregister(DefaultEmbedding4D)
9178 class DefaultEmbedding5D(object):
9179 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(5)> class"""
9180 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9182 def __init__(self, *args):
9184 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self, Vector5D origin, Vector5D cell) -> DefaultEmbedding5D
9185 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self) -> DefaultEmbedding5D
9187 this = _IMP_algebra.new_DefaultEmbedding5D(*args)
9189 self.this.append(this)
9193 def set_origin(self, o):
9194 """set_origin(DefaultEmbedding5D self, Vector5D o)"""
9195 return _IMP_algebra.DefaultEmbedding5D_set_origin(self, o)
9198 def get_origin(self):
9199 """get_origin(DefaultEmbedding5D self) -> Vector5D"""
9200 return _IMP_algebra.DefaultEmbedding5D_get_origin(self)
9203 def get_dimension(self):
9204 """get_dimension(DefaultEmbedding5D self) -> unsigned int"""
9205 return _IMP_algebra.DefaultEmbedding5D_get_dimension(self)
9208 def set_unit_cell(self, o):
9209 """set_unit_cell(DefaultEmbedding5D self, Vector5D o)"""
9210 return _IMP_algebra.DefaultEmbedding5D_set_unit_cell(self, o)
9213 def get_inverse_unit_cell(self):
9214 """get_inverse_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9215 return _IMP_algebra.DefaultEmbedding5D_get_inverse_unit_cell(self)
9218 def get_unit_cell(self):
9219 """get_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9220 return _IMP_algebra.DefaultEmbedding5D_get_unit_cell(self)
9223 def get_extended_index(self, o):
9224 """get_extended_index(DefaultEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
9225 return _IMP_algebra.DefaultEmbedding5D_get_extended_index(self, o)
9229 """get_index(DefaultEmbedding5D self, Vector5D o) -> GridIndex5D"""
9230 return _IMP_algebra.DefaultEmbedding5D_get_index(self, o)
9233 def get_center(self, *args):
9235 get_center(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
9236 get_center(DefaultEmbedding5D self, GridIndex5D ei) -> Vector5D
9238 return _IMP_algebra.DefaultEmbedding5D_get_center(self, *args)
9241 def get_bounding_box(self, *args):
9243 get_bounding_box(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
9244 get_bounding_box(DefaultEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
9246 return _IMP_algebra.DefaultEmbedding5D_get_bounding_box(self, *args)
9249 def show(self, *args):
9251 show(DefaultEmbedding5D self, _ostream out)
9252 show(DefaultEmbedding5D self)
9254 return _IMP_algebra.DefaultEmbedding5D_show(self, *args)
9258 """__str__(DefaultEmbedding5D self) -> std::string"""
9259 return _IMP_algebra.DefaultEmbedding5D___str__(self)
9263 """__repr__(DefaultEmbedding5D self) -> std::string"""
9264 return _IMP_algebra.DefaultEmbedding5D___repr__(self)
9267 def __cmp__(self, arg2):
9268 """__cmp__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> int"""
9269 return _IMP_algebra.DefaultEmbedding5D___cmp__(self, arg2)
9272 def __eq__(self, arg2):
9273 """__eq__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> bool"""
9274 return _IMP_algebra.DefaultEmbedding5D___eq__(self, arg2)
9276 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding5D
9277 __del__ =
lambda self:
None
9278 DefaultEmbedding5D_swigregister = _IMP_algebra.DefaultEmbedding5D_swigregister
9279 DefaultEmbedding5D_swigregister(DefaultEmbedding5D)
9281 class DefaultEmbedding6D(object):
9282 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(6)> class"""
9283 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9285 def __init__(self, *args):
9287 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self, Vector6D origin, Vector6D cell) -> DefaultEmbedding6D
9288 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self) -> DefaultEmbedding6D
9290 this = _IMP_algebra.new_DefaultEmbedding6D(*args)
9292 self.this.append(this)
9296 def set_origin(self, o):
9297 """set_origin(DefaultEmbedding6D self, Vector6D o)"""
9298 return _IMP_algebra.DefaultEmbedding6D_set_origin(self, o)
9301 def get_origin(self):
9302 """get_origin(DefaultEmbedding6D self) -> Vector6D"""
9303 return _IMP_algebra.DefaultEmbedding6D_get_origin(self)
9306 def get_dimension(self):
9307 """get_dimension(DefaultEmbedding6D self) -> unsigned int"""
9308 return _IMP_algebra.DefaultEmbedding6D_get_dimension(self)
9311 def set_unit_cell(self, o):
9312 """set_unit_cell(DefaultEmbedding6D self, Vector6D o)"""
9313 return _IMP_algebra.DefaultEmbedding6D_set_unit_cell(self, o)
9316 def get_inverse_unit_cell(self):
9317 """get_inverse_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
9318 return _IMP_algebra.DefaultEmbedding6D_get_inverse_unit_cell(self)
9321 def get_unit_cell(self):
9322 """get_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
9323 return _IMP_algebra.DefaultEmbedding6D_get_unit_cell(self)
9326 def get_extended_index(self, o):
9327 """get_extended_index(DefaultEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
9328 return _IMP_algebra.DefaultEmbedding6D_get_extended_index(self, o)
9332 """get_index(DefaultEmbedding6D self, Vector6D o) -> GridIndex6D"""
9333 return _IMP_algebra.DefaultEmbedding6D_get_index(self, o)
9336 def get_center(self, *args):
9338 get_center(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
9339 get_center(DefaultEmbedding6D self, GridIndex6D ei) -> Vector6D
9341 return _IMP_algebra.DefaultEmbedding6D_get_center(self, *args)
9344 def get_bounding_box(self, *args):
9346 get_bounding_box(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
9347 get_bounding_box(DefaultEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
9349 return _IMP_algebra.DefaultEmbedding6D_get_bounding_box(self, *args)
9352 def show(self, *args):
9354 show(DefaultEmbedding6D self, _ostream out)
9355 show(DefaultEmbedding6D self)
9357 return _IMP_algebra.DefaultEmbedding6D_show(self, *args)
9361 """__str__(DefaultEmbedding6D self) -> std::string"""
9362 return _IMP_algebra.DefaultEmbedding6D___str__(self)
9366 """__repr__(DefaultEmbedding6D self) -> std::string"""
9367 return _IMP_algebra.DefaultEmbedding6D___repr__(self)
9370 def __cmp__(self, arg2):
9371 """__cmp__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> int"""
9372 return _IMP_algebra.DefaultEmbedding6D___cmp__(self, arg2)
9375 def __eq__(self, arg2):
9376 """__eq__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> bool"""
9377 return _IMP_algebra.DefaultEmbedding6D___eq__(self, arg2)
9379 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding6D
9380 __del__ =
lambda self:
None
9381 DefaultEmbedding6D_swigregister = _IMP_algebra.DefaultEmbedding6D_swigregister
9382 DefaultEmbedding6D_swigregister(DefaultEmbedding6D)
9384 class DefaultEmbeddingKD(object):
9385 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(-1)> class"""
9386 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9388 def __init__(self, *args):
9390 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell) -> DefaultEmbeddingKD
9391 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self) -> DefaultEmbeddingKD
9393 this = _IMP_algebra.new_DefaultEmbeddingKD(*args)
9395 self.this.append(this)
9399 def set_origin(self, o):
9400 """set_origin(DefaultEmbeddingKD self, VectorKD o)"""
9401 return _IMP_algebra.DefaultEmbeddingKD_set_origin(self, o)
9404 def get_origin(self):
9405 """get_origin(DefaultEmbeddingKD self) -> VectorKD"""
9406 return _IMP_algebra.DefaultEmbeddingKD_get_origin(self)
9409 def get_dimension(self):
9410 """get_dimension(DefaultEmbeddingKD self) -> unsigned int"""
9411 return _IMP_algebra.DefaultEmbeddingKD_get_dimension(self)
9414 def set_unit_cell(self, o):
9415 """set_unit_cell(DefaultEmbeddingKD self, VectorKD o)"""
9416 return _IMP_algebra.DefaultEmbeddingKD_set_unit_cell(self, o)
9419 def get_inverse_unit_cell(self):
9420 """get_inverse_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
9421 return _IMP_algebra.DefaultEmbeddingKD_get_inverse_unit_cell(self)
9424 def get_unit_cell(self):
9425 """get_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
9426 return _IMP_algebra.DefaultEmbeddingKD_get_unit_cell(self)
9429 def get_extended_index(self, o):
9430 """get_extended_index(DefaultEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
9431 return _IMP_algebra.DefaultEmbeddingKD_get_extended_index(self, o)
9435 """get_index(DefaultEmbeddingKD self, VectorKD o) -> GridIndexKD"""
9436 return _IMP_algebra.DefaultEmbeddingKD_get_index(self, o)
9439 def get_center(self, *args):
9441 get_center(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
9442 get_center(DefaultEmbeddingKD self, GridIndexKD ei) -> VectorKD
9444 return _IMP_algebra.DefaultEmbeddingKD_get_center(self, *args)
9447 def get_bounding_box(self, *args):
9449 get_bounding_box(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
9450 get_bounding_box(DefaultEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
9452 return _IMP_algebra.DefaultEmbeddingKD_get_bounding_box(self, *args)
9455 def show(self, *args):
9457 show(DefaultEmbeddingKD self, _ostream out)
9458 show(DefaultEmbeddingKD self)
9460 return _IMP_algebra.DefaultEmbeddingKD_show(self, *args)
9464 """__str__(DefaultEmbeddingKD self) -> std::string"""
9465 return _IMP_algebra.DefaultEmbeddingKD___str__(self)
9469 """__repr__(DefaultEmbeddingKD self) -> std::string"""
9470 return _IMP_algebra.DefaultEmbeddingKD___repr__(self)
9473 def __cmp__(self, arg2):
9474 """__cmp__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> int"""
9475 return _IMP_algebra.DefaultEmbeddingKD___cmp__(self, arg2)
9478 def __eq__(self, arg2):
9479 """__eq__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> bool"""
9480 return _IMP_algebra.DefaultEmbeddingKD___eq__(self, arg2)
9482 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbeddingKD
9483 __del__ =
lambda self:
None
9484 DefaultEmbeddingKD_swigregister = _IMP_algebra.DefaultEmbeddingKD_swigregister
9485 DefaultEmbeddingKD_swigregister(DefaultEmbeddingKD)
9487 class LogEmbedding1D(object):
9488 """Proxy of C++ IMP::algebra::LogEmbeddingD<(1)> class"""
9489 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9491 def __init__(self, *args):
9493 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D origin, Vector1D cell, Vector1D base) -> LogEmbedding1D
9494 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding1D
9495 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts) -> LogEmbedding1D
9496 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D arg2, Vector1D arg3) -> LogEmbedding1D
9497 __init__(IMP::algebra::LogEmbeddingD<(1)> self) -> LogEmbedding1D
9499 this = _IMP_algebra.new_LogEmbedding1D(*args)
9501 self.this.append(this)
9505 def set_origin(self, o):
9506 """set_origin(LogEmbedding1D self, Vector1D o)"""
9507 return _IMP_algebra.LogEmbedding1D_set_origin(self, o)
9510 def get_origin(self):
9511 """get_origin(LogEmbedding1D self) -> Vector1D"""
9512 return _IMP_algebra.LogEmbedding1D_get_origin(self)
9515 def get_dimension(self):
9516 """get_dimension(LogEmbedding1D self) -> unsigned int"""
9517 return _IMP_algebra.LogEmbedding1D_get_dimension(self)
9520 def set_unit_cell(self, *args):
9522 set_unit_cell(LogEmbedding1D self, Vector1D o, Vector1D base)
9523 set_unit_cell(LogEmbedding1D self, Vector1D o)
9525 return _IMP_algebra.LogEmbedding1D_set_unit_cell(self, *args)
9528 def get_unit_cell(self):
9529 """get_unit_cell(LogEmbedding1D self) -> Vector1D"""
9530 return _IMP_algebra.LogEmbedding1D_get_unit_cell(self)
9533 def get_extended_index(self, o):
9534 """get_extended_index(LogEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
9535 return _IMP_algebra.LogEmbedding1D_get_extended_index(self, o)
9539 """get_index(LogEmbedding1D self, Vector1D o) -> GridIndex1D"""
9540 return _IMP_algebra.LogEmbedding1D_get_index(self, o)
9543 def get_center(self, *args):
9545 get_center(LogEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
9546 get_center(LogEmbedding1D self, GridIndex1D ei) -> Vector1D
9548 return _IMP_algebra.LogEmbedding1D_get_center(self, *args)
9551 def get_bounding_box(self, *args):
9553 get_bounding_box(LogEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
9554 get_bounding_box(LogEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
9556 return _IMP_algebra.LogEmbedding1D_get_bounding_box(self, *args)
9559 def show(self, *args):
9561 show(LogEmbedding1D self, _ostream out)
9562 show(LogEmbedding1D self)
9564 return _IMP_algebra.LogEmbedding1D_show(self, *args)
9568 """__str__(LogEmbedding1D self) -> std::string"""
9569 return _IMP_algebra.LogEmbedding1D___str__(self)
9573 """__repr__(LogEmbedding1D self) -> std::string"""
9574 return _IMP_algebra.LogEmbedding1D___repr__(self)
9577 def __cmp__(self, arg2):
9578 """__cmp__(LogEmbedding1D self, LogEmbedding1D arg2) -> int"""
9579 return _IMP_algebra.LogEmbedding1D___cmp__(self, arg2)
9582 def __eq__(self, arg2):
9583 """__eq__(LogEmbedding1D self, LogEmbedding1D arg2) -> bool"""
9584 return _IMP_algebra.LogEmbedding1D___eq__(self, arg2)
9586 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding1D
9587 __del__ =
lambda self:
None
9588 LogEmbedding1D_swigregister = _IMP_algebra.LogEmbedding1D_swigregister
9589 LogEmbedding1D_swigregister(LogEmbedding1D)
9591 class LogEmbedding2D(object):
9592 """Proxy of C++ IMP::algebra::LogEmbeddingD<(2)> class"""
9593 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9595 def __init__(self, *args):
9597 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D origin, Vector2D cell, Vector2D base) -> LogEmbedding2D
9598 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding2D
9599 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts) -> LogEmbedding2D
9600 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D arg2, Vector2D arg3) -> LogEmbedding2D
9601 __init__(IMP::algebra::LogEmbeddingD<(2)> self) -> LogEmbedding2D
9603 this = _IMP_algebra.new_LogEmbedding2D(*args)
9605 self.this.append(this)
9609 def set_origin(self, o):
9610 """set_origin(LogEmbedding2D self, Vector2D o)"""
9611 return _IMP_algebra.LogEmbedding2D_set_origin(self, o)
9614 def get_origin(self):
9615 """get_origin(LogEmbedding2D self) -> Vector2D"""
9616 return _IMP_algebra.LogEmbedding2D_get_origin(self)
9619 def get_dimension(self):
9620 """get_dimension(LogEmbedding2D self) -> unsigned int"""
9621 return _IMP_algebra.LogEmbedding2D_get_dimension(self)
9624 def set_unit_cell(self, *args):
9626 set_unit_cell(LogEmbedding2D self, Vector2D o, Vector2D base)
9627 set_unit_cell(LogEmbedding2D self, Vector2D o)
9629 return _IMP_algebra.LogEmbedding2D_set_unit_cell(self, *args)
9632 def get_unit_cell(self):
9633 """get_unit_cell(LogEmbedding2D self) -> Vector2D"""
9634 return _IMP_algebra.LogEmbedding2D_get_unit_cell(self)
9637 def get_extended_index(self, o):
9638 """get_extended_index(LogEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
9639 return _IMP_algebra.LogEmbedding2D_get_extended_index(self, o)
9643 """get_index(LogEmbedding2D self, Vector2D o) -> GridIndex2D"""
9644 return _IMP_algebra.LogEmbedding2D_get_index(self, o)
9647 def get_center(self, *args):
9649 get_center(LogEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
9650 get_center(LogEmbedding2D self, GridIndex2D ei) -> Vector2D
9652 return _IMP_algebra.LogEmbedding2D_get_center(self, *args)
9655 def get_bounding_box(self, *args):
9657 get_bounding_box(LogEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
9658 get_bounding_box(LogEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
9660 return _IMP_algebra.LogEmbedding2D_get_bounding_box(self, *args)
9663 def show(self, *args):
9665 show(LogEmbedding2D self, _ostream out)
9666 show(LogEmbedding2D self)
9668 return _IMP_algebra.LogEmbedding2D_show(self, *args)
9672 """__str__(LogEmbedding2D self) -> std::string"""
9673 return _IMP_algebra.LogEmbedding2D___str__(self)
9677 """__repr__(LogEmbedding2D self) -> std::string"""
9678 return _IMP_algebra.LogEmbedding2D___repr__(self)
9681 def __cmp__(self, arg2):
9682 """__cmp__(LogEmbedding2D self, LogEmbedding2D arg2) -> int"""
9683 return _IMP_algebra.LogEmbedding2D___cmp__(self, arg2)
9686 def __eq__(self, arg2):
9687 """__eq__(LogEmbedding2D self, LogEmbedding2D arg2) -> bool"""
9688 return _IMP_algebra.LogEmbedding2D___eq__(self, arg2)
9690 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding2D
9691 __del__ =
lambda self:
None
9692 LogEmbedding2D_swigregister = _IMP_algebra.LogEmbedding2D_swigregister
9693 LogEmbedding2D_swigregister(LogEmbedding2D)
9695 class LogEmbedding4D(object):
9696 """Proxy of C++ IMP::algebra::LogEmbeddingD<(4)> class"""
9697 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9699 def __init__(self, *args):
9701 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D origin, Vector4D cell, Vector4D base) -> LogEmbedding4D
9702 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding4D
9703 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts) -> LogEmbedding4D
9704 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D arg2, Vector4D arg3) -> LogEmbedding4D
9705 __init__(IMP::algebra::LogEmbeddingD<(4)> self) -> LogEmbedding4D
9707 this = _IMP_algebra.new_LogEmbedding4D(*args)
9709 self.this.append(this)
9713 def set_origin(self, o):
9714 """set_origin(LogEmbedding4D self, Vector4D o)"""
9715 return _IMP_algebra.LogEmbedding4D_set_origin(self, o)
9718 def get_origin(self):
9719 """get_origin(LogEmbedding4D self) -> Vector4D"""
9720 return _IMP_algebra.LogEmbedding4D_get_origin(self)
9723 def get_dimension(self):
9724 """get_dimension(LogEmbedding4D self) -> unsigned int"""
9725 return _IMP_algebra.LogEmbedding4D_get_dimension(self)
9728 def set_unit_cell(self, *args):
9730 set_unit_cell(LogEmbedding4D self, Vector4D o, Vector4D base)
9731 set_unit_cell(LogEmbedding4D self, Vector4D o)
9733 return _IMP_algebra.LogEmbedding4D_set_unit_cell(self, *args)
9736 def get_unit_cell(self):
9737 """get_unit_cell(LogEmbedding4D self) -> Vector4D"""
9738 return _IMP_algebra.LogEmbedding4D_get_unit_cell(self)
9741 def get_extended_index(self, o):
9742 """get_extended_index(LogEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
9743 return _IMP_algebra.LogEmbedding4D_get_extended_index(self, o)
9747 """get_index(LogEmbedding4D self, Vector4D o) -> GridIndex4D"""
9748 return _IMP_algebra.LogEmbedding4D_get_index(self, o)
9751 def get_center(self, *args):
9753 get_center(LogEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
9754 get_center(LogEmbedding4D self, GridIndex4D ei) -> Vector4D
9756 return _IMP_algebra.LogEmbedding4D_get_center(self, *args)
9759 def get_bounding_box(self, *args):
9761 get_bounding_box(LogEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
9762 get_bounding_box(LogEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
9764 return _IMP_algebra.LogEmbedding4D_get_bounding_box(self, *args)
9767 def show(self, *args):
9769 show(LogEmbedding4D self, _ostream out)
9770 show(LogEmbedding4D self)
9772 return _IMP_algebra.LogEmbedding4D_show(self, *args)
9776 """__str__(LogEmbedding4D self) -> std::string"""
9777 return _IMP_algebra.LogEmbedding4D___str__(self)
9781 """__repr__(LogEmbedding4D self) -> std::string"""
9782 return _IMP_algebra.LogEmbedding4D___repr__(self)
9785 def __cmp__(self, arg2):
9786 """__cmp__(LogEmbedding4D self, LogEmbedding4D arg2) -> int"""
9787 return _IMP_algebra.LogEmbedding4D___cmp__(self, arg2)
9790 def __eq__(self, arg2):
9791 """__eq__(LogEmbedding4D self, LogEmbedding4D arg2) -> bool"""
9792 return _IMP_algebra.LogEmbedding4D___eq__(self, arg2)
9794 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding4D
9795 __del__ =
lambda self:
None
9796 LogEmbedding4D_swigregister = _IMP_algebra.LogEmbedding4D_swigregister
9797 LogEmbedding4D_swigregister(LogEmbedding4D)
9799 class LogEmbedding5D(object):
9800 """Proxy of C++ IMP::algebra::LogEmbeddingD<(5)> class"""
9801 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9803 def __init__(self, *args):
9805 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D origin, Vector5D cell, Vector5D base) -> LogEmbedding5D
9806 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding5D
9807 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts) -> LogEmbedding5D
9808 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D arg2, Vector5D arg3) -> LogEmbedding5D
9809 __init__(IMP::algebra::LogEmbeddingD<(5)> self) -> LogEmbedding5D
9811 this = _IMP_algebra.new_LogEmbedding5D(*args)
9813 self.this.append(this)
9817 def set_origin(self, o):
9818 """set_origin(LogEmbedding5D self, Vector5D o)"""
9819 return _IMP_algebra.LogEmbedding5D_set_origin(self, o)
9822 def get_origin(self):
9823 """get_origin(LogEmbedding5D self) -> Vector5D"""
9824 return _IMP_algebra.LogEmbedding5D_get_origin(self)
9827 def get_dimension(self):
9828 """get_dimension(LogEmbedding5D self) -> unsigned int"""
9829 return _IMP_algebra.LogEmbedding5D_get_dimension(self)
9832 def set_unit_cell(self, *args):
9834 set_unit_cell(LogEmbedding5D self, Vector5D o, Vector5D base)
9835 set_unit_cell(LogEmbedding5D self, Vector5D o)
9837 return _IMP_algebra.LogEmbedding5D_set_unit_cell(self, *args)
9840 def get_unit_cell(self):
9841 """get_unit_cell(LogEmbedding5D self) -> Vector5D"""
9842 return _IMP_algebra.LogEmbedding5D_get_unit_cell(self)
9845 def get_extended_index(self, o):
9846 """get_extended_index(LogEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
9847 return _IMP_algebra.LogEmbedding5D_get_extended_index(self, o)
9851 """get_index(LogEmbedding5D self, Vector5D o) -> GridIndex5D"""
9852 return _IMP_algebra.LogEmbedding5D_get_index(self, o)
9855 def get_center(self, *args):
9857 get_center(LogEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
9858 get_center(LogEmbedding5D self, GridIndex5D ei) -> Vector5D
9860 return _IMP_algebra.LogEmbedding5D_get_center(self, *args)
9863 def get_bounding_box(self, *args):
9865 get_bounding_box(LogEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
9866 get_bounding_box(LogEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
9868 return _IMP_algebra.LogEmbedding5D_get_bounding_box(self, *args)
9871 def show(self, *args):
9873 show(LogEmbedding5D self, _ostream out)
9874 show(LogEmbedding5D self)
9876 return _IMP_algebra.LogEmbedding5D_show(self, *args)
9880 """__str__(LogEmbedding5D self) -> std::string"""
9881 return _IMP_algebra.LogEmbedding5D___str__(self)
9885 """__repr__(LogEmbedding5D self) -> std::string"""
9886 return _IMP_algebra.LogEmbedding5D___repr__(self)
9889 def __cmp__(self, arg2):
9890 """__cmp__(LogEmbedding5D self, LogEmbedding5D arg2) -> int"""
9891 return _IMP_algebra.LogEmbedding5D___cmp__(self, arg2)
9894 def __eq__(self, arg2):
9895 """__eq__(LogEmbedding5D self, LogEmbedding5D arg2) -> bool"""
9896 return _IMP_algebra.LogEmbedding5D___eq__(self, arg2)
9898 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding5D
9899 __del__ =
lambda self:
None
9900 LogEmbedding5D_swigregister = _IMP_algebra.LogEmbedding5D_swigregister
9901 LogEmbedding5D_swigregister(LogEmbedding5D)
9903 class LogEmbedding6D(object):
9904 """Proxy of C++ IMP::algebra::LogEmbeddingD<(6)> class"""
9905 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9907 def __init__(self, *args):
9909 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D origin, Vector6D cell, Vector6D base) -> LogEmbedding6D
9910 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding6D
9911 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts) -> LogEmbedding6D
9912 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D arg2, Vector6D arg3) -> LogEmbedding6D
9913 __init__(IMP::algebra::LogEmbeddingD<(6)> self) -> LogEmbedding6D
9915 this = _IMP_algebra.new_LogEmbedding6D(*args)
9917 self.this.append(this)
9921 def set_origin(self, o):
9922 """set_origin(LogEmbedding6D self, Vector6D o)"""
9923 return _IMP_algebra.LogEmbedding6D_set_origin(self, o)
9926 def get_origin(self):
9927 """get_origin(LogEmbedding6D self) -> Vector6D"""
9928 return _IMP_algebra.LogEmbedding6D_get_origin(self)
9931 def get_dimension(self):
9932 """get_dimension(LogEmbedding6D self) -> unsigned int"""
9933 return _IMP_algebra.LogEmbedding6D_get_dimension(self)
9936 def set_unit_cell(self, *args):
9938 set_unit_cell(LogEmbedding6D self, Vector6D o, Vector6D base)
9939 set_unit_cell(LogEmbedding6D self, Vector6D o)
9941 return _IMP_algebra.LogEmbedding6D_set_unit_cell(self, *args)
9944 def get_unit_cell(self):
9945 """get_unit_cell(LogEmbedding6D self) -> Vector6D"""
9946 return _IMP_algebra.LogEmbedding6D_get_unit_cell(self)
9949 def get_extended_index(self, o):
9950 """get_extended_index(LogEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
9951 return _IMP_algebra.LogEmbedding6D_get_extended_index(self, o)
9955 """get_index(LogEmbedding6D self, Vector6D o) -> GridIndex6D"""
9956 return _IMP_algebra.LogEmbedding6D_get_index(self, o)
9959 def get_center(self, *args):
9961 get_center(LogEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
9962 get_center(LogEmbedding6D self, GridIndex6D ei) -> Vector6D
9964 return _IMP_algebra.LogEmbedding6D_get_center(self, *args)
9967 def get_bounding_box(self, *args):
9969 get_bounding_box(LogEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
9970 get_bounding_box(LogEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
9972 return _IMP_algebra.LogEmbedding6D_get_bounding_box(self, *args)
9975 def show(self, *args):
9977 show(LogEmbedding6D self, _ostream out)
9978 show(LogEmbedding6D self)
9980 return _IMP_algebra.LogEmbedding6D_show(self, *args)
9984 """__str__(LogEmbedding6D self) -> std::string"""
9985 return _IMP_algebra.LogEmbedding6D___str__(self)
9989 """__repr__(LogEmbedding6D self) -> std::string"""
9990 return _IMP_algebra.LogEmbedding6D___repr__(self)
9993 def __cmp__(self, arg2):
9994 """__cmp__(LogEmbedding6D self, LogEmbedding6D arg2) -> int"""
9995 return _IMP_algebra.LogEmbedding6D___cmp__(self, arg2)
9998 def __eq__(self, arg2):
9999 """__eq__(LogEmbedding6D self, LogEmbedding6D arg2) -> bool"""
10000 return _IMP_algebra.LogEmbedding6D___eq__(self, arg2)
10002 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding6D
10003 __del__ =
lambda self:
None
10004 LogEmbedding6D_swigregister = _IMP_algebra.LogEmbedding6D_swigregister
10005 LogEmbedding6D_swigregister(LogEmbedding6D)
10007 class SpherePatch3D(_GeometricPrimitive3D):
10008 """Proxy of C++ IMP::algebra::SpherePatch3D class"""
10009 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10011 def __init__(self, *args):
10013 __init__(IMP::algebra::SpherePatch3D self) -> SpherePatch3D
10014 __init__(IMP::algebra::SpherePatch3D self, Sphere3D sph, Plane3D crossing_plane) -> SpherePatch3D
10016 this = _IMP_algebra.new_SpherePatch3D(*args)
10018 self.this.append(this)
10022 def get_contains(self, p):
10023 """get_contains(SpherePatch3D self, Vector3D p) -> bool"""
10024 return _IMP_algebra.SpherePatch3D_get_contains(self, p)
10027 def get_plane(self):
10028 """get_plane(SpherePatch3D self) -> Plane3D"""
10029 return _IMP_algebra.SpherePatch3D_get_plane(self)
10032 def get_sphere(self):
10033 """get_sphere(SpherePatch3D self) -> Sphere3D"""
10034 return _IMP_algebra.SpherePatch3D_get_sphere(self)
10037 def show(self, *args):
10039 show(SpherePatch3D self, _ostream out)
10040 show(SpherePatch3D self)
10042 return _IMP_algebra.SpherePatch3D_show(self, *args)
10045 def get_boundary_point(self):
10046 """get_boundary_point(SpherePatch3D self) -> Vector3D"""
10047 return _IMP_algebra.SpherePatch3D_get_boundary_point(self)
10051 """__str__(SpherePatch3D self) -> std::string"""
10052 return _IMP_algebra.SpherePatch3D___str__(self)
10055 def __repr__(self):
10056 """__repr__(SpherePatch3D self) -> std::string"""
10057 return _IMP_algebra.SpherePatch3D___repr__(self)
10059 __swig_destroy__ = _IMP_algebra.delete_SpherePatch3D
10060 __del__ =
lambda self:
None
10061 SpherePatch3D_swigregister = _IMP_algebra.SpherePatch3D_swigregister
10062 SpherePatch3D_swigregister(SpherePatch3D)
10067 get_area(Plane3D g) -> double
10068 get_area(SpherePatch3D g) -> double
10070 return _IMP_algebra.get_area(*args)
10072 def get_sphere_patch_3d_geometry(g):
10073 """get_sphere_patch_3d_geometry(SpherePatch3D g) -> SpherePatch3D"""
10074 return _IMP_algebra.get_sphere_patch_3d_geometry(g)
10075 class Cone3D(_GeometricPrimitive3D):
10076 """Proxy of C++ IMP::algebra::Cone3D class"""
10077 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10079 def __init__(self, *args):
10081 __init__(IMP::algebra::Cone3D self) -> Cone3D
10082 __init__(IMP::algebra::Cone3D self, Segment3D s, double radius) -> Cone3D
10084 this = _IMP_algebra.new_Cone3D(*args)
10086 self.this.append(this)
10091 """get_tip(Cone3D self) -> Vector3D"""
10092 return _IMP_algebra.Cone3D_get_tip(self)
10095 def get_direction(self):
10096 """get_direction(Cone3D self) -> Vector3D"""
10097 return _IMP_algebra.Cone3D_get_direction(self)
10100 def get_height(self):
10101 """get_height(Cone3D self) -> double"""
10102 return _IMP_algebra.Cone3D_get_height(self)
10105 def get_angle(self):
10106 """get_angle(Cone3D self) -> double"""
10107 return _IMP_algebra.Cone3D_get_angle(self)
10110 def get_radius(self):
10111 """get_radius(Cone3D self) -> double"""
10112 return _IMP_algebra.Cone3D_get_radius(self)
10115 def get_contains(self, v):
10116 """get_contains(Cone3D self, Vector3D v) -> bool"""
10117 return _IMP_algebra.Cone3D_get_contains(self, v)
10120 def get_base_plane(self):
10121 """get_base_plane(Cone3D self) -> Plane3D"""
10122 return _IMP_algebra.Cone3D_get_base_plane(self)
10125 def show(self, *args):
10127 show(Cone3D self, _ostream out)
10130 return _IMP_algebra.Cone3D_show(self, *args)
10134 """__str__(Cone3D self) -> std::string"""
10135 return _IMP_algebra.Cone3D___str__(self)
10138 def __repr__(self):
10139 """__repr__(Cone3D self) -> std::string"""
10140 return _IMP_algebra.Cone3D___repr__(self)
10142 __swig_destroy__ = _IMP_algebra.delete_Cone3D
10143 __del__ =
lambda self:
None
10144 Cone3D_swigregister = _IMP_algebra.Cone3D_swigregister
10145 Cone3D_swigregister(Cone3D)
10150 get_surface_area(BoundingBox3D g) -> double
10151 get_surface_area(Sphere3D g) -> double
10152 get_surface_area(Cylinder3D g) -> double
10153 get_surface_area(Ellipsoid3D g) -> double
10154 get_surface_area(Cone3D g) -> double
10156 return _IMP_algebra.get_surface_area(*args)
10160 get_volume(BoundingBox3D g) -> double
10161 get_volume(Sphere3D g) -> double
10162 get_volume(Cylinder3D g) -> double
10163 get_volume(Ellipsoid3D g) -> double
10164 get_volume(Cone3D g) -> double
10166 return _IMP_algebra.get_volume(*args)
10168 def get_cone_3d_geometry(g):
10169 """get_cone_3d_geometry(Cone3D g) -> Cone3D"""
10170 return _IMP_algebra.get_cone_3d_geometry(g)
10173 """write_pts(IMP::algebra::Vector3Ds const & vs, TextOutput out)"""
10174 return _IMP_algebra.write_pts(vs, out)
10177 """read_pts(TextInput input) -> IMP::algebra::Vector3Ds"""
10178 return _IMP_algebra.read_pts(input)
10181 """write_spheres(IMP::algebra::Sphere3Ds const & vs, TextOutput out)"""
10182 return _IMP_algebra.write_spheres(vs, out)
10185 """read_spheres(TextInput input) -> IMP::algebra::Sphere3Ds"""
10186 return _IMP_algebra.read_spheres(input)
10189 """get_random_vector_on_unit_sphere() -> Vector3D"""
10190 return _IMP_algebra.get_random_vector_on_unit_sphere()
10193 """get_grid_surface_cover(Cylinder3D cyl, int number_of_cycles, int number_of_points_on_cycle) -> IMP::algebra::Vector3Ds"""
10194 return _IMP_algebra.get_grid_surface_cover(cyl, number_of_cycles, number_of_points_on_cycle)
10198 get_random_chain(unsigned int n, double r, Vector3D start, IMP::algebra::Sphere3Ds const & obstacles) -> IMP::algebra::Vector3Ds
10199 get_random_chain(unsigned int n, double r, Vector3D start) -> IMP::algebra::Vector3Ds
10200 get_random_chain(unsigned int n, double r) -> IMP::algebra::Vector3Ds
10202 return _IMP_algebra.get_random_chain(*args)
10205 """reversed_read(void * dest, size_t size, size_t nitems, std::ifstream & f, bool reverse)"""
10206 return _IMP_algebra.reversed_read(dest, size, nitems, f, reverse)
10210 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f, bool reverse=False)
10211 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f)
10213 return _IMP_algebra.reversed_write(src, size, nitems, f, reverse)
10216 """get_is_big_endian() -> bool"""
10217 return _IMP_algebra.get_is_big_endian()
10220 """get_is_little_endian() -> bool"""
10221 return _IMP_algebra.get_is_little_endian()
10225 get_shortest_segment(Segment3D s, Vector3D p) -> Segment3D
10226 get_shortest_segment(Segment3D sa, Segment3D sb) -> Segment3D
10228 return _IMP_algebra.get_shortest_segment(*args)
10230 """Proxy of C++ IMP::algebra::DynamicNearestNeighbor3D class"""
10231 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10233 def __init__(self, vs, query_estimate=1):
10235 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs, double query_estimate=1) -> DynamicNearestNeighbor3D
10236 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs) -> DynamicNearestNeighbor3D
10238 this = _IMP_algebra.new_DynamicNearestNeighbor3D(vs, query_estimate)
10240 self.this.append(this)
10244 def get_in_ball(self, id, distance):
10245 """get_in_ball(DynamicNearestNeighbor3D self, int id, double distance) -> IMP::Ints"""
10246 return _IMP_algebra.DynamicNearestNeighbor3D_get_in_ball(self, id, distance)
10249 def set_coordinates(self, id, nc):
10250 """set_coordinates(DynamicNearestNeighbor3D self, int id, Vector3D nc)"""
10251 return _IMP_algebra.DynamicNearestNeighbor3D_set_coordinates(self, id, nc)
10254 def get_version_info(self):
10255 """get_version_info(DynamicNearestNeighbor3D self) -> VersionInfo"""
10256 return _IMP_algebra.DynamicNearestNeighbor3D_get_version_info(self)
10260 """__str__(DynamicNearestNeighbor3D self) -> std::string"""
10261 return _IMP_algebra.DynamicNearestNeighbor3D___str__(self)
10264 def __repr__(self):
10265 """__repr__(DynamicNearestNeighbor3D self) -> std::string"""
10266 return _IMP_algebra.DynamicNearestNeighbor3D___repr__(self)
10271 return _object_cast_to_DynamicNearestNeighbor3D(o)
10273 DynamicNearestNeighbor3D_swigregister = _IMP_algebra.DynamicNearestNeighbor3D_swigregister
10274 DynamicNearestNeighbor3D_swigregister(DynamicNearestNeighbor3D)
10277 """Proxy of C++ IMP::algebra::VectorKDMetric class"""
10278 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10280 def __init__(self, name):
10281 """__init__(IMP::algebra::VectorKDMetric self, std::string name) -> VectorKDMetric"""
10282 if self.__class__ == VectorKDMetric:
10286 this = _IMP_algebra.new_VectorKDMetric(_self, name)
10288 self.this.append(this)
10292 if self.__class__ != VectorKDMetric:
10293 _director_objects.register(self)
10299 """get_distance(VectorKDMetric self, VectorKD a, VectorKD b) -> double"""
10300 return _IMP_algebra.VectorKDMetric_get_distance(self, a, b)
10304 """get_centroid(VectorKDMetric self, IMP::algebra::VectorKDs const & vs) -> VectorKD"""
10305 return _IMP_algebra.VectorKDMetric_get_centroid(self, vs)
10309 """__str__(VectorKDMetric self) -> std::string"""
10310 return _IMP_algebra.VectorKDMetric___str__(self)
10313 def __repr__(self):
10314 """__repr__(VectorKDMetric self) -> std::string"""
10315 return _IMP_algebra.VectorKDMetric___repr__(self)
10320 return _object_cast_to_VectorKDMetric(o)
10323 def get_type_name(self):
10324 return self.__class__.__name__
10325 def do_show(self, out):
10327 def get_version_info(self):
10328 if"IMP::algebra" ==
"IMP":
10329 return VersionInfo(self.__module__,
10330 __import__(self.__module__).get_module_version())
10333 __import__(self.__module__).get_module_version())
10336 return _object_cast_to_VectorKDMetric(o)
10338 __swig_destroy__ = _IMP_algebra.delete_VectorKDMetric
10339 __del__ =
lambda self:
None
10340 def __disown__(self):
10342 _IMP_algebra.disown_VectorKDMetric(self)
10343 return weakref_proxy(self)
10345 def do_destroy(self):
10346 """do_destroy(VectorKDMetric self)"""
10347 return _IMP_algebra.VectorKDMetric_do_destroy(self)
10349 VectorKDMetric_swigregister = _IMP_algebra.VectorKDMetric_swigregister
10350 VectorKDMetric_swigregister(VectorKDMetric)
10352 class EuclideanVectorKDMetric(VectorKDMetric):
10353 """Proxy of C++ IMP::algebra::EuclideanVectorKDMetric class"""
10354 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10356 def __init__(self, *args):
10358 __init__(IMP::algebra::EuclideanVectorKDMetric self, std::string name) -> EuclideanVectorKDMetric
10359 __init__(IMP::algebra::EuclideanVectorKDMetric self) -> EuclideanVectorKDMetric
10361 this = _IMP_algebra.new_EuclideanVectorKDMetric(*args)
10363 self.this.append(this)
10367 def get_version_info(self):
10368 """get_version_info(EuclideanVectorKDMetric self) -> VersionInfo"""
10369 return _IMP_algebra.EuclideanVectorKDMetric_get_version_info(self)
10373 """__str__(EuclideanVectorKDMetric self) -> std::string"""
10374 return _IMP_algebra.EuclideanVectorKDMetric___str__(self)
10377 def __repr__(self):
10378 """__repr__(EuclideanVectorKDMetric self) -> std::string"""
10379 return _IMP_algebra.EuclideanVectorKDMetric___repr__(self)
10384 return _object_cast_to_EuclideanVectorKDMetric(o)
10386 EuclideanVectorKDMetric_swigregister = _IMP_algebra.EuclideanVectorKDMetric_swigregister
10387 EuclideanVectorKDMetric_swigregister(EuclideanVectorKDMetric)
10389 class MaxVectorKDMetric(VectorKDMetric):
10390 """Proxy of C++ IMP::algebra::MaxVectorKDMetric class"""
10391 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10393 def __init__(self, *args):
10395 __init__(IMP::algebra::MaxVectorKDMetric self, std::string name) -> MaxVectorKDMetric
10396 __init__(IMP::algebra::MaxVectorKDMetric self) -> MaxVectorKDMetric
10398 this = _IMP_algebra.new_MaxVectorKDMetric(*args)
10400 self.this.append(this)
10404 def get_version_info(self):
10405 """get_version_info(MaxVectorKDMetric self) -> VersionInfo"""
10406 return _IMP_algebra.MaxVectorKDMetric_get_version_info(self)
10410 """__str__(MaxVectorKDMetric self) -> std::string"""
10411 return _IMP_algebra.MaxVectorKDMetric___str__(self)
10414 def __repr__(self):
10415 """__repr__(MaxVectorKDMetric self) -> std::string"""
10416 return _IMP_algebra.MaxVectorKDMetric___repr__(self)
10421 return _object_cast_to_MaxVectorKDMetric(o)
10423 MaxVectorKDMetric_swigregister = _IMP_algebra.MaxVectorKDMetric_swigregister
10424 MaxVectorKDMetric_swigregister(MaxVectorKDMetric)
10426 class Gaussian3D(_GeometricPrimitive3D):
10427 """Proxy of C++ IMP::algebra::Gaussian3D class"""
10428 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10430 def __init__(self, *args):
10432 __init__(IMP::algebra::Gaussian3D self) -> Gaussian3D
10433 __init__(IMP::algebra::Gaussian3D self, ReferenceFrame3D tr, Vector3D variances) -> Gaussian3D
10435 this = _IMP_algebra.new_Gaussian3D(*args)
10437 self.this.append(this)
10441 def get_reference_frame(self):
10442 """get_reference_frame(Gaussian3D self) -> ReferenceFrame3D"""
10443 return _IMP_algebra.Gaussian3D_get_reference_frame(self)
10446 def get_variances(self):
10447 """get_variances(Gaussian3D self) -> Vector3D"""
10448 return _IMP_algebra.Gaussian3D_get_variances(self)
10451 def get_center(self):
10452 """get_center(Gaussian3D self) -> Vector3D"""
10453 return _IMP_algebra.Gaussian3D_get_center(self)
10456 def show(self, *args):
10458 show(Gaussian3D self, _ostream out)
10459 show(Gaussian3D self)
10461 return _IMP_algebra.Gaussian3D_show(self, *args)
10465 """__str__(Gaussian3D self) -> std::string"""
10466 return _IMP_algebra.Gaussian3D___str__(self)
10469 def __repr__(self):
10470 """__repr__(Gaussian3D self) -> std::string"""
10471 return _IMP_algebra.Gaussian3D___repr__(self)
10473 __swig_destroy__ = _IMP_algebra.delete_Gaussian3D
10474 __del__ =
lambda self:
None
10475 Gaussian3D_swigregister = _IMP_algebra.Gaussian3D_swigregister
10476 Gaussian3D_swigregister(Gaussian3D)
10480 """get_covariance(Gaussian3D g) -> IMP_Eigen::Matrix3d"""
10481 return _IMP_algebra.get_covariance(g)
10484 """get_gaussian_from_covariance(IMP_Eigen::Matrix3d const & covariance, Vector3D center) -> Gaussian3D"""
10485 return _IMP_algebra.get_gaussian_from_covariance(covariance, center)
10488 """get_rasterized(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseFloatGrid3D"""
10489 return _IMP_algebra.get_rasterized(gmm, weights, cell_width, bb)
10491 def _pass_matrix_xf(m):
10492 """_pass_matrix_xf(IMP_Eigen::MatrixXf const & m) -> IMP_Eigen::MatrixXf"""
10493 return _IMP_algebra._pass_matrix_xf(m)
10495 def _pass_matrix_xd(m):
10496 """_pass_matrix_xd(IMP_Eigen::MatrixXd const & m) -> IMP_Eigen::MatrixXd"""
10497 return _IMP_algebra._pass_matrix_xd(m)
10499 def _pass_matrix_3d(m):
10500 """_pass_matrix_3d(IMP_Eigen::Matrix3d const & m) -> IMP_Eigen::Matrix3d"""
10501 return _IMP_algebra._pass_matrix_3d(m)
10503 def _pass_array_xd(m):
10504 """_pass_array_xd(IMP_Eigen::ArrayXXd const & m) -> IMP_Eigen::ArrayXXd"""
10505 return _IMP_algebra._pass_array_xd(m)
10507 def _pass_vector_xd(m):
10508 """_pass_vector_xd(IMP_Eigen::VectorXd const & m) -> IMP_Eigen::VectorXd"""
10509 return _IMP_algebra._pass_vector_xd(m)
10511 """Proxy of C++ IMP::algebra::NearestNeighborD<(1)> class"""
10512 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10514 def __init__(self, *args):
10516 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs, double epsilon=0) -> NearestNeighbor1D
10517 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs) -> NearestNeighbor1D
10519 this = _IMP_algebra.new_NearestNeighbor1D(*args)
10521 self.this.append(this)
10525 def set_query_log(self, fname):
10526 """set_query_log(NearestNeighbor1D self, std::string fname)"""
10527 return _IMP_algebra.NearestNeighbor1D_set_query_log(self, fname)
10530 def get_nearest_neighbor(self, *args):
10532 get_nearest_neighbor(NearestNeighbor1D self, Vector1D q) -> unsigned int
10533 get_nearest_neighbor(NearestNeighbor1D self, unsigned int i) -> unsigned int
10535 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbor(self, *args)
10538 def get_nearest_neighbors(self, *args):
10540 get_nearest_neighbors(NearestNeighbor1D self, unsigned int i, unsigned int k) -> IMP::Ints
10541 get_nearest_neighbors(NearestNeighbor1D self, Vector1D v, unsigned int k) -> IMP::Ints
10543 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbors(self, *args)
10546 def get_in_ball(self, *args):
10548 get_in_ball(NearestNeighbor1D self, unsigned int i, double distance) -> IMP::Ints
10549 get_in_ball(NearestNeighbor1D self, Vector1D pt, double distance) -> IMP::Ints
10551 return _IMP_algebra.NearestNeighbor1D_get_in_ball(self, *args)
10554 def get_version_info(self):
10555 """get_version_info(NearestNeighbor1D self) -> VersionInfo"""
10556 return _IMP_algebra.NearestNeighbor1D_get_version_info(self)
10560 """__str__(NearestNeighbor1D self) -> std::string"""
10561 return _IMP_algebra.NearestNeighbor1D___str__(self)
10564 def __repr__(self):
10565 """__repr__(NearestNeighbor1D self) -> std::string"""
10566 return _IMP_algebra.NearestNeighbor1D___repr__(self)
10571 return _object_cast_to_NearestNeighborD(o)
10573 NearestNeighbor1D_swigregister = _IMP_algebra.NearestNeighbor1D_swigregister
10574 NearestNeighbor1D_swigregister(NearestNeighbor1D)
10577 """Proxy of C++ IMP::algebra::NearestNeighborD<(2)> class"""
10578 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10580 def __init__(self, *args):
10582 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs, double epsilon=0) -> NearestNeighbor2D
10583 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs) -> NearestNeighbor2D
10585 this = _IMP_algebra.new_NearestNeighbor2D(*args)
10587 self.this.append(this)
10591 def set_query_log(self, fname):
10592 """set_query_log(NearestNeighbor2D self, std::string fname)"""
10593 return _IMP_algebra.NearestNeighbor2D_set_query_log(self, fname)
10596 def get_nearest_neighbor(self, *args):
10598 get_nearest_neighbor(NearestNeighbor2D self, Vector2D q) -> unsigned int
10599 get_nearest_neighbor(NearestNeighbor2D self, unsigned int i) -> unsigned int
10601 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbor(self, *args)
10604 def get_nearest_neighbors(self, *args):
10606 get_nearest_neighbors(NearestNeighbor2D self, unsigned int i, unsigned int k) -> IMP::Ints
10607 get_nearest_neighbors(NearestNeighbor2D self, Vector2D v, unsigned int k) -> IMP::Ints
10609 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbors(self, *args)
10612 def get_in_ball(self, *args):
10614 get_in_ball(NearestNeighbor2D self, unsigned int i, double distance) -> IMP::Ints
10615 get_in_ball(NearestNeighbor2D self, Vector2D pt, double distance) -> IMP::Ints
10617 return _IMP_algebra.NearestNeighbor2D_get_in_ball(self, *args)
10620 def get_version_info(self):
10621 """get_version_info(NearestNeighbor2D self) -> VersionInfo"""
10622 return _IMP_algebra.NearestNeighbor2D_get_version_info(self)
10626 """__str__(NearestNeighbor2D self) -> std::string"""
10627 return _IMP_algebra.NearestNeighbor2D___str__(self)
10630 def __repr__(self):
10631 """__repr__(NearestNeighbor2D self) -> std::string"""
10632 return _IMP_algebra.NearestNeighbor2D___repr__(self)
10637 return _object_cast_to_NearestNeighborD(o)
10639 NearestNeighbor2D_swigregister = _IMP_algebra.NearestNeighbor2D_swigregister
10640 NearestNeighbor2D_swigregister(NearestNeighbor2D)
10643 """Proxy of C++ IMP::algebra::NearestNeighborD<(3)> class"""
10644 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10646 def __init__(self, *args):
10648 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs, double epsilon=0) -> NearestNeighbor3D
10649 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs) -> NearestNeighbor3D
10651 this = _IMP_algebra.new_NearestNeighbor3D(*args)
10653 self.this.append(this)
10657 def set_query_log(self, fname):
10658 """set_query_log(NearestNeighbor3D self, std::string fname)"""
10659 return _IMP_algebra.NearestNeighbor3D_set_query_log(self, fname)
10662 def get_nearest_neighbor(self, *args):
10664 get_nearest_neighbor(NearestNeighbor3D self, Vector3D q) -> unsigned int
10665 get_nearest_neighbor(NearestNeighbor3D self, unsigned int i) -> unsigned int
10667 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbor(self, *args)
10670 def get_nearest_neighbors(self, *args):
10672 get_nearest_neighbors(NearestNeighbor3D self, unsigned int i, unsigned int k) -> IMP::Ints
10673 get_nearest_neighbors(NearestNeighbor3D self, Vector3D v, unsigned int k) -> IMP::Ints
10675 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbors(self, *args)
10678 def get_in_ball(self, *args):
10680 get_in_ball(NearestNeighbor3D self, unsigned int i, double distance) -> IMP::Ints
10681 get_in_ball(NearestNeighbor3D self, Vector3D pt, double distance) -> IMP::Ints
10683 return _IMP_algebra.NearestNeighbor3D_get_in_ball(self, *args)
10686 def get_version_info(self):
10687 """get_version_info(NearestNeighbor3D self) -> VersionInfo"""
10688 return _IMP_algebra.NearestNeighbor3D_get_version_info(self)
10692 """__str__(NearestNeighbor3D self) -> std::string"""
10693 return _IMP_algebra.NearestNeighbor3D___str__(self)
10696 def __repr__(self):
10697 """__repr__(NearestNeighbor3D self) -> std::string"""
10698 return _IMP_algebra.NearestNeighbor3D___repr__(self)
10703 return _object_cast_to_NearestNeighborD(o)
10705 NearestNeighbor3D_swigregister = _IMP_algebra.NearestNeighbor3D_swigregister
10706 NearestNeighbor3D_swigregister(NearestNeighbor3D)
10709 """Proxy of C++ IMP::algebra::NearestNeighborD<(4)> class"""
10710 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10712 def __init__(self, *args):
10714 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs, double epsilon=0) -> NearestNeighbor4D
10715 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs) -> NearestNeighbor4D
10717 this = _IMP_algebra.new_NearestNeighbor4D(*args)
10719 self.this.append(this)
10723 def set_query_log(self, fname):
10724 """set_query_log(NearestNeighbor4D self, std::string fname)"""
10725 return _IMP_algebra.NearestNeighbor4D_set_query_log(self, fname)
10728 def get_nearest_neighbor(self, *args):
10730 get_nearest_neighbor(NearestNeighbor4D self, Vector4D q) -> unsigned int
10731 get_nearest_neighbor(NearestNeighbor4D self, unsigned int i) -> unsigned int
10733 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbor(self, *args)
10736 def get_nearest_neighbors(self, *args):
10738 get_nearest_neighbors(NearestNeighbor4D self, unsigned int i, unsigned int k) -> IMP::Ints
10739 get_nearest_neighbors(NearestNeighbor4D self, Vector4D v, unsigned int k) -> IMP::Ints
10741 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbors(self, *args)
10744 def get_in_ball(self, *args):
10746 get_in_ball(NearestNeighbor4D self, unsigned int i, double distance) -> IMP::Ints
10747 get_in_ball(NearestNeighbor4D self, Vector4D pt, double distance) -> IMP::Ints
10749 return _IMP_algebra.NearestNeighbor4D_get_in_ball(self, *args)
10752 def get_version_info(self):
10753 """get_version_info(NearestNeighbor4D self) -> VersionInfo"""
10754 return _IMP_algebra.NearestNeighbor4D_get_version_info(self)
10758 """__str__(NearestNeighbor4D self) -> std::string"""
10759 return _IMP_algebra.NearestNeighbor4D___str__(self)
10762 def __repr__(self):
10763 """__repr__(NearestNeighbor4D self) -> std::string"""
10764 return _IMP_algebra.NearestNeighbor4D___repr__(self)
10769 return _object_cast_to_NearestNeighborD(o)
10771 NearestNeighbor4D_swigregister = _IMP_algebra.NearestNeighbor4D_swigregister
10772 NearestNeighbor4D_swigregister(NearestNeighbor4D)
10775 """Proxy of C++ IMP::algebra::NearestNeighborD<(5)> class"""
10776 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10778 def __init__(self, *args):
10780 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs, double epsilon=0) -> NearestNeighbor5D
10781 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs) -> NearestNeighbor5D
10783 this = _IMP_algebra.new_NearestNeighbor5D(*args)
10785 self.this.append(this)
10789 def set_query_log(self, fname):
10790 """set_query_log(NearestNeighbor5D self, std::string fname)"""
10791 return _IMP_algebra.NearestNeighbor5D_set_query_log(self, fname)
10794 def get_nearest_neighbor(self, *args):
10796 get_nearest_neighbor(NearestNeighbor5D self, Vector5D q) -> unsigned int
10797 get_nearest_neighbor(NearestNeighbor5D self, unsigned int i) -> unsigned int
10799 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbor(self, *args)
10802 def get_nearest_neighbors(self, *args):
10804 get_nearest_neighbors(NearestNeighbor5D self, unsigned int i, unsigned int k) -> IMP::Ints
10805 get_nearest_neighbors(NearestNeighbor5D self, Vector5D v, unsigned int k) -> IMP::Ints
10807 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbors(self, *args)
10810 def get_in_ball(self, *args):
10812 get_in_ball(NearestNeighbor5D self, unsigned int i, double distance) -> IMP::Ints
10813 get_in_ball(NearestNeighbor5D self, Vector5D pt, double distance) -> IMP::Ints
10815 return _IMP_algebra.NearestNeighbor5D_get_in_ball(self, *args)
10818 def get_version_info(self):
10819 """get_version_info(NearestNeighbor5D self) -> VersionInfo"""
10820 return _IMP_algebra.NearestNeighbor5D_get_version_info(self)
10824 """__str__(NearestNeighbor5D self) -> std::string"""
10825 return _IMP_algebra.NearestNeighbor5D___str__(self)
10828 def __repr__(self):
10829 """__repr__(NearestNeighbor5D self) -> std::string"""
10830 return _IMP_algebra.NearestNeighbor5D___repr__(self)
10835 return _object_cast_to_NearestNeighborD(o)
10837 NearestNeighbor5D_swigregister = _IMP_algebra.NearestNeighbor5D_swigregister
10838 NearestNeighbor5D_swigregister(NearestNeighbor5D)
10841 """Proxy of C++ IMP::algebra::NearestNeighborD<(6)> class"""
10842 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10844 def __init__(self, *args):
10846 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs, double epsilon=0) -> NearestNeighbor6D
10847 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs) -> NearestNeighbor6D
10849 this = _IMP_algebra.new_NearestNeighbor6D(*args)
10851 self.this.append(this)
10855 def set_query_log(self, fname):
10856 """set_query_log(NearestNeighbor6D self, std::string fname)"""
10857 return _IMP_algebra.NearestNeighbor6D_set_query_log(self, fname)
10860 def get_nearest_neighbor(self, *args):
10862 get_nearest_neighbor(NearestNeighbor6D self, Vector6D q) -> unsigned int
10863 get_nearest_neighbor(NearestNeighbor6D self, unsigned int i) -> unsigned int
10865 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbor(self, *args)
10868 def get_nearest_neighbors(self, *args):
10870 get_nearest_neighbors(NearestNeighbor6D self, unsigned int i, unsigned int k) -> IMP::Ints
10871 get_nearest_neighbors(NearestNeighbor6D self, Vector6D v, unsigned int k) -> IMP::Ints
10873 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbors(self, *args)
10876 def get_in_ball(self, *args):
10878 get_in_ball(NearestNeighbor6D self, unsigned int i, double distance) -> IMP::Ints
10879 get_in_ball(NearestNeighbor6D self, Vector6D pt, double distance) -> IMP::Ints
10881 return _IMP_algebra.NearestNeighbor6D_get_in_ball(self, *args)
10884 def get_version_info(self):
10885 """get_version_info(NearestNeighbor6D self) -> VersionInfo"""
10886 return _IMP_algebra.NearestNeighbor6D_get_version_info(self)
10890 """__str__(NearestNeighbor6D self) -> std::string"""
10891 return _IMP_algebra.NearestNeighbor6D___str__(self)
10894 def __repr__(self):
10895 """__repr__(NearestNeighbor6D self) -> std::string"""
10896 return _IMP_algebra.NearestNeighbor6D___repr__(self)
10901 return _object_cast_to_NearestNeighborD(o)
10903 NearestNeighbor6D_swigregister = _IMP_algebra.NearestNeighbor6D_swigregister
10904 NearestNeighbor6D_swigregister(NearestNeighbor6D)
10907 """Proxy of C++ IMP::algebra::NearestNeighborD<(-1)> class"""
10908 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10910 def __init__(self, *args):
10912 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs, double epsilon=0) -> NearestNeighborKD
10913 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs) -> NearestNeighborKD
10915 this = _IMP_algebra.new_NearestNeighborKD(*args)
10917 self.this.append(this)
10921 def set_query_log(self, fname):
10922 """set_query_log(NearestNeighborKD self, std::string fname)"""
10923 return _IMP_algebra.NearestNeighborKD_set_query_log(self, fname)
10926 def get_nearest_neighbor(self, *args):
10928 get_nearest_neighbor(NearestNeighborKD self, VectorKD q) -> unsigned int
10929 get_nearest_neighbor(NearestNeighborKD self, unsigned int i) -> unsigned int
10931 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbor(self, *args)
10934 def get_nearest_neighbors(self, *args):
10936 get_nearest_neighbors(NearestNeighborKD self, unsigned int i, unsigned int k) -> IMP::Ints
10937 get_nearest_neighbors(NearestNeighborKD self, VectorKD v, unsigned int k) -> IMP::Ints
10939 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbors(self, *args)
10942 def get_in_ball(self, *args):
10944 get_in_ball(NearestNeighborKD self, unsigned int i, double distance) -> IMP::Ints
10945 get_in_ball(NearestNeighborKD self, VectorKD pt, double distance) -> IMP::Ints
10947 return _IMP_algebra.NearestNeighborKD_get_in_ball(self, *args)
10950 def get_version_info(self):
10951 """get_version_info(NearestNeighborKD self) -> VersionInfo"""
10952 return _IMP_algebra.NearestNeighborKD_get_version_info(self)
10956 """__str__(NearestNeighborKD self) -> std::string"""
10957 return _IMP_algebra.NearestNeighborKD___str__(self)
10960 def __repr__(self):
10961 """__repr__(NearestNeighborKD self) -> std::string"""
10962 return _IMP_algebra.NearestNeighborKD___repr__(self)
10967 return _object_cast_to_NearestNeighborD(o)
10969 NearestNeighborKD_swigregister = _IMP_algebra.NearestNeighborKD_swigregister
10970 NearestNeighborKD_swigregister(NearestNeighborKD)
10974 """get_transformation_aligning_pair(IMP::algebra::Vector2Ds const & set_from, IMP::algebra::Vector2Ds const & set_to) -> Transformation2D"""
10975 return _IMP_algebra.get_transformation_aligning_pair(set_from, set_to)
10976 class PrincipalComponentAnalysis1D(_GeometricPrimitive1D):
10977 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(1)> class"""
10978 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10980 def __init__(self, *args):
10982 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self) -> PrincipalComponentAnalysis1D
10983 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & pcs, Vector1D values, Vector1D centroid) -> PrincipalComponentAnalysis1D
10985 this = _IMP_algebra.new_PrincipalComponentAnalysis1D(*args)
10987 self.this.append(this)
10992 """get_principal_components(PrincipalComponentAnalysis1D self) -> IMP::Vector< IMP::algebra::VectorD< 1 > >"""
10993 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_components(self)
10996 def get_principal_component(self, i):
10997 """get_principal_component(PrincipalComponentAnalysis1D self, unsigned int i) -> Vector1D"""
10998 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_component(self, i)
11001 def get_principal_values(self):
11002 """get_principal_values(PrincipalComponentAnalysis1D self) -> Vector1D"""
11003 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_values(self)
11006 def get_principal_value(self, i):
11007 """get_principal_value(PrincipalComponentAnalysis1D self, unsigned int i) -> double"""
11008 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_value(self, i)
11012 """get_centroid(PrincipalComponentAnalysis1D self) -> Vector1D"""
11013 return _IMP_algebra.PrincipalComponentAnalysis1D_get_centroid(self)
11016 def set_centroid(self, cntr):
11017 """set_centroid(PrincipalComponentAnalysis1D self, Vector1D cntr)"""
11018 return _IMP_algebra.PrincipalComponentAnalysis1D_set_centroid(self, cntr)
11021 def show(self, *args):
11023 show(PrincipalComponentAnalysis1D self, _ostream out)
11024 show(PrincipalComponentAnalysis1D self)
11026 return _IMP_algebra.PrincipalComponentAnalysis1D_show(self, *args)
11029 def __cmp__(self, o):
11030 """__cmp__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> int"""
11031 return _IMP_algebra.PrincipalComponentAnalysis1D___cmp__(self, o)
11034 def __eq__(self, o):
11035 """__eq__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11036 return _IMP_algebra.PrincipalComponentAnalysis1D___eq__(self, o)
11039 def __ne__(self, o):
11040 """__ne__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11041 return _IMP_algebra.PrincipalComponentAnalysis1D___ne__(self, o)
11044 def __lt__(self, o):
11045 """__lt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11046 return _IMP_algebra.PrincipalComponentAnalysis1D___lt__(self, o)
11049 def __gt__(self, o):
11050 """__gt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11051 return _IMP_algebra.PrincipalComponentAnalysis1D___gt__(self, o)
11054 def __ge__(self, o):
11055 """__ge__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11056 return _IMP_algebra.PrincipalComponentAnalysis1D___ge__(self, o)
11059 def __le__(self, o):
11060 """__le__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11061 return _IMP_algebra.PrincipalComponentAnalysis1D___le__(self, o)
11065 """__str__(PrincipalComponentAnalysis1D self) -> std::string"""
11066 return _IMP_algebra.PrincipalComponentAnalysis1D___str__(self)
11069 def __repr__(self):
11070 """__repr__(PrincipalComponentAnalysis1D self) -> std::string"""
11071 return _IMP_algebra.PrincipalComponentAnalysis1D___repr__(self)
11073 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis1D
11074 __del__ =
lambda self:
None
11075 PrincipalComponentAnalysis1D_swigregister = _IMP_algebra.PrincipalComponentAnalysis1D_swigregister
11076 PrincipalComponentAnalysis1D_swigregister(PrincipalComponentAnalysis1D)
11078 class PrincipalComponentAnalysis2D(_GeometricPrimitive2D):
11079 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(2)> class"""
11080 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11082 def __init__(self, *args):
11084 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self) -> PrincipalComponentAnalysis2D
11085 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & pcs, Vector2D values, Vector2D centroid) -> PrincipalComponentAnalysis2D
11087 this = _IMP_algebra.new_PrincipalComponentAnalysis2D(*args)
11089 self.this.append(this)
11094 """get_principal_components(PrincipalComponentAnalysis2D self) -> IMP::Vector< IMP::algebra::VectorD< 2 > >"""
11095 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_components(self)
11098 def get_principal_component(self, i):
11099 """get_principal_component(PrincipalComponentAnalysis2D self, unsigned int i) -> Vector2D"""
11100 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_component(self, i)
11103 def get_principal_values(self):
11104 """get_principal_values(PrincipalComponentAnalysis2D self) -> Vector2D"""
11105 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_values(self)
11108 def get_principal_value(self, i):
11109 """get_principal_value(PrincipalComponentAnalysis2D self, unsigned int i) -> double"""
11110 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_value(self, i)
11114 """get_centroid(PrincipalComponentAnalysis2D self) -> Vector2D"""
11115 return _IMP_algebra.PrincipalComponentAnalysis2D_get_centroid(self)
11118 def set_centroid(self, cntr):
11119 """set_centroid(PrincipalComponentAnalysis2D self, Vector2D cntr)"""
11120 return _IMP_algebra.PrincipalComponentAnalysis2D_set_centroid(self, cntr)
11123 def show(self, *args):
11125 show(PrincipalComponentAnalysis2D self, _ostream out)
11126 show(PrincipalComponentAnalysis2D self)
11128 return _IMP_algebra.PrincipalComponentAnalysis2D_show(self, *args)
11131 def __cmp__(self, o):
11132 """__cmp__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> int"""
11133 return _IMP_algebra.PrincipalComponentAnalysis2D___cmp__(self, o)
11136 def __eq__(self, o):
11137 """__eq__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11138 return _IMP_algebra.PrincipalComponentAnalysis2D___eq__(self, o)
11141 def __ne__(self, o):
11142 """__ne__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11143 return _IMP_algebra.PrincipalComponentAnalysis2D___ne__(self, o)
11146 def __lt__(self, o):
11147 """__lt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11148 return _IMP_algebra.PrincipalComponentAnalysis2D___lt__(self, o)
11151 def __gt__(self, o):
11152 """__gt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11153 return _IMP_algebra.PrincipalComponentAnalysis2D___gt__(self, o)
11156 def __ge__(self, o):
11157 """__ge__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11158 return _IMP_algebra.PrincipalComponentAnalysis2D___ge__(self, o)
11161 def __le__(self, o):
11162 """__le__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11163 return _IMP_algebra.PrincipalComponentAnalysis2D___le__(self, o)
11167 """__str__(PrincipalComponentAnalysis2D self) -> std::string"""
11168 return _IMP_algebra.PrincipalComponentAnalysis2D___str__(self)
11171 def __repr__(self):
11172 """__repr__(PrincipalComponentAnalysis2D self) -> std::string"""
11173 return _IMP_algebra.PrincipalComponentAnalysis2D___repr__(self)
11175 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis2D
11176 __del__ =
lambda self:
None
11177 PrincipalComponentAnalysis2D_swigregister = _IMP_algebra.PrincipalComponentAnalysis2D_swigregister
11178 PrincipalComponentAnalysis2D_swigregister(PrincipalComponentAnalysis2D)
11180 class PrincipalComponentAnalysis3D(_GeometricPrimitive3D):
11181 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(3)> class"""
11182 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11184 def __init__(self, *args):
11186 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self) -> PrincipalComponentAnalysis3D
11187 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & pcs, Vector3D values, Vector3D centroid) -> PrincipalComponentAnalysis3D
11189 this = _IMP_algebra.new_PrincipalComponentAnalysis3D(*args)
11191 self.this.append(this)
11196 """get_principal_components(PrincipalComponentAnalysis3D self) -> IMP::Vector< IMP::algebra::VectorD< 3 > >"""
11197 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_components(self)
11200 def get_principal_component(self, i):
11201 """get_principal_component(PrincipalComponentAnalysis3D self, unsigned int i) -> Vector3D"""
11202 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_component(self, i)
11205 def get_principal_values(self):
11206 """get_principal_values(PrincipalComponentAnalysis3D self) -> Vector3D"""
11207 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_values(self)
11210 def get_principal_value(self, i):
11211 """get_principal_value(PrincipalComponentAnalysis3D self, unsigned int i) -> double"""
11212 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_value(self, i)
11216 """get_centroid(PrincipalComponentAnalysis3D self) -> Vector3D"""
11217 return _IMP_algebra.PrincipalComponentAnalysis3D_get_centroid(self)
11220 def set_centroid(self, cntr):
11221 """set_centroid(PrincipalComponentAnalysis3D self, Vector3D cntr)"""
11222 return _IMP_algebra.PrincipalComponentAnalysis3D_set_centroid(self, cntr)
11225 def show(self, *args):
11227 show(PrincipalComponentAnalysis3D self, _ostream out)
11228 show(PrincipalComponentAnalysis3D self)
11230 return _IMP_algebra.PrincipalComponentAnalysis3D_show(self, *args)
11233 def __cmp__(self, o):
11234 """__cmp__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> int"""
11235 return _IMP_algebra.PrincipalComponentAnalysis3D___cmp__(self, o)
11238 def __eq__(self, o):
11239 """__eq__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11240 return _IMP_algebra.PrincipalComponentAnalysis3D___eq__(self, o)
11243 def __ne__(self, o):
11244 """__ne__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11245 return _IMP_algebra.PrincipalComponentAnalysis3D___ne__(self, o)
11248 def __lt__(self, o):
11249 """__lt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11250 return _IMP_algebra.PrincipalComponentAnalysis3D___lt__(self, o)
11253 def __gt__(self, o):
11254 """__gt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11255 return _IMP_algebra.PrincipalComponentAnalysis3D___gt__(self, o)
11258 def __ge__(self, o):
11259 """__ge__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11260 return _IMP_algebra.PrincipalComponentAnalysis3D___ge__(self, o)
11263 def __le__(self, o):
11264 """__le__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11265 return _IMP_algebra.PrincipalComponentAnalysis3D___le__(self, o)
11269 """__str__(PrincipalComponentAnalysis3D self) -> std::string"""
11270 return _IMP_algebra.PrincipalComponentAnalysis3D___str__(self)
11273 def __repr__(self):
11274 """__repr__(PrincipalComponentAnalysis3D self) -> std::string"""
11275 return _IMP_algebra.PrincipalComponentAnalysis3D___repr__(self)
11277 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis3D
11278 __del__ =
lambda self:
None
11279 PrincipalComponentAnalysis3D_swigregister = _IMP_algebra.PrincipalComponentAnalysis3D_swigregister
11280 PrincipalComponentAnalysis3D_swigregister(PrincipalComponentAnalysis3D)
11282 class PrincipalComponentAnalysis4D(_GeometricPrimitive4D):
11283 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(4)> class"""
11284 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11286 def __init__(self, *args):
11288 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self) -> PrincipalComponentAnalysis4D
11289 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & pcs, Vector4D values, Vector4D centroid) -> PrincipalComponentAnalysis4D
11291 this = _IMP_algebra.new_PrincipalComponentAnalysis4D(*args)
11293 self.this.append(this)
11298 """get_principal_components(PrincipalComponentAnalysis4D self) -> IMP::Vector< IMP::algebra::VectorD< 4 > >"""
11299 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_components(self)
11302 def get_principal_component(self, i):
11303 """get_principal_component(PrincipalComponentAnalysis4D self, unsigned int i) -> Vector4D"""
11304 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_component(self, i)
11307 def get_principal_values(self):
11308 """get_principal_values(PrincipalComponentAnalysis4D self) -> Vector4D"""
11309 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_values(self)
11312 def get_principal_value(self, i):
11313 """get_principal_value(PrincipalComponentAnalysis4D self, unsigned int i) -> double"""
11314 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_value(self, i)
11318 """get_centroid(PrincipalComponentAnalysis4D self) -> Vector4D"""
11319 return _IMP_algebra.PrincipalComponentAnalysis4D_get_centroid(self)
11322 def set_centroid(self, cntr):
11323 """set_centroid(PrincipalComponentAnalysis4D self, Vector4D cntr)"""
11324 return _IMP_algebra.PrincipalComponentAnalysis4D_set_centroid(self, cntr)
11327 def show(self, *args):
11329 show(PrincipalComponentAnalysis4D self, _ostream out)
11330 show(PrincipalComponentAnalysis4D self)
11332 return _IMP_algebra.PrincipalComponentAnalysis4D_show(self, *args)
11335 def __cmp__(self, o):
11336 """__cmp__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> int"""
11337 return _IMP_algebra.PrincipalComponentAnalysis4D___cmp__(self, o)
11340 def __eq__(self, o):
11341 """__eq__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11342 return _IMP_algebra.PrincipalComponentAnalysis4D___eq__(self, o)
11345 def __ne__(self, o):
11346 """__ne__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11347 return _IMP_algebra.PrincipalComponentAnalysis4D___ne__(self, o)
11350 def __lt__(self, o):
11351 """__lt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11352 return _IMP_algebra.PrincipalComponentAnalysis4D___lt__(self, o)
11355 def __gt__(self, o):
11356 """__gt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11357 return _IMP_algebra.PrincipalComponentAnalysis4D___gt__(self, o)
11360 def __ge__(self, o):
11361 """__ge__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11362 return _IMP_algebra.PrincipalComponentAnalysis4D___ge__(self, o)
11365 def __le__(self, o):
11366 """__le__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11367 return _IMP_algebra.PrincipalComponentAnalysis4D___le__(self, o)
11371 """__str__(PrincipalComponentAnalysis4D self) -> std::string"""
11372 return _IMP_algebra.PrincipalComponentAnalysis4D___str__(self)
11375 def __repr__(self):
11376 """__repr__(PrincipalComponentAnalysis4D self) -> std::string"""
11377 return _IMP_algebra.PrincipalComponentAnalysis4D___repr__(self)
11379 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis4D
11380 __del__ =
lambda self:
None
11381 PrincipalComponentAnalysis4D_swigregister = _IMP_algebra.PrincipalComponentAnalysis4D_swigregister
11382 PrincipalComponentAnalysis4D_swigregister(PrincipalComponentAnalysis4D)
11384 class PrincipalComponentAnalysis5D(_GeometricPrimitive5D):
11385 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(5)> class"""
11386 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11388 def __init__(self, *args):
11390 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self) -> PrincipalComponentAnalysis5D
11391 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & pcs, Vector5D values, Vector5D centroid) -> PrincipalComponentAnalysis5D
11393 this = _IMP_algebra.new_PrincipalComponentAnalysis5D(*args)
11395 self.this.append(this)
11400 """get_principal_components(PrincipalComponentAnalysis5D self) -> IMP::Vector< IMP::algebra::VectorD< 5 > >"""
11401 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_components(self)
11404 def get_principal_component(self, i):
11405 """get_principal_component(PrincipalComponentAnalysis5D self, unsigned int i) -> Vector5D"""
11406 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_component(self, i)
11409 def get_principal_values(self):
11410 """get_principal_values(PrincipalComponentAnalysis5D self) -> Vector5D"""
11411 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_values(self)
11414 def get_principal_value(self, i):
11415 """get_principal_value(PrincipalComponentAnalysis5D self, unsigned int i) -> double"""
11416 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_value(self, i)
11420 """get_centroid(PrincipalComponentAnalysis5D self) -> Vector5D"""
11421 return _IMP_algebra.PrincipalComponentAnalysis5D_get_centroid(self)
11424 def set_centroid(self, cntr):
11425 """set_centroid(PrincipalComponentAnalysis5D self, Vector5D cntr)"""
11426 return _IMP_algebra.PrincipalComponentAnalysis5D_set_centroid(self, cntr)
11429 def show(self, *args):
11431 show(PrincipalComponentAnalysis5D self, _ostream out)
11432 show(PrincipalComponentAnalysis5D self)
11434 return _IMP_algebra.PrincipalComponentAnalysis5D_show(self, *args)
11437 def __cmp__(self, o):
11438 """__cmp__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> int"""
11439 return _IMP_algebra.PrincipalComponentAnalysis5D___cmp__(self, o)
11442 def __eq__(self, o):
11443 """__eq__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11444 return _IMP_algebra.PrincipalComponentAnalysis5D___eq__(self, o)
11447 def __ne__(self, o):
11448 """__ne__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11449 return _IMP_algebra.PrincipalComponentAnalysis5D___ne__(self, o)
11452 def __lt__(self, o):
11453 """__lt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11454 return _IMP_algebra.PrincipalComponentAnalysis5D___lt__(self, o)
11457 def __gt__(self, o):
11458 """__gt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11459 return _IMP_algebra.PrincipalComponentAnalysis5D___gt__(self, o)
11462 def __ge__(self, o):
11463 """__ge__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11464 return _IMP_algebra.PrincipalComponentAnalysis5D___ge__(self, o)
11467 def __le__(self, o):
11468 """__le__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11469 return _IMP_algebra.PrincipalComponentAnalysis5D___le__(self, o)
11473 """__str__(PrincipalComponentAnalysis5D self) -> std::string"""
11474 return _IMP_algebra.PrincipalComponentAnalysis5D___str__(self)
11477 def __repr__(self):
11478 """__repr__(PrincipalComponentAnalysis5D self) -> std::string"""
11479 return _IMP_algebra.PrincipalComponentAnalysis5D___repr__(self)
11481 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis5D
11482 __del__ =
lambda self:
None
11483 PrincipalComponentAnalysis5D_swigregister = _IMP_algebra.PrincipalComponentAnalysis5D_swigregister
11484 PrincipalComponentAnalysis5D_swigregister(PrincipalComponentAnalysis5D)
11486 class PrincipalComponentAnalysis6D(_GeometricPrimitive6D):
11487 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(6)> class"""
11488 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11490 def __init__(self, *args):
11492 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self) -> PrincipalComponentAnalysis6D
11493 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & pcs, Vector6D values, Vector6D centroid) -> PrincipalComponentAnalysis6D
11495 this = _IMP_algebra.new_PrincipalComponentAnalysis6D(*args)
11497 self.this.append(this)
11502 """get_principal_components(PrincipalComponentAnalysis6D self) -> IMP::Vector< IMP::algebra::VectorD< 6 > >"""
11503 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_components(self)
11506 def get_principal_component(self, i):
11507 """get_principal_component(PrincipalComponentAnalysis6D self, unsigned int i) -> Vector6D"""
11508 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_component(self, i)
11511 def get_principal_values(self):
11512 """get_principal_values(PrincipalComponentAnalysis6D self) -> Vector6D"""
11513 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_values(self)
11516 def get_principal_value(self, i):
11517 """get_principal_value(PrincipalComponentAnalysis6D self, unsigned int i) -> double"""
11518 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_value(self, i)
11522 """get_centroid(PrincipalComponentAnalysis6D self) -> Vector6D"""
11523 return _IMP_algebra.PrincipalComponentAnalysis6D_get_centroid(self)
11526 def set_centroid(self, cntr):
11527 """set_centroid(PrincipalComponentAnalysis6D self, Vector6D cntr)"""
11528 return _IMP_algebra.PrincipalComponentAnalysis6D_set_centroid(self, cntr)
11531 def show(self, *args):
11533 show(PrincipalComponentAnalysis6D self, _ostream out)
11534 show(PrincipalComponentAnalysis6D self)
11536 return _IMP_algebra.PrincipalComponentAnalysis6D_show(self, *args)
11539 def __cmp__(self, o):
11540 """__cmp__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> int"""
11541 return _IMP_algebra.PrincipalComponentAnalysis6D___cmp__(self, o)
11544 def __eq__(self, o):
11545 """__eq__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11546 return _IMP_algebra.PrincipalComponentAnalysis6D___eq__(self, o)
11549 def __ne__(self, o):
11550 """__ne__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11551 return _IMP_algebra.PrincipalComponentAnalysis6D___ne__(self, o)
11554 def __lt__(self, o):
11555 """__lt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11556 return _IMP_algebra.PrincipalComponentAnalysis6D___lt__(self, o)
11559 def __gt__(self, o):
11560 """__gt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11561 return _IMP_algebra.PrincipalComponentAnalysis6D___gt__(self, o)
11564 def __ge__(self, o):
11565 """__ge__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11566 return _IMP_algebra.PrincipalComponentAnalysis6D___ge__(self, o)
11569 def __le__(self, o):
11570 """__le__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11571 return _IMP_algebra.PrincipalComponentAnalysis6D___le__(self, o)
11575 """__str__(PrincipalComponentAnalysis6D self) -> std::string"""
11576 return _IMP_algebra.PrincipalComponentAnalysis6D___str__(self)
11579 def __repr__(self):
11580 """__repr__(PrincipalComponentAnalysis6D self) -> std::string"""
11581 return _IMP_algebra.PrincipalComponentAnalysis6D___repr__(self)
11583 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis6D
11584 __del__ =
lambda self:
None
11585 PrincipalComponentAnalysis6D_swigregister = _IMP_algebra.PrincipalComponentAnalysis6D_swigregister
11586 PrincipalComponentAnalysis6D_swigregister(PrincipalComponentAnalysis6D)
11588 class PrincipalComponentAnalysisKD(_GeometricPrimitiveKD):
11589 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(-1)> class"""
11590 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11592 def __init__(self, *args):
11594 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self) -> PrincipalComponentAnalysisKD
11595 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & pcs, VectorKD values, VectorKD centroid) -> PrincipalComponentAnalysisKD
11597 this = _IMP_algebra.new_PrincipalComponentAnalysisKD(*args)
11599 self.this.append(this)
11604 """get_principal_components(PrincipalComponentAnalysisKD self) -> IMP::Vector< IMP::algebra::VectorD< -1 > >"""
11605 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_components(self)
11608 def get_principal_component(self, i):
11609 """get_principal_component(PrincipalComponentAnalysisKD self, unsigned int i) -> VectorKD"""
11610 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_component(self, i)
11613 def get_principal_values(self):
11614 """get_principal_values(PrincipalComponentAnalysisKD self) -> VectorKD"""
11615 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_values(self)
11618 def get_principal_value(self, i):
11619 """get_principal_value(PrincipalComponentAnalysisKD self, unsigned int i) -> double"""
11620 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_value(self, i)
11624 """get_centroid(PrincipalComponentAnalysisKD self) -> VectorKD"""
11625 return _IMP_algebra.PrincipalComponentAnalysisKD_get_centroid(self)
11628 def set_centroid(self, cntr):
11629 """set_centroid(PrincipalComponentAnalysisKD self, VectorKD cntr)"""
11630 return _IMP_algebra.PrincipalComponentAnalysisKD_set_centroid(self, cntr)
11633 def show(self, *args):
11635 show(PrincipalComponentAnalysisKD self, _ostream out)
11636 show(PrincipalComponentAnalysisKD self)
11638 return _IMP_algebra.PrincipalComponentAnalysisKD_show(self, *args)
11641 def __cmp__(self, o):
11642 """__cmp__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> int"""
11643 return _IMP_algebra.PrincipalComponentAnalysisKD___cmp__(self, o)
11646 def __eq__(self, o):
11647 """__eq__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11648 return _IMP_algebra.PrincipalComponentAnalysisKD___eq__(self, o)
11651 def __ne__(self, o):
11652 """__ne__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11653 return _IMP_algebra.PrincipalComponentAnalysisKD___ne__(self, o)
11656 def __lt__(self, o):
11657 """__lt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11658 return _IMP_algebra.PrincipalComponentAnalysisKD___lt__(self, o)
11661 def __gt__(self, o):
11662 """__gt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11663 return _IMP_algebra.PrincipalComponentAnalysisKD___gt__(self, o)
11666 def __ge__(self, o):
11667 """__ge__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11668 return _IMP_algebra.PrincipalComponentAnalysisKD___ge__(self, o)
11671 def __le__(self, o):
11672 """__le__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11673 return _IMP_algebra.PrincipalComponentAnalysisKD___le__(self, o)
11677 """__str__(PrincipalComponentAnalysisKD self) -> std::string"""
11678 return _IMP_algebra.PrincipalComponentAnalysisKD___str__(self)
11681 def __repr__(self):
11682 """__repr__(PrincipalComponentAnalysisKD self) -> std::string"""
11683 return _IMP_algebra.PrincipalComponentAnalysisKD___repr__(self)
11685 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysisKD
11686 __del__ =
lambda self:
None
11687 PrincipalComponentAnalysisKD_swigregister = _IMP_algebra.PrincipalComponentAnalysisKD_swigregister
11688 PrincipalComponentAnalysisKD_swigregister(PrincipalComponentAnalysisKD)
11693 get_principal_components(IMP::Vector< IMP::algebra::Vector1D > const & a) -> PrincipalComponentAnalysis1D
11694 get_principal_components(IMP::Vector< IMP::algebra::Vector2D > const & a) -> PrincipalComponentAnalysis2D
11695 get_principal_components(IMP::Vector< IMP::algebra::Vector3D > const & a) -> PrincipalComponentAnalysis3D
11696 get_principal_components(IMP::Vector< IMP::algebra::Vector4D > const & a) -> PrincipalComponentAnalysis4D
11697 get_principal_components(IMP::Vector< IMP::algebra::Vector5D > const & a) -> PrincipalComponentAnalysis5D
11698 get_principal_components(IMP::Vector< IMP::algebra::Vector6D > const & a) -> PrincipalComponentAnalysis6D
11699 get_principal_components(IMP::Vector< IMP::algebra::VectorKD > const & a) -> PrincipalComponentAnalysisKD
11701 return _IMP_algebra.get_principal_components(*args)
11705 get_vertices(BoundingBox1D a) -> IMP::Vector< IMP::algebra::Vector1D >
11706 get_vertices(BoundingBox2D a) -> IMP::Vector< IMP::algebra::Vector2D >
11707 get_vertices(BoundingBox3D a) -> IMP::Vector< IMP::algebra::Vector3D >
11708 get_vertices(BoundingBox4D a) -> IMP::Vector< IMP::algebra::Vector4D >
11709 get_vertices(BoundingBox5D a) -> IMP::Vector< IMP::algebra::Vector5D >
11710 get_vertices(BoundingBox6D a) -> IMP::Vector< IMP::algebra::Vector6D >
11711 get_vertices(BoundingBoxKD a) -> IMP::Vector< IMP::algebra::VectorKD >
11713 return _IMP_algebra.get_vertices(*args)
11717 get_distance(Rotation3D r0, Rotation3D r1) -> double
11718 get_distance(Segment3D s, Vector3D p) -> double
11719 get_distance(Segment3D a, Segment3D b) -> double
11720 get_distance(Plane3D pln, Vector3D p) -> double
11721 get_distance(Vector1D a, Vector1D b) -> double
11722 get_distance(Vector2D a, Vector2D b) -> double
11723 get_distance(Vector3D a, Vector3D b) -> double
11724 get_distance(Vector4D a, Vector4D b) -> double
11725 get_distance(Vector5D a, Vector5D b) -> double
11726 get_distance(Vector6D a, Vector6D b) -> double
11727 get_distance(VectorKD a, VectorKD b) -> double
11728 get_distance(Sphere1D a, Sphere1D b) -> double
11729 get_distance(Sphere2D a, Sphere2D b) -> double
11730 get_distance(Sphere3D a, Sphere3D b) -> double
11731 get_distance(Sphere4D a, Sphere4D b) -> double
11732 get_distance(Sphere5D a, Sphere5D b) -> double
11733 get_distance(Sphere6D a, Sphere6D b) -> double
11734 get_distance(SphereKD a, SphereKD b) -> double
11736 return _IMP_algebra.get_distance(*args)
11740 get_squared_distance(Vector1D a, Vector1D b) -> double
11741 get_squared_distance(Vector2D a, Vector2D b) -> double
11742 get_squared_distance(Vector3D a, Vector3D b) -> double
11743 get_squared_distance(Vector4D a, Vector4D b) -> double
11744 get_squared_distance(Vector5D a, Vector5D b) -> double
11745 get_squared_distance(Vector6D a, Vector6D b) -> double
11746 get_squared_distance(VectorKD a, VectorKD b) -> double
11748 return _IMP_algebra.get_squared_distance(*args)
11750 def get_basis_vector_1d(coordinate):
11751 """get_basis_vector_1d(unsigned int coordinate) -> Vector1D"""
11752 return _IMP_algebra.get_basis_vector_1d(coordinate)
11754 def get_basis_vector_2d(coordinate):
11755 """get_basis_vector_2d(unsigned int coordinate) -> Vector2D"""
11756 return _IMP_algebra.get_basis_vector_2d(coordinate)
11758 def get_basis_vector_3d(coordinate):
11759 """get_basis_vector_3d(unsigned int coordinate) -> Vector3D"""
11760 return _IMP_algebra.get_basis_vector_3d(coordinate)
11762 def get_basis_vector_4d(coordinate):
11763 """get_basis_vector_4d(unsigned int coordinate) -> Vector4D"""
11764 return _IMP_algebra.get_basis_vector_4d(coordinate)
11766 def get_basis_vector_5d(coordinate):
11767 """get_basis_vector_5d(unsigned int coordinate) -> Vector5D"""
11768 return _IMP_algebra.get_basis_vector_5d(coordinate)
11770 def get_basis_vector_6d(coordinate):
11771 """get_basis_vector_6d(unsigned int coordinate) -> Vector6D"""
11772 return _IMP_algebra.get_basis_vector_6d(coordinate)
11774 def get_zero_vector_1d():
11775 """get_zero_vector_1d() -> Vector1D"""
11776 return _IMP_algebra.get_zero_vector_1d()
11778 def get_zero_vector_2d():
11779 """get_zero_vector_2d() -> Vector2D"""
11780 return _IMP_algebra.get_zero_vector_2d()
11782 def get_zero_vector_3d():
11783 """get_zero_vector_3d() -> Vector3D"""
11784 return _IMP_algebra.get_zero_vector_3d()
11786 def get_zero_vector_4d():
11787 """get_zero_vector_4d() -> Vector4D"""
11788 return _IMP_algebra.get_zero_vector_4d()
11790 def get_zero_vector_5d():
11791 """get_zero_vector_5d() -> Vector5D"""
11792 return _IMP_algebra.get_zero_vector_5d()
11794 def get_zero_vector_6d():
11795 """get_zero_vector_6d() -> Vector6D"""
11796 return _IMP_algebra.get_zero_vector_6d()
11798 def get_ones_vector_1d(v=1):
11800 get_ones_vector_1d(double v=1) -> Vector1D
11801 get_ones_vector_1d() -> Vector1D
11803 return _IMP_algebra.get_ones_vector_1d(v)
11805 def get_ones_vector_2d(v=1):
11807 get_ones_vector_2d(double v=1) -> Vector2D
11808 get_ones_vector_2d() -> Vector2D
11810 return _IMP_algebra.get_ones_vector_2d(v)
11812 def get_ones_vector_3d(v=1):
11814 get_ones_vector_3d(double v=1) -> Vector3D
11815 get_ones_vector_3d() -> Vector3D
11817 return _IMP_algebra.get_ones_vector_3d(v)
11819 def get_ones_vector_4d(v=1):
11821 get_ones_vector_4d(double v=1) -> Vector4D
11822 get_ones_vector_4d() -> Vector4D
11824 return _IMP_algebra.get_ones_vector_4d(v)
11826 def get_ones_vector_5d(v=1):
11828 get_ones_vector_5d(double v=1) -> Vector5D
11829 get_ones_vector_5d() -> Vector5D
11831 return _IMP_algebra.get_ones_vector_5d(v)
11833 def get_ones_vector_6d(v=1):
11835 get_ones_vector_6d(double v=1) -> Vector6D
11836 get_ones_vector_6d() -> Vector6D
11838 return _IMP_algebra.get_ones_vector_6d(v)
11840 def get_unit_bounding_box_1d():
11841 """get_unit_bounding_box_1d() -> BoundingBox1D"""
11842 return _IMP_algebra.get_unit_bounding_box_1d()
11844 def get_unit_bounding_box_2d():
11845 """get_unit_bounding_box_2d() -> BoundingBox2D"""
11846 return _IMP_algebra.get_unit_bounding_box_2d()
11848 def get_unit_bounding_box_3d():
11849 """get_unit_bounding_box_3d() -> BoundingBox3D"""
11850 return _IMP_algebra.get_unit_bounding_box_3d()
11852 def get_unit_bounding_box_4d():
11853 """get_unit_bounding_box_4d() -> BoundingBox4D"""
11854 return _IMP_algebra.get_unit_bounding_box_4d()
11856 def get_unit_bounding_box_5d():
11857 """get_unit_bounding_box_5d() -> BoundingBox5D"""
11858 return _IMP_algebra.get_unit_bounding_box_5d()
11860 def get_unit_bounding_box_6d():
11861 """get_unit_bounding_box_6d() -> BoundingBox6D"""
11862 return _IMP_algebra.get_unit_bounding_box_6d()
11864 def get_cube_1d(radius):
11865 """get_cube_1d(double radius) -> BoundingBox1D"""
11866 return _IMP_algebra.get_cube_1d(radius)
11868 def get_cube_2d(radius):
11869 """get_cube_2d(double radius) -> BoundingBox2D"""
11870 return _IMP_algebra.get_cube_2d(radius)
11872 def get_cube_3d(radius):
11873 """get_cube_3d(double radius) -> BoundingBox3D"""
11874 return _IMP_algebra.get_cube_3d(radius)
11876 def get_cube_4d(radius):
11877 """get_cube_4d(double radius) -> BoundingBox4D"""
11878 return _IMP_algebra.get_cube_4d(radius)
11880 def get_cube_5d(radius):
11881 """get_cube_5d(double radius) -> BoundingBox5D"""
11882 return _IMP_algebra.get_cube_5d(radius)
11884 def get_cube_6d(radius):
11885 """get_cube_6d(double radius) -> BoundingBox6D"""
11886 return _IMP_algebra.get_cube_6d(radius)
11888 def get_unit_sphere_1d():
11889 """get_unit_sphere_1d() -> Sphere1D"""
11890 return _IMP_algebra.get_unit_sphere_1d()
11892 def get_unit_sphere_2d():
11893 """get_unit_sphere_2d() -> Sphere2D"""
11894 return _IMP_algebra.get_unit_sphere_2d()
11896 def get_unit_sphere_3d():
11897 """get_unit_sphere_3d() -> Sphere3D"""
11898 return _IMP_algebra.get_unit_sphere_3d()
11900 def get_unit_sphere_4d():
11901 """get_unit_sphere_4d() -> Sphere4D"""
11902 return _IMP_algebra.get_unit_sphere_4d()
11904 def get_unit_sphere_5d():
11905 """get_unit_sphere_5d() -> Sphere5D"""
11906 return _IMP_algebra.get_unit_sphere_5d()
11908 def get_unit_sphere_6d():
11909 """get_unit_sphere_6d() -> Sphere6D"""
11910 return _IMP_algebra.get_unit_sphere_6d()
11914 get_interiors_intersect(Sphere1D a, Sphere1D b) -> bool
11915 get_interiors_intersect(Sphere2D a, Sphere2D b) -> bool
11916 get_interiors_intersect(Sphere3D a, Sphere3D b) -> bool
11917 get_interiors_intersect(Sphere4D a, Sphere4D b) -> bool
11918 get_interiors_intersect(Sphere5D a, Sphere5D b) -> bool
11919 get_interiors_intersect(Sphere6D a, Sphere6D b) -> bool
11920 get_interiors_intersect(SphereKD a, SphereKD b) -> bool
11921 get_interiors_intersect(BoundingBox1D a, BoundingBox1D b) -> bool
11922 get_interiors_intersect(BoundingBox2D a, BoundingBox2D b) -> bool
11923 get_interiors_intersect(BoundingBox3D a, BoundingBox3D b) -> bool
11924 get_interiors_intersect(BoundingBox4D a, BoundingBox4D b) -> bool
11925 get_interiors_intersect(BoundingBox5D a, BoundingBox5D b) -> bool
11926 get_interiors_intersect(BoundingBox6D a, BoundingBox6D b) -> bool
11927 get_interiors_intersect(BoundingBoxKD a, BoundingBoxKD b) -> bool
11929 return _IMP_algebra.get_interiors_intersect(*args)
11933 get_random_vector_on(Sphere1D a) -> Vector1D
11934 get_random_vector_on(Sphere2D a) -> Vector2D
11935 get_random_vector_on(Sphere3D a) -> Vector3D
11936 get_random_vector_on(Sphere4D a) -> Vector4D
11937 get_random_vector_on(Sphere5D a) -> Vector5D
11938 get_random_vector_on(Sphere6D a) -> Vector6D
11939 get_random_vector_on(SphereKD a) -> VectorKD
11940 get_random_vector_on(BoundingBox1D a) -> Vector1D
11941 get_random_vector_on(BoundingBox2D a) -> Vector2D
11942 get_random_vector_on(BoundingBox3D a) -> Vector3D
11943 get_random_vector_on(BoundingBox4D a) -> Vector4D
11944 get_random_vector_on(BoundingBox5D a) -> Vector5D
11945 get_random_vector_on(BoundingBox6D a) -> Vector6D
11946 get_random_vector_on(BoundingBoxKD a) -> VectorKD
11948 return _IMP_algebra.get_random_vector_on(*args)
11952 get_random_vector_in(Cylinder3D c) -> Vector3D
11953 get_random_vector_in(Sphere1D a) -> Vector1D
11954 get_random_vector_in(Sphere2D a) -> Vector2D
11955 get_random_vector_in(Sphere3D a) -> Vector3D
11956 get_random_vector_in(Sphere4D a) -> Vector4D
11957 get_random_vector_in(Sphere5D a) -> Vector5D
11958 get_random_vector_in(Sphere6D a) -> Vector6D
11959 get_random_vector_in(SphereKD a) -> VectorKD
11960 get_random_vector_in(BoundingBox1D a) -> Vector1D
11961 get_random_vector_in(BoundingBox2D a) -> Vector2D
11962 get_random_vector_in(BoundingBox3D a) -> Vector3D
11963 get_random_vector_in(BoundingBox4D a) -> Vector4D
11964 get_random_vector_in(BoundingBox5D a) -> Vector5D
11965 get_random_vector_in(BoundingBox6D a) -> Vector6D
11966 get_random_vector_in(BoundingBoxKD a) -> VectorKD
11968 return _IMP_algebra.get_random_vector_in(*args)
11972 get_intersection(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
11973 get_intersection(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
11974 get_intersection(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
11975 get_intersection(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
11976 get_intersection(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
11977 get_intersection(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
11978 get_intersection(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
11980 return _IMP_algebra.get_intersection(*args)
11984 get_union(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
11985 get_union(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
11986 get_union(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
11987 get_union(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
11988 get_union(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
11989 get_union(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
11990 get_union(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
11992 return _IMP_algebra.get_union(*args)
11994 def get_bounding_box(*args):
11996 get_bounding_box(Segment3D g) -> BoundingBox3D
11997 get_bounding_box(Plane3D g) -> BoundingBox3D
11998 get_bounding_box(Cylinder3D g) -> BoundingBox3D
11999 get_bounding_box(Ellipsoid3D g) -> BoundingBox3D
12000 get_bounding_box(SpherePatch3D g) -> BoundingBox3D
12001 get_bounding_box(Cone3D g) -> BoundingBox3D
12002 get_bounding_box(Sphere1D a) -> BoundingBox1D
12003 get_bounding_box(Sphere2D a) -> BoundingBox2D
12004 get_bounding_box(Sphere3D a) -> BoundingBox3D
12005 get_bounding_box(Sphere4D a) -> BoundingBox4D
12006 get_bounding_box(Sphere5D a) -> BoundingBox5D
12007 get_bounding_box(Sphere6D a) -> BoundingBox6D
12008 get_bounding_box(SphereKD a) -> BoundingBoxKD
12010 return _IMP_algebra.get_bounding_box(*args)
12014 get_uniform_surface_cover(Cylinder3D cyl, int number_of_points) -> IMP::algebra::Vector3Ds
12015 get_uniform_surface_cover(SpherePatch3D sph, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12016 get_uniform_surface_cover(Cone3D cone, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12017 get_uniform_surface_cover(IMP::algebra::Sphere3Ds const & arg1, double points_per_square_angstrom) -> IMP::algebra::Vector3Ds
12018 get_uniform_surface_cover(Sphere1D a, unsigned int const & b) -> IMP::algebra::Vector1Ds
12019 get_uniform_surface_cover(Sphere2D a, unsigned int const & b) -> IMP::algebra::Vector2Ds
12020 get_uniform_surface_cover(Sphere3D a, unsigned int const & b) -> IMP::algebra::Vector3Ds
12021 get_uniform_surface_cover(Sphere4D a, unsigned int const & b) -> IMP::algebra::Vector4Ds
12022 get_uniform_surface_cover(Sphere5D a, unsigned int const & b) -> IMP::algebra::Vector5Ds
12023 get_uniform_surface_cover(Sphere6D a, unsigned int const & b) -> IMP::algebra::Vector6Ds
12024 get_uniform_surface_cover(SphereKD a, unsigned int const & b) -> IMP::algebra::VectorKDs
12026 return _IMP_algebra.get_uniform_surface_cover(*args)
12030 get_grid_interior_cover_by_spacing(BoundingBox1D a, double const & b) -> IMP::algebra::Vector1Ds
12031 get_grid_interior_cover_by_spacing(BoundingBox2D a, double const & b) -> IMP::algebra::Vector2Ds
12032 get_grid_interior_cover_by_spacing(BoundingBox3D a, double const & b) -> IMP::algebra::Vector3Ds
12033 get_grid_interior_cover_by_spacing(BoundingBox4D a, double const & b) -> IMP::algebra::Vector4Ds
12034 get_grid_interior_cover_by_spacing(BoundingBox5D a, double const & b) -> IMP::algebra::Vector5Ds
12035 get_grid_interior_cover_by_spacing(BoundingBox6D a, double const & b) -> IMP::algebra::Vector6Ds
12036 get_grid_interior_cover_by_spacing(BoundingBoxKD a, double const & b) -> IMP::algebra::VectorKDs
12038 return _IMP_algebra.get_grid_interior_cover_by_spacing(*args)
12039 class _AxisAnglePair(object):
12040 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,double)> class"""
12041 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12042 __repr__ = _swig_repr
12044 def __init__(self, *args):
12046 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self) -> _AxisAnglePair
12047 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, Vector3D first, double second) -> _AxisAnglePair
12048 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, _AxisAnglePair p) -> _AxisAnglePair
12050 this = _IMP_algebra.new__AxisAnglePair(*args)
12052 self.this.append(this)
12055 first = _swig_property(_IMP_algebra._AxisAnglePair_first_get, _IMP_algebra._AxisAnglePair_first_set)
12056 second = _swig_property(_IMP_algebra._AxisAnglePair_second_get, _IMP_algebra._AxisAnglePair_second_set)
12059 def __repr__(self):
12060 return str((self.first, self.second))
12061 def __getitem__(self, index):
12062 if not (index % 2):
12066 def __setitem__(self, index, val):
12067 if not (index % 2):
12071 __swig_destroy__ = _IMP_algebra.delete__AxisAnglePair
12072 __del__ =
lambda self:
None
12073 _AxisAnglePair_swigregister = _IMP_algebra._AxisAnglePair_swigregister
12074 _AxisAnglePair_swigregister(_AxisAnglePair)
12078 """get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & source, IMP::Vector< IMP::algebra::VectorD< 3 > > const & target) -> Transformation3D"""
12079 return _IMP_algebra.get_transformation_aligning_first_to_second(source, target)
12082 """get_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
12083 return _IMP_algebra.get_rmsd_transforming_first(tr, v0, v1)
12086 """get_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
12087 return _IMP_algebra.get_rmsd(v0, v1)
12089 def get_weighted_rmsd_transforming_first(tr, v0, v1, weights):
12090 """get_weighted_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
12091 return _IMP_algebra.get_weighted_rmsd_transforming_first(tr, v0, v1, weights)
12094 """get_weighted_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
12095 return _IMP_algebra.get_weighted_rmsd(v0, v1, weights)
12097 LinearFit=LinearFit2D
12098 ParabolicFit=ParabolicFit2D
12101 def get_module_version():
12102 """get_module_version() -> std::string const"""
12103 return _IMP_algebra.get_module_version()
12106 """get_example_path(std::string fname) -> std::string"""
12107 return _IMP_algebra.get_example_path(fname)
12110 """get_data_path(std::string fname) -> std::string"""
12111 return _IMP_algebra.get_data_path(fname)
12113 from .
import _version_check
12114 _version_check.check_version(get_module_version())
12115 __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.
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.
void write_pts(const Vector3Ds &vs, TextOutput out)
Write a set of 3D vectors to a file.
Grid3D< int, SparseGridStorage3D< int, UnboundedGridStorage3D > > SparseUnboundedIntGrid3D
Rotation3D get_rotation_from_x_y_axes(const Vector3D &x, const Vector3D &y)
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.
Vector< VectorD< D > > get_uniform_surface_cover(const SphereD< D > &s, unsigned int n)
Generate a set of vectors which covers a sphere uniformly.
algebra::Rotation3Ds get_uniformly_sampled_rotations(double delta)
Generates a nondegenerate set of Euler angles with a delta resolution.
Vector< VectorD< D > > get_vertices(const BoundingBoxD< D > &bb)
Return a list of the 2^D bounding points for the bounding box.
bool get_is_little_endian()
Returns 1 if machine is little endian else 0.
Triangle3D get_largest_triangle(const Vector3Ds &points)
Return the largest triangle defined by 3 points from the input.
An exception for an invalid usage of IMP.
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.
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.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
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)
Vector3Ds read_pts(TextInput input)
Read a set of 3D vectors from a file.
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)
See BoundingBoxD.
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.
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
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.
BoundingBoxD< 4 > BoundingBox4D
Typedef for Python.
Rotation2D get_identity_rotation_2d()
Builds an identity rotation in 2D.
Sphere3Ds read_spheres(TextInput input)
Read a set of 3d spheres from a file.
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.
Version and module information for Objects.
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.
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.
PrincipalComponentAnalysisD< D > get_principal_components(const Vector< VectorD< D > > &ps)
Perform principal components analysis on a set of vectors.
Rotation2D get_rotation_to_x_axis(const Vector2D &v)
Vector3D get_centroid(const Vector3Ds &ps)
Returns the centroid of a set of vectors.
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
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.
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)
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Rotation3D get_identity_rotation_3d()
Return a rotation that does not do anything.
void write_spheres(const Sphere3Ds &vs, TextOutput out)
Write a set of 3d spheres to a file.
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.
Vector< VectorD< D > > get_grid_interior_cover_by_spacing(const BoundingBoxD< D > &bb, double s)
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.
BoundingBoxD< 6 > BoundingBox6D
Typedef for Python.
SphereD<-1 > SphereKD
Typedef for Python.
ParticleIndexes get_indexes(const ParticlesTemp &ps)
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.