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_NUMPY_swigconstant(_IMP_algebra)
269 IMP_KERNEL_HAS_NUMPY = _IMP_algebra.IMP_KERNEL_HAS_NUMPY
271 _IMP_algebra.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_algebra)
272 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_algebra.IMP_KERNEL_HAS_GPERFTOOLS
274 _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_algebra)
275 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
277 _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_algebra)
278 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
280 _IMP_algebra.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_algebra)
281 IMPKERNEL_SHOW_WARNINGS = _IMP_algebra.IMPKERNEL_SHOW_WARNINGS
284 class _DirectorObjects(object):
285 """@internal Simple class to keep references to director objects
286 to prevent premature deletion."""
289 def register(self, obj):
290 """Take a reference to a director object; will only work for
291 refcounted C++ classes"""
292 if hasattr(obj,
'get_ref_count'):
293 self._objects.append(obj)
295 """Only drop our reference and allow cleanup by Python if no other
296 Python references exist (we hold 3 references: one in self._objects,
297 one in x, and one in the argument list for getrefcount) *and* no
298 other C++ references exist (the Python object always holds one)"""
299 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
300 or x.get_ref_count() > 1]
304 def get_object_count(self):
305 """Get number of director objects (useful for testing only)"""
306 return len(self._objects)
307 _director_objects = _DirectorObjects()
309 class _ostream(object):
310 """Proxy of C++ std::ostream class"""
311 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
313 def __init__(self, *args, **kwargs):
314 raise AttributeError(
"No constructor defined")
315 __repr__ = _swig_repr
317 def write(self, osa_buf):
318 """write(_ostream self, char const * osa_buf)"""
319 return _IMP_algebra._ostream_write(self, osa_buf)
321 _ostream_swigregister = _IMP_algebra._ostream_swigregister
322 _ostream_swigregister(_ostream)
325 _IMP_algebra.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_algebra)
326 IMP_COMPILER_HAS_OVERRIDE = _IMP_algebra.IMP_COMPILER_HAS_OVERRIDE
328 _IMP_algebra.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_algebra)
329 IMP_COMPILER_HAS_FINAL = _IMP_algebra.IMP_COMPILER_HAS_FINAL
331 _IMP_algebra.IMP_HAS_NOEXCEPT_swigconstant(_IMP_algebra)
332 IMP_HAS_NOEXCEPT = _IMP_algebra.IMP_HAS_NOEXCEPT
334 _IMP_algebra.IMP_C_OPEN_BINARY_swigconstant(_IMP_algebra)
335 IMP_C_OPEN_BINARY = _IMP_algebra.IMP_C_OPEN_BINARY
338 _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_algebra)
339 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM
341 _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_algebra)
342 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
344 _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_algebra)
345 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM
347 _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_algebra)
348 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM
350 _IMP_algebra.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_algebra)
351 IMP_CGAL_HAS_NUMPY = _IMP_algebra.IMP_CGAL_HAS_NUMPY
353 _IMP_algebra.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_algebra)
354 IMPCGAL_SHOW_WARNINGS = _IMP_algebra.IMPCGAL_SHOW_WARNINGS
357 _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_algebra)
358 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL
360 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_algebra)
361 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
363 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_algebra)
364 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
366 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_algebra)
367 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM
369 _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_algebra)
370 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM
372 _IMP_algebra.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_algebra)
373 IMP_ALGEBRA_HAS_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_CGAL
375 _IMP_algebra.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_algebra)
376 IMP_ALGEBRA_HAS_NUMPY = _IMP_algebra.IMP_ALGEBRA_HAS_NUMPY
378 _IMP_algebra.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_algebra)
379 IMP_ALGEBRA_HAS_ANN = _IMP_algebra.IMP_ALGEBRA_HAS_ANN
381 _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_algebra)
382 IMPALGEBRA_SHOW_WARNINGS = _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS
386 return v.get_coordinates()
391 return v.get_sphere()
396 _object_types.append(
"VectorKDMetric")
399 def _object_cast_to_VectorKDMetric(o):
400 """_object_cast_to_VectorKDMetric(Object o) -> VectorKDMetric"""
401 return _IMP_algebra._object_cast_to_VectorKDMetric(o)
403 _object_types.append(
"EuclideanVectorKDMetric")
406 def _object_cast_to_EuclideanVectorKDMetric(o):
407 """_object_cast_to_EuclideanVectorKDMetric(Object o) -> EuclideanVectorKDMetric"""
408 return _IMP_algebra._object_cast_to_EuclideanVectorKDMetric(o)
410 _object_types.append(
"MaxVectorKDMetric")
413 def _object_cast_to_MaxVectorKDMetric(o):
414 """_object_cast_to_MaxVectorKDMetric(Object o) -> MaxVectorKDMetric"""
415 return _IMP_algebra._object_cast_to_MaxVectorKDMetric(o)
417 _object_types.append(
"DynamicNearestNeighbor3D")
420 def _object_cast_to_DynamicNearestNeighbor3D(o):
421 """_object_cast_to_DynamicNearestNeighbor3D(Object o) -> DynamicNearestNeighbor3D"""
422 return _IMP_algebra._object_cast_to_DynamicNearestNeighbor3D(o)
425 _plural_types.append(
"Rotation2Ds")
426 _value_types.append(
"Rotation2D")
430 _plural_types.append(
"Rotation3Ds")
431 _value_types.append(
"Rotation3D")
435 _plural_types.append(
"Reflection3Ds")
436 _value_types.append(
"Reflection3D")
439 Transformation2Ds=list
440 _plural_types.append(
"Transformation2Ds")
441 _value_types.append(
"Transformation2D")
444 Transformation3Ds=list
445 _plural_types.append(
"Transformation3Ds")
446 _value_types.append(
"Transformation3D")
449 SphericalVector3Ds=list
450 _plural_types.append(
"SphericalVector3Ds")
451 _value_types.append(
"SphericalVector3D")
455 _plural_types.append(
"Triangle3Ds")
456 _value_types.append(
"Triangle3D")
460 _plural_types.append(
"Cone3Ds")
461 _value_types.append(
"Cone3D")
465 _plural_types.append(
"Cylinder3Ds")
466 _value_types.append(
"Cylinder3D")
470 _plural_types.append(
"Ellipsoid3Ds")
471 _value_types.append(
"Ellipsoid3D")
475 _plural_types.append(
"Line3Ds")
476 _value_types.append(
"Line3D")
480 _plural_types.append(
"Plane3Ds")
481 _value_types.append(
"Plane3D")
485 _plural_types.append(
"Segment3Ds")
486 _value_types.append(
"Segment3D")
490 _plural_types.append(
"SpherePatch3Ds")
491 _value_types.append(
"SpherePatch3D")
494 ConnollySurfacePoints=list
495 _plural_types.append(
"ConnollySurfacePoints")
496 _value_types.append(
"ConnollySurfacePoint")
500 _plural_types.append(
"Sphere1Ds")
501 _value_types.append(
"Sphere1D")
505 _plural_types.append(
"Sphere2Ds")
506 _value_types.append(
"Sphere2D")
510 _plural_types.append(
"Sphere3Ds")
511 _value_types.append(
"Sphere3D")
515 _plural_types.append(
"Sphere4Ds")
516 _value_types.append(
"Sphere4D")
520 _plural_types.append(
"Sphere5Ds")
521 _value_types.append(
"Sphere5D")
525 _plural_types.append(
"Sphere6Ds")
526 _value_types.append(
"Sphere6D")
530 _plural_types.append(
"Sphere1Ds")
531 _value_types.append(
"SphereD<1>")
535 _plural_types.append(
"Sphere2Ds")
536 _value_types.append(
"SphereD<2>")
540 _plural_types.append(
"Sphere3Ds")
541 _value_types.append(
"SphereD<3>")
545 _plural_types.append(
"Sphere4Ds")
546 _value_types.append(
"SphereD<4>")
550 _plural_types.append(
"Sphere5Ds")
551 _value_types.append(
"SphereD<5>")
555 _plural_types.append(
"Sphere6Ds")
556 _value_types.append(
"SphereD<6>")
560 _plural_types.append(
"SphereKDs")
561 _value_types.append(
"SphereKD")
565 _plural_types.append(
"SphereKDs")
566 _value_types.append(
"SphereD<-1>")
570 _plural_types.append(
"UnitSimplex1Ds")
571 _value_types.append(
"UnitSimplex1D")
575 _plural_types.append(
"UnitSimplex2Ds")
576 _value_types.append(
"UnitSimplex2D")
580 _plural_types.append(
"UnitSimplex3Ds")
581 _value_types.append(
"UnitSimplex3D")
585 _plural_types.append(
"UnitSimplex4Ds")
586 _value_types.append(
"UnitSimplex4D")
590 _plural_types.append(
"UnitSimplex5Ds")
591 _value_types.append(
"UnitSimplex5D")
595 _plural_types.append(
"UnitSimplex6Ds")
596 _value_types.append(
"UnitSimplex6D")
600 _plural_types.append(
"UnitSimplex1Ds")
601 _value_types.append(
"UnitSimplexD<1>")
605 _plural_types.append(
"UnitSimplex2Ds")
606 _value_types.append(
"UnitSimplexD<2>")
610 _plural_types.append(
"UnitSimplex3Ds")
611 _value_types.append(
"UnitSimplexD<3>")
615 _plural_types.append(
"UnitSimplex4Ds")
616 _value_types.append(
"UnitSimplexD<4>")
620 _plural_types.append(
"UnitSimplex5Ds")
621 _value_types.append(
"UnitSimplexD<5>")
625 _plural_types.append(
"UnitSimplex6Ds")
626 _value_types.append(
"UnitSimplexD<6>")
630 _plural_types.append(
"UnitSimplexKDs")
631 _value_types.append(
"UnitSimplexKD")
635 _plural_types.append(
"UnitSimplexKDs")
636 _value_types.append(
"UnitSimplexD<-1>")
640 _plural_types.append(
"BoundingBox1Ds")
641 _value_types.append(
"BoundingBox1D")
645 _plural_types.append(
"BoundingBox2Ds")
646 _value_types.append(
"BoundingBox2D")
650 _plural_types.append(
"BoundingBox3Ds")
651 _value_types.append(
"BoundingBox3D")
655 _plural_types.append(
"BoundingBox4Ds")
656 _value_types.append(
"BoundingBox4D")
660 _plural_types.append(
"BoundingBox5Ds")
661 _value_types.append(
"BoundingBox5D")
665 _plural_types.append(
"BoundingBox6Ds")
666 _value_types.append(
"BoundingBox6D")
670 _plural_types.append(
"BoundingBox1Ds")
671 _value_types.append(
"BoundingBoxD<1>")
675 _plural_types.append(
"BoundingBox2Ds")
676 _value_types.append(
"BoundingBoxD<2>")
680 _plural_types.append(
"BoundingBox3Ds")
681 _value_types.append(
"BoundingBoxD<3>")
685 _plural_types.append(
"BoundingBox4Ds")
686 _value_types.append(
"BoundingBoxD<4>")
690 _plural_types.append(
"BoundingBox5Ds")
691 _value_types.append(
"BoundingBoxD<5>")
695 _plural_types.append(
"BoundingBox6Ds")
696 _value_types.append(
"BoundingBoxD<6>")
700 _plural_types.append(
"BoundingBoxKDs")
701 _value_types.append(
"BoundingBoxKD")
705 _plural_types.append(
"BoundingBoxKDs")
706 _value_types.append(
"BoundingBoxD<-1>")
709 PrincipalComponentAnalysis1Ds=list
710 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
711 _value_types.append(
"PrincipalComponentAnalysis1D")
714 PrincipalComponentAnalysis2Ds=list
715 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
716 _value_types.append(
"PrincipalComponentAnalysis2D")
719 PrincipalComponentAnalysis3Ds=list
720 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
721 _value_types.append(
"PrincipalComponentAnalysis3D")
724 PrincipalComponentAnalysis4Ds=list
725 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
726 _value_types.append(
"PrincipalComponentAnalysis4D")
729 PrincipalComponentAnalysis5Ds=list
730 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
731 _value_types.append(
"PrincipalComponentAnalysis5D")
734 PrincipalComponentAnalysis6Ds=list
735 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
736 _value_types.append(
"PrincipalComponentAnalysis6D")
739 PrincipalComponentAnalysis1Ds=list
740 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
741 _value_types.append(
"PrincipalComponentAnalysisD<1>")
744 PrincipalComponentAnalysis2Ds=list
745 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
746 _value_types.append(
"PrincipalComponentAnalysisD<2>")
749 PrincipalComponentAnalysis3Ds=list
750 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
751 _value_types.append(
"PrincipalComponentAnalysisD<3>")
754 PrincipalComponentAnalysis4Ds=list
755 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
756 _value_types.append(
"PrincipalComponentAnalysisD<4>")
759 PrincipalComponentAnalysis5Ds=list
760 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
761 _value_types.append(
"PrincipalComponentAnalysisD<5>")
764 PrincipalComponentAnalysis6Ds=list
765 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
766 _value_types.append(
"PrincipalComponentAnalysisD<6>")
769 PrincipalComponentAnalysisKDs=list
770 _plural_types.append(
"PrincipalComponentAnalysisKDs")
771 _value_types.append(
"PrincipalComponentAnalysisKD")
774 PrincipalComponentAnalysisKDs=list
775 _plural_types.append(
"PrincipalComponentAnalysisKDs")
776 _value_types.append(
"PrincipalComponentAnalysisD<-1>")
779 _object_types.append(
"NearestNeighbor1D")
782 def _object_cast_to_NearestNeighbor1D(o):
783 """_object_cast_to_NearestNeighbor1D(Object o) -> NearestNeighbor1D"""
784 return _IMP_algebra._object_cast_to_NearestNeighbor1D(o)
786 _object_types.append(
"NearestNeighbor2D")
789 def _object_cast_to_NearestNeighbor2D(o):
790 """_object_cast_to_NearestNeighbor2D(Object o) -> NearestNeighbor2D"""
791 return _IMP_algebra._object_cast_to_NearestNeighbor2D(o)
793 _object_types.append(
"NearestNeighbor3D")
796 def _object_cast_to_NearestNeighbor3D(o):
797 """_object_cast_to_NearestNeighbor3D(Object o) -> NearestNeighbor3D"""
798 return _IMP_algebra._object_cast_to_NearestNeighbor3D(o)
800 _object_types.append(
"NearestNeighbor4D")
803 def _object_cast_to_NearestNeighbor4D(o):
804 """_object_cast_to_NearestNeighbor4D(Object o) -> NearestNeighbor4D"""
805 return _IMP_algebra._object_cast_to_NearestNeighbor4D(o)
807 _object_types.append(
"NearestNeighbor5D")
810 def _object_cast_to_NearestNeighbor5D(o):
811 """_object_cast_to_NearestNeighbor5D(Object o) -> NearestNeighbor5D"""
812 return _IMP_algebra._object_cast_to_NearestNeighbor5D(o)
814 _object_types.append(
"NearestNeighbor6D")
817 def _object_cast_to_NearestNeighbor6D(o):
818 """_object_cast_to_NearestNeighbor6D(Object o) -> NearestNeighbor6D"""
819 return _IMP_algebra._object_cast_to_NearestNeighbor6D(o)
821 _object_types.append(
"NearestNeighborKD")
824 def _object_cast_to_NearestNeighborKD(o):
825 """_object_cast_to_NearestNeighborKD(Object o) -> NearestNeighborKD"""
826 return _IMP_algebra._object_cast_to_NearestNeighborKD(o)
828 ReferenceFrame3Ds=list
829 _plural_types.append(
"ReferenceFrame3Ds")
830 _value_types.append(
"ReferenceFrame3D")
834 _plural_types.append(
"Gaussian3Ds")
835 _value_types.append(
"Gaussian3D")
838 DefaultEmbedding1Ds=list
839 _plural_types.append(
"DefaultEmbedding1Ds")
840 _value_types.append(
"DefaultEmbedding1D")
843 DefaultEmbedding2Ds=list
844 _plural_types.append(
"DefaultEmbedding2Ds")
845 _value_types.append(
"DefaultEmbedding2D")
848 DefaultEmbedding3Ds=list
849 _plural_types.append(
"DefaultEmbedding3Ds")
850 _value_types.append(
"DefaultEmbedding3D")
853 DefaultEmbedding4Ds=list
854 _plural_types.append(
"DefaultEmbedding4Ds")
855 _value_types.append(
"DefaultEmbedding4D")
858 DefaultEmbedding5Ds=list
859 _plural_types.append(
"DefaultEmbedding5Ds")
860 _value_types.append(
"DefaultEmbedding5D")
863 DefaultEmbedding6Ds=list
864 _plural_types.append(
"DefaultEmbedding6Ds")
865 _value_types.append(
"DefaultEmbedding6D")
868 DefaultEmbedding1Ds=list
869 _plural_types.append(
"DefaultEmbedding1Ds")
870 _value_types.append(
"DefaultEmbeddingD<1>")
873 DefaultEmbedding2Ds=list
874 _plural_types.append(
"DefaultEmbedding2Ds")
875 _value_types.append(
"DefaultEmbeddingD<2>")
878 DefaultEmbedding3Ds=list
879 _plural_types.append(
"DefaultEmbedding3Ds")
880 _value_types.append(
"DefaultEmbeddingD<3>")
883 DefaultEmbedding4Ds=list
884 _plural_types.append(
"DefaultEmbedding4Ds")
885 _value_types.append(
"DefaultEmbeddingD<4>")
888 DefaultEmbedding5Ds=list
889 _plural_types.append(
"DefaultEmbedding5Ds")
890 _value_types.append(
"DefaultEmbeddingD<5>")
893 DefaultEmbedding6Ds=list
894 _plural_types.append(
"DefaultEmbedding6Ds")
895 _value_types.append(
"DefaultEmbeddingD<6>")
898 DefaultEmbeddingKDs=list
899 _plural_types.append(
"DefaultEmbeddingKDs")
900 _value_types.append(
"DefaultEmbeddingKD")
903 DefaultEmbeddingKDs=list
904 _plural_types.append(
"DefaultEmbeddingKDs")
905 _value_types.append(
"DefaultEmbeddingD<-1>")
909 _plural_types.append(
"LogEmbedding1Ds")
910 _value_types.append(
"LogEmbedding1D")
914 _plural_types.append(
"LogEmbedding2Ds")
915 _value_types.append(
"LogEmbedding2D")
919 _plural_types.append(
"LogEmbedding3Ds")
920 _value_types.append(
"LogEmbedding3D")
924 _plural_types.append(
"LogEmbedding4Ds")
925 _value_types.append(
"LogEmbedding4D")
929 _plural_types.append(
"LogEmbedding5Ds")
930 _value_types.append(
"LogEmbedding5D")
934 _plural_types.append(
"LogEmbedding6Ds")
935 _value_types.append(
"LogEmbedding6D")
939 _plural_types.append(
"LogEmbedding1Ds")
940 _value_types.append(
"LogEmbeddingD<1>")
944 _plural_types.append(
"LogEmbedding2Ds")
945 _value_types.append(
"LogEmbeddingD<2>")
949 _plural_types.append(
"LogEmbedding3Ds")
950 _value_types.append(
"LogEmbeddingD<3>")
954 _plural_types.append(
"LogEmbedding4Ds")
955 _value_types.append(
"LogEmbeddingD<4>")
959 _plural_types.append(
"LogEmbedding5Ds")
960 _value_types.append(
"LogEmbeddingD<5>")
964 _plural_types.append(
"LogEmbedding6Ds")
965 _value_types.append(
"LogEmbeddingD<6>")
969 _plural_types.append(
"LogEmbeddingKDs")
970 _value_types.append(
"LogEmbeddingKD")
974 _plural_types.append(
"LogEmbeddingKDs")
975 _value_types.append(
"LogEmbeddingD<-1>")
979 _plural_types.append(
"GridIndex1Ds")
980 _value_types.append(
"GridIndex1D")
984 _plural_types.append(
"GridIndex2Ds")
985 _value_types.append(
"GridIndex2D")
989 _plural_types.append(
"GridIndex3Ds")
990 _value_types.append(
"GridIndex3D")
994 _plural_types.append(
"GridIndex4Ds")
995 _value_types.append(
"GridIndex4D")
999 _plural_types.append(
"GridIndex5Ds")
1000 _value_types.append(
"GridIndex5D")
1004 _plural_types.append(
"GridIndex6Ds")
1005 _value_types.append(
"GridIndex6D")
1009 _plural_types.append(
"GridIndex1Ds")
1010 _value_types.append(
"GridIndexD<1>")
1014 _plural_types.append(
"GridIndex2Ds")
1015 _value_types.append(
"GridIndexD<2>")
1019 _plural_types.append(
"GridIndex3Ds")
1020 _value_types.append(
"GridIndexD<3>")
1024 _plural_types.append(
"GridIndex4Ds")
1025 _value_types.append(
"GridIndexD<4>")
1029 _plural_types.append(
"GridIndex5Ds")
1030 _value_types.append(
"GridIndexD<5>")
1034 _plural_types.append(
"GridIndex6Ds")
1035 _value_types.append(
"GridIndexD<6>")
1039 _plural_types.append(
"GridIndexKDs")
1040 _value_types.append(
"GridIndexKD")
1044 _plural_types.append(
"GridIndexKDs")
1045 _value_types.append(
"GridIndexD<-1>")
1048 ExtendedGridIndex1Ds=list
1049 _plural_types.append(
"ExtendedGridIndex1Ds")
1050 _value_types.append(
"ExtendedGridIndex1D")
1053 ExtendedGridIndex2Ds=list
1054 _plural_types.append(
"ExtendedGridIndex2Ds")
1055 _value_types.append(
"ExtendedGridIndex2D")
1058 ExtendedGridIndex3Ds=list
1059 _plural_types.append(
"ExtendedGridIndex3Ds")
1060 _value_types.append(
"ExtendedGridIndex3D")
1063 ExtendedGridIndex4Ds=list
1064 _plural_types.append(
"ExtendedGridIndex4Ds")
1065 _value_types.append(
"ExtendedGridIndex4D")
1068 ExtendedGridIndex5Ds=list
1069 _plural_types.append(
"ExtendedGridIndex5Ds")
1070 _value_types.append(
"ExtendedGridIndex5D")
1073 ExtendedGridIndex6Ds=list
1074 _plural_types.append(
"ExtendedGridIndex6Ds")
1075 _value_types.append(
"ExtendedGridIndex6D")
1078 ExtendedGridIndex1Ds=list
1079 _plural_types.append(
"ExtendedGridIndex1Ds")
1080 _value_types.append(
"ExtendedGridIndexD<1>")
1083 ExtendedGridIndex2Ds=list
1084 _plural_types.append(
"ExtendedGridIndex2Ds")
1085 _value_types.append(
"ExtendedGridIndexD<2>")
1088 ExtendedGridIndex3Ds=list
1089 _plural_types.append(
"ExtendedGridIndex3Ds")
1090 _value_types.append(
"ExtendedGridIndexD<3>")
1093 ExtendedGridIndex4Ds=list
1094 _plural_types.append(
"ExtendedGridIndex4Ds")
1095 _value_types.append(
"ExtendedGridIndexD<4>")
1098 ExtendedGridIndex5Ds=list
1099 _plural_types.append(
"ExtendedGridIndex5Ds")
1100 _value_types.append(
"ExtendedGridIndexD<5>")
1103 ExtendedGridIndex6Ds=list
1104 _plural_types.append(
"ExtendedGridIndex6Ds")
1105 _value_types.append(
"ExtendedGridIndexD<6>")
1108 ExtendedGridIndexKDs=list
1109 _plural_types.append(
"ExtendedGridIndexKDs")
1110 _value_types.append(
"ExtendedGridIndexKD")
1113 ExtendedGridIndexKDs=list
1114 _plural_types.append(
"ExtendedGridIndexKDs")
1115 _value_types.append(
"ExtendedGridIndexD<-1>")
1118 BoundedGridRange1Ds=list
1119 _plural_types.append(
"BoundedGridRange1Ds")
1120 _value_types.append(
"BoundedGridRange1D")
1123 BoundedGridRange2Ds=list
1124 _plural_types.append(
"BoundedGridRange2Ds")
1125 _value_types.append(
"BoundedGridRange2D")
1128 BoundedGridRange3Ds=list
1129 _plural_types.append(
"BoundedGridRange3Ds")
1130 _value_types.append(
"BoundedGridRange3D")
1133 BoundedGridRange4Ds=list
1134 _plural_types.append(
"BoundedGridRange4Ds")
1135 _value_types.append(
"BoundedGridRange4D")
1138 BoundedGridRange5Ds=list
1139 _plural_types.append(
"BoundedGridRange5Ds")
1140 _value_types.append(
"BoundedGridRange5D")
1143 BoundedGridRange6Ds=list
1144 _plural_types.append(
"BoundedGridRange6Ds")
1145 _value_types.append(
"BoundedGridRange6D")
1148 BoundedGridRange1Ds=list
1149 _plural_types.append(
"BoundedGridRange1Ds")
1150 _value_types.append(
"BoundedGridRangeD<1>")
1153 BoundedGridRange2Ds=list
1154 _plural_types.append(
"BoundedGridRange2Ds")
1155 _value_types.append(
"BoundedGridRangeD<2>")
1158 BoundedGridRange3Ds=list
1159 _plural_types.append(
"BoundedGridRange3Ds")
1160 _value_types.append(
"BoundedGridRangeD<3>")
1163 BoundedGridRange4Ds=list
1164 _plural_types.append(
"BoundedGridRange4Ds")
1165 _value_types.append(
"BoundedGridRangeD<4>")
1168 BoundedGridRange5Ds=list
1169 _plural_types.append(
"BoundedGridRange5Ds")
1170 _value_types.append(
"BoundedGridRangeD<5>")
1173 BoundedGridRange6Ds=list
1174 _plural_types.append(
"BoundedGridRange6Ds")
1175 _value_types.append(
"BoundedGridRangeD<6>")
1178 BoundedGridRangeKDs=list
1179 _plural_types.append(
"BoundedGridRangeKDs")
1180 _value_types.append(
"BoundedGridRangeKD")
1183 BoundedGridRangeKDs=list
1184 _plural_types.append(
"BoundedGridRangeKDs")
1185 _value_types.append(
"BoundedGridRangeD<-1>")
1188 UnboundedGridRange1Ds=list
1189 _plural_types.append(
"UnboundedGridRange1Ds")
1190 _value_types.append(
"UnboundedGridRange1D")
1193 UnboundedGridRange2Ds=list
1194 _plural_types.append(
"UnboundedGridRange2Ds")
1195 _value_types.append(
"UnboundedGridRange2D")
1198 UnboundedGridRange3Ds=list
1199 _plural_types.append(
"UnboundedGridRange3Ds")
1200 _value_types.append(
"UnboundedGridRange3D")
1203 UnboundedGridRange4Ds=list
1204 _plural_types.append(
"UnboundedGridRange4Ds")
1205 _value_types.append(
"UnboundedGridRange4D")
1208 UnboundedGridRange5Ds=list
1209 _plural_types.append(
"UnboundedGridRange5Ds")
1210 _value_types.append(
"UnboundedGridRange5D")
1213 UnboundedGridRange6Ds=list
1214 _plural_types.append(
"UnboundedGridRange6Ds")
1215 _value_types.append(
"UnboundedGridRange6D")
1218 UnboundedGridRange1Ds=list
1219 _plural_types.append(
"UnboundedGridRange1Ds")
1220 _value_types.append(
"UnboundedGridRangeD<1>")
1223 UnboundedGridRange2Ds=list
1224 _plural_types.append(
"UnboundedGridRange2Ds")
1225 _value_types.append(
"UnboundedGridRangeD<2>")
1228 UnboundedGridRange3Ds=list
1229 _plural_types.append(
"UnboundedGridRange3Ds")
1230 _value_types.append(
"UnboundedGridRangeD<3>")
1233 UnboundedGridRange4Ds=list
1234 _plural_types.append(
"UnboundedGridRange4Ds")
1235 _value_types.append(
"UnboundedGridRangeD<4>")
1238 UnboundedGridRange5Ds=list
1239 _plural_types.append(
"UnboundedGridRange5Ds")
1240 _value_types.append(
"UnboundedGridRangeD<5>")
1243 UnboundedGridRange6Ds=list
1244 _plural_types.append(
"UnboundedGridRange6Ds")
1245 _value_types.append(
"UnboundedGridRangeD<6>")
1248 UnboundedGridRangeKDs=list
1249 _plural_types.append(
"UnboundedGridRangeKDs")
1250 _value_types.append(
"UnboundedGridRangeKD")
1253 UnboundedGridRangeKDs=list
1254 _plural_types.append(
"UnboundedGridRangeKDs")
1255 _value_types.append(
"UnboundedGridRangeD<-1>")
1259 _plural_types.append(
"LinearFit2Ds")
1260 _value_types.append(
"LinearFit2D")
1263 ParabolicFit2Ds=list
1264 _plural_types.append(
"ParabolicFit2Ds")
1265 _value_types.append(
"ParabolicFit2D")
1269 _plural_types.append(
"FixedXYZs")
1270 _value_types.append(
"FixedXYZ")
1272 class _GeometricPrimitive1D(object):
1273 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(1)> class"""
1274 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1276 def __init__(self, *args, **kwargs):
1277 raise AttributeError(
"No constructor defined")
1278 __repr__ = _swig_repr
1279 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive1D
1280 __del__ =
lambda self:
None
1281 _GeometricPrimitive1D_swigregister = _IMP_algebra._GeometricPrimitive1D_swigregister
1282 _GeometricPrimitive1D_swigregister(_GeometricPrimitive1D)
1284 class _GeometricPrimitive2D(object):
1285 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(2)> class"""
1286 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1288 def __init__(self, *args, **kwargs):
1289 raise AttributeError(
"No constructor defined")
1290 __repr__ = _swig_repr
1291 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive2D
1292 __del__ =
lambda self:
None
1293 _GeometricPrimitive2D_swigregister = _IMP_algebra._GeometricPrimitive2D_swigregister
1294 _GeometricPrimitive2D_swigregister(_GeometricPrimitive2D)
1296 class _GeometricPrimitive3D(object):
1297 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(3)> class"""
1298 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1300 def __init__(self, *args, **kwargs):
1301 raise AttributeError(
"No constructor defined")
1302 __repr__ = _swig_repr
1303 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive3D
1304 __del__ =
lambda self:
None
1305 _GeometricPrimitive3D_swigregister = _IMP_algebra._GeometricPrimitive3D_swigregister
1306 _GeometricPrimitive3D_swigregister(_GeometricPrimitive3D)
1308 class _GeometricPrimitive4D(object):
1309 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(4)> class"""
1310 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1312 def __init__(self, *args, **kwargs):
1313 raise AttributeError(
"No constructor defined")
1314 __repr__ = _swig_repr
1315 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive4D
1316 __del__ =
lambda self:
None
1317 _GeometricPrimitive4D_swigregister = _IMP_algebra._GeometricPrimitive4D_swigregister
1318 _GeometricPrimitive4D_swigregister(_GeometricPrimitive4D)
1320 class _GeometricPrimitive5D(object):
1321 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(5)> class"""
1322 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1324 def __init__(self, *args, **kwargs):
1325 raise AttributeError(
"No constructor defined")
1326 __repr__ = _swig_repr
1327 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive5D
1328 __del__ =
lambda self:
None
1329 _GeometricPrimitive5D_swigregister = _IMP_algebra._GeometricPrimitive5D_swigregister
1330 _GeometricPrimitive5D_swigregister(_GeometricPrimitive5D)
1332 class _GeometricPrimitive6D(object):
1333 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(6)> class"""
1334 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1336 def __init__(self, *args, **kwargs):
1337 raise AttributeError(
"No constructor defined")
1338 __repr__ = _swig_repr
1339 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive6D
1340 __del__ =
lambda self:
None
1341 _GeometricPrimitive6D_swigregister = _IMP_algebra._GeometricPrimitive6D_swigregister
1342 _GeometricPrimitive6D_swigregister(_GeometricPrimitive6D)
1344 class _GeometricPrimitiveKD(object):
1345 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(-1)> class"""
1346 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1348 def __init__(self, *args, **kwargs):
1349 raise AttributeError(
"No constructor defined")
1350 __repr__ = _swig_repr
1351 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitiveKD
1352 __del__ =
lambda self:
None
1353 _GeometricPrimitiveKD_swigregister = _IMP_algebra._GeometricPrimitiveKD_swigregister
1354 _GeometricPrimitiveKD_swigregister(_GeometricPrimitiveKD)
1358 _plural_types.append(
"Vector1Ds")
1359 _value_types.append(
"Vector1D")
1363 _plural_types.append(
"Vector2Ds")
1364 _value_types.append(
"Vector2D")
1368 _plural_types.append(
"Vector3Ds")
1369 _value_types.append(
"Vector3D")
1373 _plural_types.append(
"Vector4Ds")
1374 _value_types.append(
"Vector4D")
1378 _plural_types.append(
"Vector5Ds")
1379 _value_types.append(
"Vector5D")
1383 _plural_types.append(
"Vector6Ds")
1384 _value_types.append(
"Vector6D")
1388 _plural_types.append(
"Vector1Ds")
1389 _value_types.append(
"VectorD<1>")
1393 _plural_types.append(
"Vector2Ds")
1394 _value_types.append(
"VectorD<2>")
1398 _plural_types.append(
"Vector3Ds")
1399 _value_types.append(
"VectorD<3>")
1403 _plural_types.append(
"Vector4Ds")
1404 _value_types.append(
"VectorD<4>")
1408 _plural_types.append(
"Vector5Ds")
1409 _value_types.append(
"VectorD<5>")
1413 _plural_types.append(
"Vector6Ds")
1414 _value_types.append(
"VectorD<6>")
1418 _plural_types.append(
"VectorKDs")
1419 _value_types.append(
"VectorKD")
1423 _plural_types.append(
"VectorKDs")
1424 _value_types.append(
"VectorD<-1>")
1426 class _VectorBaseKD(_GeometricPrimitiveKD):
1427 """Proxy of C++ IMP::algebra::VectorBaseD<(-1)> class"""
1428 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1429 __repr__ = _swig_repr
1432 """__init__(IMP::algebra::VectorBaseD<(-1)> self) -> _VectorBaseKD"""
1433 this = _IMP_algebra.new__VectorBaseKD()
1435 self.this.append(this)
1439 def get_scalar_product(self, o):
1440 """get_scalar_product(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1441 return _IMP_algebra._VectorBaseKD_get_scalar_product(self, o)
1444 def get_squared_magnitude(self):
1445 """get_squared_magnitude(_VectorBaseKD self) -> double"""
1446 return _IMP_algebra._VectorBaseKD_get_squared_magnitude(self)
1449 def get_magnitude(self):
1450 """get_magnitude(_VectorBaseKD self) -> double"""
1451 return _IMP_algebra._VectorBaseKD_get_magnitude(self)
1454 def __mul__(self, o):
1455 """__mul__(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1456 return _IMP_algebra._VectorBaseKD___mul__(self, o)
1459 def __iadd__(self, o):
1460 """__iadd__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1461 return _IMP_algebra._VectorBaseKD___iadd__(self, o)
1464 def __isub__(self, o):
1465 """__isub__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1466 return _IMP_algebra._VectorBaseKD___isub__(self, o)
1469 def __idiv__(self, f):
1470 """__idiv__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1471 return _IMP_algebra._VectorBaseKD___idiv__(self, f)
1474 def __imul__(self, f):
1475 """__imul__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1476 return _IMP_algebra._VectorBaseKD___imul__(self, f)
1479 def show(self, *args):
1481 show(_VectorBaseKD self, _ostream out, std::string delim, bool parens=True)
1482 show(_VectorBaseKD self, _ostream out, std::string delim)
1483 show(_VectorBaseKD self, _ostream out)
1484 show(_VectorBaseKD self)
1486 return _IMP_algebra._VectorBaseKD_show(self, *args)
1489 def get_dimension(self):
1490 """get_dimension(_VectorBaseKD self) -> unsigned int"""
1491 return _IMP_algebra._VectorBaseKD_get_dimension(self)
1493 __swig_destroy__ = _IMP_algebra.delete__VectorBaseKD
1494 __del__ =
lambda self:
None
1495 _VectorBaseKD_swigregister = _IMP_algebra._VectorBaseKD_swigregister
1496 _VectorBaseKD_swigregister(_VectorBaseKD)
1498 class _VectorBase1D(_GeometricPrimitive1D):
1499 """Proxy of C++ IMP::algebra::VectorBaseD<(1)> class"""
1500 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1501 __repr__ = _swig_repr
1504 """__init__(IMP::algebra::VectorBaseD<(1)> self) -> _VectorBase1D"""
1505 this = _IMP_algebra.new__VectorBase1D()
1507 self.this.append(this)
1511 def get_scalar_product(self, o):
1512 """get_scalar_product(_VectorBase1D self, _VectorBase1D o) -> double"""
1513 return _IMP_algebra._VectorBase1D_get_scalar_product(self, o)
1516 def get_squared_magnitude(self):
1517 """get_squared_magnitude(_VectorBase1D self) -> double"""
1518 return _IMP_algebra._VectorBase1D_get_squared_magnitude(self)
1521 def get_magnitude(self):
1522 """get_magnitude(_VectorBase1D self) -> double"""
1523 return _IMP_algebra._VectorBase1D_get_magnitude(self)
1526 def __mul__(self, o):
1527 """__mul__(_VectorBase1D self, _VectorBase1D o) -> double"""
1528 return _IMP_algebra._VectorBase1D___mul__(self, o)
1531 def __iadd__(self, o):
1532 """__iadd__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1533 return _IMP_algebra._VectorBase1D___iadd__(self, o)
1536 def __isub__(self, o):
1537 """__isub__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1538 return _IMP_algebra._VectorBase1D___isub__(self, o)
1541 def __idiv__(self, f):
1542 """__idiv__(_VectorBase1D self, double f) -> _VectorBase1D"""
1543 return _IMP_algebra._VectorBase1D___idiv__(self, f)
1546 def __imul__(self, f):
1547 """__imul__(_VectorBase1D self, double f) -> _VectorBase1D"""
1548 return _IMP_algebra._VectorBase1D___imul__(self, f)
1551 def show(self, *args):
1553 show(_VectorBase1D self, _ostream out, std::string delim, bool parens=True)
1554 show(_VectorBase1D self, _ostream out, std::string delim)
1555 show(_VectorBase1D self, _ostream out)
1556 show(_VectorBase1D self)
1558 return _IMP_algebra._VectorBase1D_show(self, *args)
1561 def get_dimension(self):
1562 """get_dimension(_VectorBase1D self) -> unsigned int"""
1563 return _IMP_algebra._VectorBase1D_get_dimension(self)
1565 __swig_destroy__ = _IMP_algebra.delete__VectorBase1D
1566 __del__ =
lambda self:
None
1567 _VectorBase1D_swigregister = _IMP_algebra._VectorBase1D_swigregister
1568 _VectorBase1D_swigregister(_VectorBase1D)
1570 class _VectorBase2D(_GeometricPrimitive2D):
1571 """Proxy of C++ IMP::algebra::VectorBaseD<(2)> class"""
1572 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1573 __repr__ = _swig_repr
1576 """__init__(IMP::algebra::VectorBaseD<(2)> self) -> _VectorBase2D"""
1577 this = _IMP_algebra.new__VectorBase2D()
1579 self.this.append(this)
1583 def get_scalar_product(self, o):
1584 """get_scalar_product(_VectorBase2D self, _VectorBase2D o) -> double"""
1585 return _IMP_algebra._VectorBase2D_get_scalar_product(self, o)
1588 def get_squared_magnitude(self):
1589 """get_squared_magnitude(_VectorBase2D self) -> double"""
1590 return _IMP_algebra._VectorBase2D_get_squared_magnitude(self)
1593 def get_magnitude(self):
1594 """get_magnitude(_VectorBase2D self) -> double"""
1595 return _IMP_algebra._VectorBase2D_get_magnitude(self)
1598 def __mul__(self, o):
1599 """__mul__(_VectorBase2D self, _VectorBase2D o) -> double"""
1600 return _IMP_algebra._VectorBase2D___mul__(self, o)
1603 def __iadd__(self, o):
1604 """__iadd__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1605 return _IMP_algebra._VectorBase2D___iadd__(self, o)
1608 def __isub__(self, o):
1609 """__isub__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1610 return _IMP_algebra._VectorBase2D___isub__(self, o)
1613 def __idiv__(self, f):
1614 """__idiv__(_VectorBase2D self, double f) -> _VectorBase2D"""
1615 return _IMP_algebra._VectorBase2D___idiv__(self, f)
1618 def __imul__(self, f):
1619 """__imul__(_VectorBase2D self, double f) -> _VectorBase2D"""
1620 return _IMP_algebra._VectorBase2D___imul__(self, f)
1623 def show(self, *args):
1625 show(_VectorBase2D self, _ostream out, std::string delim, bool parens=True)
1626 show(_VectorBase2D self, _ostream out, std::string delim)
1627 show(_VectorBase2D self, _ostream out)
1628 show(_VectorBase2D self)
1630 return _IMP_algebra._VectorBase2D_show(self, *args)
1633 def get_dimension(self):
1634 """get_dimension(_VectorBase2D self) -> unsigned int"""
1635 return _IMP_algebra._VectorBase2D_get_dimension(self)
1637 __swig_destroy__ = _IMP_algebra.delete__VectorBase2D
1638 __del__ =
lambda self:
None
1639 _VectorBase2D_swigregister = _IMP_algebra._VectorBase2D_swigregister
1640 _VectorBase2D_swigregister(_VectorBase2D)
1642 class _VectorBase3D(_GeometricPrimitive3D):
1643 """Proxy of C++ IMP::algebra::VectorBaseD<(3)> class"""
1644 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1645 __repr__ = _swig_repr
1648 """__init__(IMP::algebra::VectorBaseD<(3)> self) -> _VectorBase3D"""
1649 this = _IMP_algebra.new__VectorBase3D()
1651 self.this.append(this)
1655 def get_scalar_product(self, o):
1656 """get_scalar_product(_VectorBase3D self, _VectorBase3D o) -> double"""
1657 return _IMP_algebra._VectorBase3D_get_scalar_product(self, o)
1660 def get_squared_magnitude(self):
1661 """get_squared_magnitude(_VectorBase3D self) -> double"""
1662 return _IMP_algebra._VectorBase3D_get_squared_magnitude(self)
1665 def get_magnitude(self):
1666 """get_magnitude(_VectorBase3D self) -> double"""
1667 return _IMP_algebra._VectorBase3D_get_magnitude(self)
1670 def __mul__(self, o):
1671 """__mul__(_VectorBase3D self, _VectorBase3D o) -> double"""
1672 return _IMP_algebra._VectorBase3D___mul__(self, o)
1675 def __iadd__(self, o):
1676 """__iadd__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1677 return _IMP_algebra._VectorBase3D___iadd__(self, o)
1680 def __isub__(self, o):
1681 """__isub__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1682 return _IMP_algebra._VectorBase3D___isub__(self, o)
1685 def __idiv__(self, f):
1686 """__idiv__(_VectorBase3D self, double f) -> _VectorBase3D"""
1687 return _IMP_algebra._VectorBase3D___idiv__(self, f)
1690 def __imul__(self, f):
1691 """__imul__(_VectorBase3D self, double f) -> _VectorBase3D"""
1692 return _IMP_algebra._VectorBase3D___imul__(self, f)
1695 def show(self, *args):
1697 show(_VectorBase3D self, _ostream out, std::string delim, bool parens=True)
1698 show(_VectorBase3D self, _ostream out, std::string delim)
1699 show(_VectorBase3D self, _ostream out)
1700 show(_VectorBase3D self)
1702 return _IMP_algebra._VectorBase3D_show(self, *args)
1705 def get_dimension(self):
1706 """get_dimension(_VectorBase3D self) -> unsigned int"""
1707 return _IMP_algebra._VectorBase3D_get_dimension(self)
1709 __swig_destroy__ = _IMP_algebra.delete__VectorBase3D
1710 __del__ =
lambda self:
None
1711 _VectorBase3D_swigregister = _IMP_algebra._VectorBase3D_swigregister
1712 _VectorBase3D_swigregister(_VectorBase3D)
1714 class _VectorBase4D(_GeometricPrimitive4D):
1715 """Proxy of C++ IMP::algebra::VectorBaseD<(4)> class"""
1716 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1717 __repr__ = _swig_repr
1720 """__init__(IMP::algebra::VectorBaseD<(4)> self) -> _VectorBase4D"""
1721 this = _IMP_algebra.new__VectorBase4D()
1723 self.this.append(this)
1727 def get_scalar_product(self, o):
1728 """get_scalar_product(_VectorBase4D self, _VectorBase4D o) -> double"""
1729 return _IMP_algebra._VectorBase4D_get_scalar_product(self, o)
1732 def get_squared_magnitude(self):
1733 """get_squared_magnitude(_VectorBase4D self) -> double"""
1734 return _IMP_algebra._VectorBase4D_get_squared_magnitude(self)
1737 def get_magnitude(self):
1738 """get_magnitude(_VectorBase4D self) -> double"""
1739 return _IMP_algebra._VectorBase4D_get_magnitude(self)
1742 def __mul__(self, o):
1743 """__mul__(_VectorBase4D self, _VectorBase4D o) -> double"""
1744 return _IMP_algebra._VectorBase4D___mul__(self, o)
1747 def __iadd__(self, o):
1748 """__iadd__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1749 return _IMP_algebra._VectorBase4D___iadd__(self, o)
1752 def __isub__(self, o):
1753 """__isub__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1754 return _IMP_algebra._VectorBase4D___isub__(self, o)
1757 def __idiv__(self, f):
1758 """__idiv__(_VectorBase4D self, double f) -> _VectorBase4D"""
1759 return _IMP_algebra._VectorBase4D___idiv__(self, f)
1762 def __imul__(self, f):
1763 """__imul__(_VectorBase4D self, double f) -> _VectorBase4D"""
1764 return _IMP_algebra._VectorBase4D___imul__(self, f)
1767 def show(self, *args):
1769 show(_VectorBase4D self, _ostream out, std::string delim, bool parens=True)
1770 show(_VectorBase4D self, _ostream out, std::string delim)
1771 show(_VectorBase4D self, _ostream out)
1772 show(_VectorBase4D self)
1774 return _IMP_algebra._VectorBase4D_show(self, *args)
1777 def get_dimension(self):
1778 """get_dimension(_VectorBase4D self) -> unsigned int"""
1779 return _IMP_algebra._VectorBase4D_get_dimension(self)
1781 __swig_destroy__ = _IMP_algebra.delete__VectorBase4D
1782 __del__ =
lambda self:
None
1783 _VectorBase4D_swigregister = _IMP_algebra._VectorBase4D_swigregister
1784 _VectorBase4D_swigregister(_VectorBase4D)
1786 class _VectorBase5D(_GeometricPrimitive5D):
1787 """Proxy of C++ IMP::algebra::VectorBaseD<(5)> class"""
1788 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1789 __repr__ = _swig_repr
1792 """__init__(IMP::algebra::VectorBaseD<(5)> self) -> _VectorBase5D"""
1793 this = _IMP_algebra.new__VectorBase5D()
1795 self.this.append(this)
1799 def get_scalar_product(self, o):
1800 """get_scalar_product(_VectorBase5D self, _VectorBase5D o) -> double"""
1801 return _IMP_algebra._VectorBase5D_get_scalar_product(self, o)
1804 def get_squared_magnitude(self):
1805 """get_squared_magnitude(_VectorBase5D self) -> double"""
1806 return _IMP_algebra._VectorBase5D_get_squared_magnitude(self)
1809 def get_magnitude(self):
1810 """get_magnitude(_VectorBase5D self) -> double"""
1811 return _IMP_algebra._VectorBase5D_get_magnitude(self)
1814 def __mul__(self, o):
1815 """__mul__(_VectorBase5D self, _VectorBase5D o) -> double"""
1816 return _IMP_algebra._VectorBase5D___mul__(self, o)
1819 def __iadd__(self, o):
1820 """__iadd__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1821 return _IMP_algebra._VectorBase5D___iadd__(self, o)
1824 def __isub__(self, o):
1825 """__isub__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1826 return _IMP_algebra._VectorBase5D___isub__(self, o)
1829 def __idiv__(self, f):
1830 """__idiv__(_VectorBase5D self, double f) -> _VectorBase5D"""
1831 return _IMP_algebra._VectorBase5D___idiv__(self, f)
1834 def __imul__(self, f):
1835 """__imul__(_VectorBase5D self, double f) -> _VectorBase5D"""
1836 return _IMP_algebra._VectorBase5D___imul__(self, f)
1839 def show(self, *args):
1841 show(_VectorBase5D self, _ostream out, std::string delim, bool parens=True)
1842 show(_VectorBase5D self, _ostream out, std::string delim)
1843 show(_VectorBase5D self, _ostream out)
1844 show(_VectorBase5D self)
1846 return _IMP_algebra._VectorBase5D_show(self, *args)
1849 def get_dimension(self):
1850 """get_dimension(_VectorBase5D self) -> unsigned int"""
1851 return _IMP_algebra._VectorBase5D_get_dimension(self)
1853 __swig_destroy__ = _IMP_algebra.delete__VectorBase5D
1854 __del__ =
lambda self:
None
1855 _VectorBase5D_swigregister = _IMP_algebra._VectorBase5D_swigregister
1856 _VectorBase5D_swigregister(_VectorBase5D)
1858 class _VectorBase6D(_GeometricPrimitive6D):
1859 """Proxy of C++ IMP::algebra::VectorBaseD<(6)> class"""
1860 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1861 __repr__ = _swig_repr
1864 """__init__(IMP::algebra::VectorBaseD<(6)> self) -> _VectorBase6D"""
1865 this = _IMP_algebra.new__VectorBase6D()
1867 self.this.append(this)
1871 def get_scalar_product(self, o):
1872 """get_scalar_product(_VectorBase6D self, _VectorBase6D o) -> double"""
1873 return _IMP_algebra._VectorBase6D_get_scalar_product(self, o)
1876 def get_squared_magnitude(self):
1877 """get_squared_magnitude(_VectorBase6D self) -> double"""
1878 return _IMP_algebra._VectorBase6D_get_squared_magnitude(self)
1881 def get_magnitude(self):
1882 """get_magnitude(_VectorBase6D self) -> double"""
1883 return _IMP_algebra._VectorBase6D_get_magnitude(self)
1886 def __mul__(self, o):
1887 """__mul__(_VectorBase6D self, _VectorBase6D o) -> double"""
1888 return _IMP_algebra._VectorBase6D___mul__(self, o)
1891 def __iadd__(self, o):
1892 """__iadd__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1893 return _IMP_algebra._VectorBase6D___iadd__(self, o)
1896 def __isub__(self, o):
1897 """__isub__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1898 return _IMP_algebra._VectorBase6D___isub__(self, o)
1901 def __idiv__(self, f):
1902 """__idiv__(_VectorBase6D self, double f) -> _VectorBase6D"""
1903 return _IMP_algebra._VectorBase6D___idiv__(self, f)
1906 def __imul__(self, f):
1907 """__imul__(_VectorBase6D self, double f) -> _VectorBase6D"""
1908 return _IMP_algebra._VectorBase6D___imul__(self, f)
1911 def show(self, *args):
1913 show(_VectorBase6D self, _ostream out, std::string delim, bool parens=True)
1914 show(_VectorBase6D self, _ostream out, std::string delim)
1915 show(_VectorBase6D self, _ostream out)
1916 show(_VectorBase6D self)
1918 return _IMP_algebra._VectorBase6D_show(self, *args)
1921 def get_dimension(self):
1922 """get_dimension(_VectorBase6D self) -> unsigned int"""
1923 return _IMP_algebra._VectorBase6D_get_dimension(self)
1925 __swig_destroy__ = _IMP_algebra.delete__VectorBase6D
1926 __del__ =
lambda self:
None
1927 _VectorBase6D_swigregister = _IMP_algebra._VectorBase6D_swigregister
1928 _VectorBase6D_swigregister(_VectorBase6D)
1932 """get_basis_vector_kd(int D, unsigned int coordinate) -> VectorKD"""
1933 return _IMP_algebra.get_basis_vector_kd(D, coordinate)
1936 """get_zero_vector_kd(int D) -> VectorKD"""
1937 return _IMP_algebra.get_zero_vector_kd(D)
1941 get_ones_vector_kd(unsigned int D, double v=1) -> VectorKD
1942 get_ones_vector_kd(unsigned int D) -> VectorKD
1944 return _IMP_algebra.get_ones_vector_kd(D, v)
1947 """get_vector_product(Vector3D p1, Vector3D p2) -> Vector3D"""
1948 return _IMP_algebra.get_vector_product(p1, p2)
1951 """get_orthogonal_vector(Vector3D v) -> Vector3D"""
1952 return _IMP_algebra.get_orthogonal_vector(v)
1955 """get_centroid(IMP::algebra::Vector3Ds const & ps) -> Vector3D"""
1956 return _IMP_algebra.get_centroid(ps)
1959 """get_radius_of_gyration(IMP::algebra::Vector3Ds const & ps) -> double"""
1960 return _IMP_algebra.get_radius_of_gyration(ps)
1961 class Rotation3D(_GeometricPrimitive3D):
1962 """Proxy of C++ IMP::algebra::Rotation3D class"""
1963 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1965 def __init__(self, *args):
1967 __init__(IMP::algebra::Rotation3D self, Rotation3D rot) -> Rotation3D
1968 __init__(IMP::algebra::Rotation3D self, Vector4D v, bool assume_normalized=False) -> Rotation3D
1969 __init__(IMP::algebra::Rotation3D self, Vector4D v) -> Rotation3D
1970 __init__(IMP::algebra::Rotation3D self) -> Rotation3D
1971 __init__(IMP::algebra::Rotation3D self, double a, double b, double c, double d) -> Rotation3D
1973 this = _IMP_algebra.new_Rotation3D(*args)
1975 self.this.append(this)
1978 __swig_destroy__ = _IMP_algebra.delete_Rotation3D
1979 __del__ =
lambda self:
None
1981 def get_rotated_no_cache(self, o):
1982 """get_rotated_no_cache(Rotation3D self, Vector3D o) -> Vector3D"""
1983 return _IMP_algebra.Rotation3D_get_rotated_no_cache(self, o)
1986 def get_rotated_one_coordinate_no_cache(self, o, coord):
1987 """get_rotated_one_coordinate_no_cache(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1988 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate_no_cache(self, o, coord)
1991 def get_rotated(self, o):
1992 """get_rotated(Rotation3D self, Vector3D o) -> Vector3D"""
1993 return _IMP_algebra.Rotation3D_get_rotated(self, o)
1996 def get_rotated_adjoint(self, v, Dw):
1997 """get_rotated_adjoint(Rotation3D self, Vector3D v, Vector3D Dw) -> _RotatedVector3DAdjoint"""
1998 return _IMP_algebra.Rotation3D_get_rotated_adjoint(self, v, Dw)
2001 def get_rotated_one_coordinate(self, o, coord):
2002 """get_rotated_one_coordinate(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
2003 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate(self, o, coord)
2006 def get_rotation_matrix_row(self, i):
2007 """get_rotation_matrix_row(Rotation3D self, int i) -> Vector3D"""
2008 return _IMP_algebra.Rotation3D_get_rotation_matrix_row(self, i)
2011 def show(self, *args):
2013 show(Rotation3D self, _ostream out)
2014 show(Rotation3D self)
2016 return _IMP_algebra.Rotation3D_show(self, *args)
2019 def get_inverse(self):
2020 """get_inverse(Rotation3D self) -> Rotation3D"""
2021 return _IMP_algebra.Rotation3D_get_inverse(self)
2024 def get_quaternion(self):
2025 """get_quaternion(Rotation3D self) -> Vector4D"""
2026 return _IMP_algebra.Rotation3D_get_quaternion(self)
2029 def __mul__(self, *args):
2031 __mul__(Rotation3D self, Vector3D v) -> Vector3D
2032 __mul__(Rotation3D self, Rotation3D q) -> Rotation3D
2034 return _IMP_algebra.Rotation3D___mul__(self, *args)
2037 def __div__(self, r):
2038 """__div__(Rotation3D self, Rotation3D r) -> Rotation3D"""
2039 return _IMP_algebra.Rotation3D___div__(self, r)
2042 def get_gradient_of_rotated(self, v, i, wrt_unnorm=False):
2044 get_gradient_of_rotated(Rotation3D self, Vector3D v, unsigned int i, bool wrt_unnorm=False) -> Vector3D
2045 get_gradient_of_rotated(Rotation3D self, Vector3D v, unsigned int i) -> Vector3D
2047 return _IMP_algebra.Rotation3D_get_gradient_of_rotated(self, v, i, wrt_unnorm)
2050 def get_derivative(self, v, i, wrt_unnorm=True):
2052 get_derivative(Rotation3D self, Vector3D v, unsigned int i, bool wrt_unnorm=True) -> Vector3D
2053 get_derivative(Rotation3D self, Vector3D v, unsigned int i) -> Vector3D
2055 return _IMP_algebra.Rotation3D_get_derivative(self, v, i, wrt_unnorm)
2058 def get_jacobian_of_rotated(self, v, wrt_unnorm=False):
2060 get_jacobian_of_rotated(Rotation3D self, Eigen::Vector3d const & v, bool wrt_unnorm=False) -> Eigen::MatrixXd
2061 get_jacobian_of_rotated(Rotation3D self, Eigen::Vector3d const & v) -> Eigen::MatrixXd
2063 return _IMP_algebra.Rotation3D_get_jacobian_of_rotated(self, v, wrt_unnorm)
2066 def get_gradient(self, v, wrt_unnorm=True):
2068 get_gradient(Rotation3D self, Eigen::Vector3d const & v, bool wrt_unnorm=True) -> Eigen::MatrixXd
2069 get_gradient(Rotation3D self, Eigen::Vector3d const & v) -> Eigen::MatrixXd
2071 return _IMP_algebra.Rotation3D_get_gradient(self, v, wrt_unnorm)
2074 def get_is_valid(self):
2075 """get_is_valid(Rotation3D self) -> bool"""
2076 return _IMP_algebra.Rotation3D_get_is_valid(self)
2080 """__str__(Rotation3D self) -> std::string"""
2081 return _IMP_algebra.Rotation3D___str__(self)
2085 """__repr__(Rotation3D self) -> std::string"""
2086 return _IMP_algebra.Rotation3D___repr__(self)
2089 __truediv__ = __div__
2091 Rotation3D_swigregister = _IMP_algebra.Rotation3D_swigregister
2092 Rotation3D_swigregister(Rotation3D)
2097 get_jacobian_of_composed_wrt_first(Rotation3D q, Rotation3D p, bool wrt_unnorm=False) -> Eigen::MatrixXd
2098 get_jacobian_of_composed_wrt_first(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2100 return _IMP_algebra.get_jacobian_of_composed_wrt_first(q, p, wrt_unnorm)
2102 def get_gradient_of_composed_with_respect_to_first(q, p, wrt_unnorm=True):
2104 get_gradient_of_composed_with_respect_to_first(Rotation3D q, Rotation3D p, bool wrt_unnorm=True) -> Eigen::MatrixXd
2105 get_gradient_of_composed_with_respect_to_first(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2107 return _IMP_algebra.get_gradient_of_composed_with_respect_to_first(q, p, wrt_unnorm)
2111 get_jacobian_of_composed_wrt_second(Rotation3D q, Rotation3D p, bool wrt_unnorm=False) -> Eigen::MatrixXd
2112 get_jacobian_of_composed_wrt_second(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2114 return _IMP_algebra.get_jacobian_of_composed_wrt_second(q, p, wrt_unnorm)
2116 def get_gradient_of_composed_with_respect_to_second(q, p, wrt_unnorm=True):
2118 get_gradient_of_composed_with_respect_to_second(Rotation3D q, Rotation3D p, bool wrt_unnorm=True) -> Eigen::MatrixXd
2119 get_gradient_of_composed_with_respect_to_second(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
2121 return _IMP_algebra.get_gradient_of_composed_with_respect_to_second(q, p, wrt_unnorm)
2124 """get_identity_rotation_3d() -> Rotation3D"""
2125 return _IMP_algebra.get_identity_rotation_3d()
2128 """get_rotation_about_normalized_axis(Vector3D axis_norm, double angle) -> Rotation3D"""
2129 return _IMP_algebra.get_rotation_about_normalized_axis(axis_norm, angle)
2132 """get_rotation_about_axis(Vector3D axis, double angle) -> Rotation3D"""
2133 return _IMP_algebra.get_rotation_about_axis(axis, angle)
2136 """get_rotation_taking_first_to_second(Vector3D v1, Vector3D v2) -> Rotation3D"""
2137 return _IMP_algebra.get_rotation_taking_first_to_second(v1, v2)
2141 get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) -> Rotation3D
2142 get_rotation_from_matrix(Eigen::Matrix3d m) -> Rotation3D
2144 return _IMP_algebra.get_rotation_from_matrix(*args)
2148 get_random_rotation_3d() -> Rotation3D
2149 get_random_rotation_3d(Rotation3D center, double distance) -> Rotation3D
2151 return _IMP_algebra.get_random_rotation_3d(*args)
2154 """get_uniform_cover_rotations_3d(unsigned int num_points) -> IMP::algebra::Rotation3Ds"""
2155 return _IMP_algebra.get_uniform_cover_rotations_3d(num_points)
2158 """get_uniformly_sampled_rotations(double delta) -> IMP::algebra::Rotation3Ds"""
2159 return _IMP_algebra.get_uniformly_sampled_rotations(delta)
2162 """get_rotation_from_vector4d(Vector4D v) -> Rotation3D"""
2163 return _IMP_algebra.get_rotation_from_vector4d(v)
2166 """get_rotation_from_fixed_xyz(double xr, double yr, double zr) -> Rotation3D"""
2167 return _IMP_algebra.get_rotation_from_fixed_xyz(xr, yr, zr)
2170 """get_rotation_from_fixed_zxz(double phi, double theta, double psi) -> Rotation3D"""
2171 return _IMP_algebra.get_rotation_from_fixed_zxz(phi, theta, psi)
2174 """get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi) -> Rotation3D"""
2175 return _IMP_algebra.get_rotation_from_fixed_zyz(Rot, Tilt, Psi)
2176 class FixedXYZ(_GeometricPrimitive3D):
2177 """Proxy of C++ IMP::algebra::FixedXYZ class"""
2178 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2180 def __init__(self, *args):
2182 __init__(IMP::algebra::FixedXYZ self) -> FixedXYZ
2183 __init__(IMP::algebra::FixedXYZ self, double x, double y, double z) -> FixedXYZ
2185 this = _IMP_algebra.new_FixedXYZ(*args)
2187 self.this.append(this)
2192 """get_x(FixedXYZ self) -> double"""
2193 return _IMP_algebra.FixedXYZ_get_x(self)
2197 """get_y(FixedXYZ self) -> double"""
2198 return _IMP_algebra.FixedXYZ_get_y(self)
2202 """get_z(FixedXYZ self) -> double"""
2203 return _IMP_algebra.FixedXYZ_get_z(self)
2206 def show(self, *args):
2208 show(FixedXYZ self, _ostream out)
2211 return _IMP_algebra.FixedXYZ_show(self, *args)
2215 """__str__(FixedXYZ self) -> std::string"""
2216 return _IMP_algebra.FixedXYZ___str__(self)
2220 """__repr__(FixedXYZ self) -> std::string"""
2221 return _IMP_algebra.FixedXYZ___repr__(self)
2223 __swig_destroy__ = _IMP_algebra.delete_FixedXYZ
2224 __del__ =
lambda self:
None
2225 FixedXYZ_swigregister = _IMP_algebra.FixedXYZ_swigregister
2226 FixedXYZ_swigregister(FixedXYZ)
2230 """get_fixed_xyz_from_rotation(Rotation3D r) -> FixedXYZ"""
2231 return _IMP_algebra.get_fixed_xyz_from_rotation(r)
2234 """get_interpolated(Rotation3D a, Rotation3D b, double f) -> Rotation3D"""
2235 return _IMP_algebra.get_interpolated(a, b, f)
2238 """get_rotation_from_x_y_axes(Vector3D x, Vector3D y) -> Rotation3D"""
2239 return _IMP_algebra.get_rotation_from_x_y_axes(x, y)
2242 """get_axis_and_angle(Rotation3D rot) -> _AxisAnglePair"""
2243 return _IMP_algebra.get_axis_and_angle(rot)
2246 """get_unit_bounding_box_kd(unsigned int d) -> BoundingBoxKD"""
2247 return _IMP_algebra.get_unit_bounding_box_kd(d)
2250 """get_cube_kd(unsigned int d, double radius) -> BoundingBoxKD"""
2251 return _IMP_algebra.get_cube_kd(d, radius)
2254 """get_edges(BoundingBox3D arg1) -> IMP::IntPairs"""
2255 return _IMP_algebra.get_edges(arg1)
2256 class Transformation3D(_GeometricPrimitive3D):
2257 """Proxy of C++ IMP::algebra::Transformation3D class"""
2258 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2260 def __init__(self, *args):
2262 __init__(IMP::algebra::Transformation3D self) -> Transformation3D
2263 __init__(IMP::algebra::Transformation3D self, Rotation3D r, Vector3D t) -> Transformation3D
2264 __init__(IMP::algebra::Transformation3D self, Rotation3D r) -> Transformation3D
2265 __init__(IMP::algebra::Transformation3D self, Vector3D t) -> Transformation3D
2267 this = _IMP_algebra.new_Transformation3D(*args)
2269 self.this.append(this)
2272 __swig_destroy__ = _IMP_algebra.delete_Transformation3D
2273 __del__ =
lambda self:
None
2275 def get_transformed(self, o):
2276 """get_transformed(Transformation3D self, Vector3D o) -> Vector3D"""
2277 return _IMP_algebra.Transformation3D_get_transformed(self, o)
2280 def get_transformed_adjoint(self, v, Dw):
2281 """get_transformed_adjoint(Transformation3D self, Vector3D v, Vector3D Dw) -> _TransformedVector3DAdjoint"""
2282 return _IMP_algebra.Transformation3D_get_transformed_adjoint(self, v, Dw)
2285 def __mul__(self, *args):
2287 __mul__(Transformation3D self, Vector3D v) -> Vector3D
2288 __mul__(Transformation3D self, Transformation3D tr) -> Transformation3D
2290 return _IMP_algebra.Transformation3D___mul__(self, *args)
2293 def __div__(self, b):
2294 """__div__(Transformation3D self, Transformation3D b) -> Transformation3D"""
2295 return _IMP_algebra.Transformation3D___div__(self, b)
2298 def get_rotation(self):
2299 """get_rotation(Transformation3D self) -> Rotation3D"""
2300 return _IMP_algebra.Transformation3D_get_rotation(self)
2303 def get_translation(self):
2304 """get_translation(Transformation3D self) -> Vector3D"""
2305 return _IMP_algebra.Transformation3D_get_translation(self)
2308 def show(self, *args):
2310 show(Transformation3D self, _ostream out)
2311 show(Transformation3D self)
2313 return _IMP_algebra.Transformation3D_show(self, *args)
2316 def get_inverse(self):
2317 """get_inverse(Transformation3D self) -> Transformation3D"""
2318 return _IMP_algebra.Transformation3D_get_inverse(self)
2321 def get_is_valid(self):
2322 """get_is_valid(Transformation3D self) -> bool"""
2323 return _IMP_algebra.Transformation3D_get_is_valid(self)
2327 """__str__(Transformation3D self) -> std::string"""
2328 return _IMP_algebra.Transformation3D___str__(self)
2332 """__repr__(Transformation3D self) -> std::string"""
2333 return _IMP_algebra.Transformation3D___repr__(self)
2336 __truediv__ = __div__
2338 Transformation3D_swigregister = _IMP_algebra.Transformation3D_swigregister
2339 Transformation3D_swigregister(Transformation3D)
2343 """get_identity_transformation_3d() -> Transformation3D"""
2344 return _IMP_algebra.get_identity_transformation_3d()
2348 compose_adjoint(Rotation3D A, Rotation3D B, Vector4D DC) -> _ComposeRotation3DAdjoint
2349 compose_adjoint(Transformation3D TA, Transformation3D TB, _Transformation3DAdjoint DTC) -> _ComposeTransformation3DAdjoint
2351 return _IMP_algebra.compose_adjoint(*args)
2354 """get_transformation_3d(Transformation2D t2d) -> Transformation3D"""
2355 return _IMP_algebra.get_transformation_3d(t2d)
2359 get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26) -> Transformation3D
2360 get_random_local_transformation(Vector3D origin, double max_translation=5.) -> Transformation3D
2361 get_random_local_transformation(Vector3D origin) -> Transformation3D
2363 return _IMP_algebra.get_random_local_transformation(origin, max_translation, max_angle_in_rad)
2364 class Rotation2D(_GeometricPrimitive2D):
2365 """Proxy of C++ IMP::algebra::Rotation2D class"""
2366 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2368 def __init__(self, *args):
2370 __init__(IMP::algebra::Rotation2D self) -> Rotation2D
2371 __init__(IMP::algebra::Rotation2D self, double angle) -> Rotation2D
2373 this = _IMP_algebra.new_Rotation2D(*args)
2375 self.this.append(this)
2379 def get_rotated(self, *args):
2381 get_rotated(Rotation2D self, Vector2D o) -> Vector2D
2382 get_rotated(Rotation2D self, double const x, double const y) -> Vector2D
2384 return _IMP_algebra.Rotation2D_get_rotated(self, *args)
2387 def get_inverse(self):
2388 """get_inverse(Rotation2D self) -> Rotation2D"""
2389 return _IMP_algebra.Rotation2D_get_inverse(self)
2392 def set_angle(self, angle):
2393 """set_angle(Rotation2D self, double angle)"""
2394 return _IMP_algebra.Rotation2D_set_angle(self, angle)
2398 """get_angle(Rotation2D self) -> double"""
2399 return _IMP_algebra.Rotation2D_get_angle(self)
2402 def show(self, *args):
2404 show(Rotation2D self, _ostream out)
2405 show(Rotation2D self)
2407 return _IMP_algebra.Rotation2D_show(self, *args)
2411 """__str__(Rotation2D self) -> std::string"""
2412 return _IMP_algebra.Rotation2D___str__(self)
2416 """__repr__(Rotation2D self) -> std::string"""
2417 return _IMP_algebra.Rotation2D___repr__(self)
2419 __swig_destroy__ = _IMP_algebra.delete_Rotation2D
2420 __del__ =
lambda self:
None
2421 Rotation2D_swigregister = _IMP_algebra.Rotation2D_swigregister
2422 Rotation2D_swigregister(Rotation2D)
2426 """get_identity_rotation_2d() -> Rotation2D"""
2427 return _IMP_algebra.get_identity_rotation_2d()
2430 """get_random_rotation_2d() -> Rotation2D"""
2431 return _IMP_algebra.get_random_rotation_2d()
2434 """get_rotation_to_x_axis(Vector2D v) -> Rotation2D"""
2435 return _IMP_algebra.get_rotation_to_x_axis(v)
2436 class Transformation2D(_GeometricPrimitive2D):
2437 """Proxy of C++ IMP::algebra::Transformation2D class"""
2438 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2440 def __init__(self, *args):
2442 __init__(IMP::algebra::Transformation2D self) -> Transformation2D
2443 __init__(IMP::algebra::Transformation2D self, Rotation2D r, Vector2D t) -> Transformation2D
2444 __init__(IMP::algebra::Transformation2D self, Rotation2D r) -> Transformation2D
2445 __init__(IMP::algebra::Transformation2D self, Vector2D t) -> Transformation2D
2447 this = _IMP_algebra.new_Transformation2D(*args)
2449 self.this.append(this)
2452 __swig_destroy__ = _IMP_algebra.delete_Transformation2D
2453 __del__ =
lambda self:
None
2455 def get_transformed(self, o):
2456 """get_transformed(Transformation2D self, Vector2D o) -> Vector2D"""
2457 return _IMP_algebra.Transformation2D_get_transformed(self, o)
2460 def __mul__(self, *args):
2462 __mul__(Transformation2D self, Vector2D v) -> Vector2D
2463 __mul__(Transformation2D self, Transformation2D tr) -> Transformation2D
2465 return _IMP_algebra.Transformation2D___mul__(self, *args)
2468 def __div__(self, b):
2469 """__div__(Transformation2D self, Transformation2D b) -> Transformation2D"""
2470 return _IMP_algebra.Transformation2D___div__(self, b)
2473 def get_rotation(self):
2474 """get_rotation(Transformation2D self) -> Rotation2D"""
2475 return _IMP_algebra.Transformation2D_get_rotation(self)
2478 def set_rotation(self, angle):
2479 """set_rotation(Transformation2D self, double angle)"""
2480 return _IMP_algebra.Transformation2D_set_rotation(self, angle)
2483 def get_translation(self):
2484 """get_translation(Transformation2D self) -> Vector2D"""
2485 return _IMP_algebra.Transformation2D_get_translation(self)
2488 def set_translation(self, v):
2489 """set_translation(Transformation2D self, Vector2D v)"""
2490 return _IMP_algebra.Transformation2D_set_translation(self, v)
2493 def show(self, *args):
2495 show(Transformation2D self, _ostream out)
2496 show(Transformation2D self)
2498 return _IMP_algebra.Transformation2D_show(self, *args)
2501 def get_inverse(self):
2502 """get_inverse(Transformation2D self) -> Transformation2D"""
2503 return _IMP_algebra.Transformation2D_get_inverse(self)
2507 """__str__(Transformation2D self) -> std::string"""
2508 return _IMP_algebra.Transformation2D___str__(self)
2512 """__repr__(Transformation2D self) -> std::string"""
2513 return _IMP_algebra.Transformation2D___repr__(self)
2516 __truediv__ = __div__
2518 Transformation2D_swigregister = _IMP_algebra.Transformation2D_swigregister
2519 Transformation2D_swigregister(Transformation2D)
2523 """get_identity_transformation_2d() -> Transformation2D"""
2524 return _IMP_algebra.get_identity_transformation_2d()
2528 get_rotation_about_point(Vector3D point, Rotation3D rotation) -> Transformation3D
2529 get_rotation_about_point(Vector2D point, Rotation2D rotation) -> Transformation2D
2531 return _IMP_algebra.get_rotation_about_point(*args)
2535 compose(Rotation3D a, Rotation3D b) -> Rotation3D
2536 compose(Transformation3D a, Transformation3D b) -> Transformation3D
2537 compose(Rotation2D a, Rotation2D b) -> Rotation2D
2538 compose(Transformation2D a, Transformation2D b) -> Transformation2D
2540 return _IMP_algebra.compose(*args)
2542 def get_unit_sphere_kd(d):
2543 """get_unit_sphere_kd(unsigned int d) -> SphereKD"""
2544 return _IMP_algebra.get_unit_sphere_kd(d)
2548 get_enclosing_sphere(IMP::algebra::Sphere3Ds const & ss) -> Sphere3D
2549 get_enclosing_sphere(IMP::algebra::Vector3Ds const & ss) -> Sphere3D
2551 return _IMP_algebra.get_enclosing_sphere(*args)
2554 """get_ball_radius_from_volume_3d(double volume) -> double"""
2555 return _IMP_algebra.get_ball_radius_from_volume_3d(volume)
2558 """get_surface_area_and_volume(IMP::algebra::Sphere3Ds const & ss) -> IMP::FloatPair"""
2559 return _IMP_algebra.get_surface_area_and_volume(ss)
2562 """get_simplified_from_volume(IMP::algebra::Sphere3Ds arg1, double maximum_allowed_error_angstroms) -> IMP::algebra::Sphere3Ds"""
2563 return _IMP_algebra.get_simplified_from_volume(arg1, maximum_allowed_error_angstroms)
2565 def get_triangle_3d(s):
2566 """get_triangle_3d(UnitSimplex3D s) -> Triangle3D"""
2567 return _IMP_algebra.get_triangle_3d(s)
2568 class _UnitSimplexBaseKD(_GeometricPrimitiveKD):
2569 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(-1)> class"""
2570 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2572 def __init__(self, *args, **kwargs):
2573 raise AttributeError(
"No constructor defined - class is abstract")
2574 __repr__ = _swig_repr
2576 def get_dimension(self):
2577 """get_dimension(_UnitSimplexBaseKD self) -> int"""
2578 return _IMP_algebra._UnitSimplexBaseKD_get_dimension(self)
2581 def get_barycenter(self):
2582 """get_barycenter(_UnitSimplexBaseKD self) -> VectorKD"""
2583 return _IMP_algebra._UnitSimplexBaseKD_get_barycenter(self)
2586 def get_contains(self, *args):
2588 get_contains(_UnitSimplexBaseKD self, VectorKD p, double atol) -> bool
2589 get_contains(_UnitSimplexBaseKD self, VectorKD p) -> bool
2591 return _IMP_algebra._UnitSimplexBaseKD_get_contains(self, *args)
2593 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBaseKD
2594 __del__ =
lambda self:
None
2595 _UnitSimplexBaseKD_swigregister = _IMP_algebra._UnitSimplexBaseKD_swigregister
2596 _UnitSimplexBaseKD_swigregister(_UnitSimplexBaseKD)
2598 class _UnitSimplexBase1D(_GeometricPrimitive1D):
2599 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(1)> class"""
2600 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2602 def __init__(self, *args, **kwargs):
2603 raise AttributeError(
"No constructor defined - class is abstract")
2604 __repr__ = _swig_repr
2606 def get_dimension(self):
2607 """get_dimension(_UnitSimplexBase1D self) -> int"""
2608 return _IMP_algebra._UnitSimplexBase1D_get_dimension(self)
2611 def get_barycenter(self):
2612 """get_barycenter(_UnitSimplexBase1D self) -> Vector1D"""
2613 return _IMP_algebra._UnitSimplexBase1D_get_barycenter(self)
2616 def get_contains(self, *args):
2618 get_contains(_UnitSimplexBase1D self, Vector1D p, double atol) -> bool
2619 get_contains(_UnitSimplexBase1D self, Vector1D p) -> bool
2621 return _IMP_algebra._UnitSimplexBase1D_get_contains(self, *args)
2623 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase1D
2624 __del__ =
lambda self:
None
2625 _UnitSimplexBase1D_swigregister = _IMP_algebra._UnitSimplexBase1D_swigregister
2626 _UnitSimplexBase1D_swigregister(_UnitSimplexBase1D)
2628 class _UnitSimplexBase2D(_GeometricPrimitive2D):
2629 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(2)> class"""
2630 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2632 def __init__(self, *args, **kwargs):
2633 raise AttributeError(
"No constructor defined - class is abstract")
2634 __repr__ = _swig_repr
2636 def get_dimension(self):
2637 """get_dimension(_UnitSimplexBase2D self) -> int"""
2638 return _IMP_algebra._UnitSimplexBase2D_get_dimension(self)
2641 def get_barycenter(self):
2642 """get_barycenter(_UnitSimplexBase2D self) -> Vector2D"""
2643 return _IMP_algebra._UnitSimplexBase2D_get_barycenter(self)
2646 def get_contains(self, *args):
2648 get_contains(_UnitSimplexBase2D self, Vector2D p, double atol) -> bool
2649 get_contains(_UnitSimplexBase2D self, Vector2D p) -> bool
2651 return _IMP_algebra._UnitSimplexBase2D_get_contains(self, *args)
2653 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase2D
2654 __del__ =
lambda self:
None
2655 _UnitSimplexBase2D_swigregister = _IMP_algebra._UnitSimplexBase2D_swigregister
2656 _UnitSimplexBase2D_swigregister(_UnitSimplexBase2D)
2658 class _UnitSimplexBase3D(_GeometricPrimitive3D):
2659 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(3)> class"""
2660 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2662 def __init__(self, *args, **kwargs):
2663 raise AttributeError(
"No constructor defined - class is abstract")
2664 __repr__ = _swig_repr
2666 def get_dimension(self):
2667 """get_dimension(_UnitSimplexBase3D self) -> int"""
2668 return _IMP_algebra._UnitSimplexBase3D_get_dimension(self)
2671 def get_barycenter(self):
2672 """get_barycenter(_UnitSimplexBase3D self) -> Vector3D"""
2673 return _IMP_algebra._UnitSimplexBase3D_get_barycenter(self)
2676 def get_contains(self, *args):
2678 get_contains(_UnitSimplexBase3D self, Vector3D p, double atol) -> bool
2679 get_contains(_UnitSimplexBase3D self, Vector3D p) -> bool
2681 return _IMP_algebra._UnitSimplexBase3D_get_contains(self, *args)
2683 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase3D
2684 __del__ =
lambda self:
None
2685 _UnitSimplexBase3D_swigregister = _IMP_algebra._UnitSimplexBase3D_swigregister
2686 _UnitSimplexBase3D_swigregister(_UnitSimplexBase3D)
2688 class _UnitSimplexBase4D(_GeometricPrimitive4D):
2689 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(4)> class"""
2690 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2692 def __init__(self, *args, **kwargs):
2693 raise AttributeError(
"No constructor defined - class is abstract")
2694 __repr__ = _swig_repr
2696 def get_dimension(self):
2697 """get_dimension(_UnitSimplexBase4D self) -> int"""
2698 return _IMP_algebra._UnitSimplexBase4D_get_dimension(self)
2701 def get_barycenter(self):
2702 """get_barycenter(_UnitSimplexBase4D self) -> Vector4D"""
2703 return _IMP_algebra._UnitSimplexBase4D_get_barycenter(self)
2706 def get_contains(self, *args):
2708 get_contains(_UnitSimplexBase4D self, Vector4D p, double atol) -> bool
2709 get_contains(_UnitSimplexBase4D self, Vector4D p) -> bool
2711 return _IMP_algebra._UnitSimplexBase4D_get_contains(self, *args)
2713 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase4D
2714 __del__ =
lambda self:
None
2715 _UnitSimplexBase4D_swigregister = _IMP_algebra._UnitSimplexBase4D_swigregister
2716 _UnitSimplexBase4D_swigregister(_UnitSimplexBase4D)
2718 class _UnitSimplexBase5D(_GeometricPrimitive5D):
2719 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(5)> class"""
2720 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2722 def __init__(self, *args, **kwargs):
2723 raise AttributeError(
"No constructor defined - class is abstract")
2724 __repr__ = _swig_repr
2726 def get_dimension(self):
2727 """get_dimension(_UnitSimplexBase5D self) -> int"""
2728 return _IMP_algebra._UnitSimplexBase5D_get_dimension(self)
2731 def get_barycenter(self):
2732 """get_barycenter(_UnitSimplexBase5D self) -> Vector5D"""
2733 return _IMP_algebra._UnitSimplexBase5D_get_barycenter(self)
2736 def get_contains(self, *args):
2738 get_contains(_UnitSimplexBase5D self, Vector5D p, double atol) -> bool
2739 get_contains(_UnitSimplexBase5D self, Vector5D p) -> bool
2741 return _IMP_algebra._UnitSimplexBase5D_get_contains(self, *args)
2743 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase5D
2744 __del__ =
lambda self:
None
2745 _UnitSimplexBase5D_swigregister = _IMP_algebra._UnitSimplexBase5D_swigregister
2746 _UnitSimplexBase5D_swigregister(_UnitSimplexBase5D)
2748 class _UnitSimplexBase6D(_GeometricPrimitive6D):
2749 """Proxy of C++ IMP::algebra::UnitSimplexBaseD<(6)> class"""
2750 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2752 def __init__(self, *args, **kwargs):
2753 raise AttributeError(
"No constructor defined - class is abstract")
2754 __repr__ = _swig_repr
2756 def get_dimension(self):
2757 """get_dimension(_UnitSimplexBase6D self) -> int"""
2758 return _IMP_algebra._UnitSimplexBase6D_get_dimension(self)
2761 def get_barycenter(self):
2762 """get_barycenter(_UnitSimplexBase6D self) -> Vector6D"""
2763 return _IMP_algebra._UnitSimplexBase6D_get_barycenter(self)
2766 def get_contains(self, *args):
2768 get_contains(_UnitSimplexBase6D self, Vector6D p, double atol) -> bool
2769 get_contains(_UnitSimplexBase6D self, Vector6D p) -> bool
2771 return _IMP_algebra._UnitSimplexBase6D_get_contains(self, *args)
2773 __swig_destroy__ = _IMP_algebra.delete__UnitSimplexBase6D
2774 __del__ =
lambda self:
None
2775 _UnitSimplexBase6D_swigregister = _IMP_algebra._UnitSimplexBase6D_swigregister
2776 _UnitSimplexBase6D_swigregister(_UnitSimplexBase6D)
2779 """Proxy of C++ IMP::algebra::VectorD<(1)> class"""
2780 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2783 """get_unit_vector(Vector1D self) -> Vector1D"""
2784 return _IMP_algebra.Vector1D_get_unit_vector(self)
2787 def __div__(self, s):
2788 """__div__(Vector1D self, double s) -> Vector1D"""
2789 return _IMP_algebra.Vector1D___div__(self, s)
2793 """__neg__(Vector1D self) -> Vector1D"""
2794 return _IMP_algebra.Vector1D___neg__(self)
2797 def __sub__(self, o):
2798 """__sub__(Vector1D self, Vector1D o) -> Vector1D"""
2799 return _IMP_algebra.Vector1D___sub__(self, o)
2802 def __add__(self, ret):
2803 """__add__(Vector1D self, Vector1D ret) -> Vector1D"""
2804 return _IMP_algebra.Vector1D___add__(self, ret)
2807 def __mul__(self, *args):
2809 __mul__(Vector1D self, double s) -> Vector1D
2810 __mul__(Vector1D self, Vector1D o) -> double
2812 return _IMP_algebra.Vector1D___mul__(self, *args)
2815 def __init__(self, *args):
2817 __init__(IMP::algebra::VectorD<(1)> self, IMP::Floats const & f) -> Vector1D
2818 __init__(IMP::algebra::VectorD<(1)> self) -> Vector1D
2819 __init__(IMP::algebra::VectorD<(1)> self, double x) -> Vector1D
2821 this = _IMP_algebra.new_Vector1D(*args)
2823 self.this.append(this)
2827 def __iadd__(self, *args):
2828 _IMP_algebra.Vector1D___iadd__(self, *args)
2833 def __imul__(self, *args):
2834 _IMP_algebra.Vector1D___imul__(self, *args)
2839 def __idiv__(self, *args):
2840 _IMP_algebra.Vector1D___idiv__(self, *args)
2845 def __isub__(self, *args):
2846 _IMP_algebra.Vector1D___isub__(self, *args)
2852 """__len__(Vector1D self) -> unsigned int"""
2853 return _IMP_algebra.Vector1D___len__(self)
2856 def __rmul__(self, f):
2857 """__rmul__(Vector1D self, double f) -> Vector1D"""
2858 return _IMP_algebra.Vector1D___rmul__(self, f)
2862 """__str__(Vector1D self) -> std::string"""
2863 return _IMP_algebra.Vector1D___str__(self)
2867 """__repr__(Vector1D self) -> std::string"""
2868 return _IMP_algebra.Vector1D___repr__(self)
2871 def __cmp__(self, arg2):
2872 """__cmp__(Vector1D self, Vector1D arg2) -> int"""
2873 return _IMP_algebra.Vector1D___cmp__(self, arg2)
2876 def __eq__(self, arg2):
2877 """__eq__(Vector1D self, Vector1D arg2) -> bool"""
2878 return _IMP_algebra.Vector1D___eq__(self, arg2)
2881 __truediv__ = __div__
2882 __itruediv__ = __idiv__
2885 def __getitem__(self, index):
2886 """__getitem__(Vector1D self, int index) -> double"""
2887 return _IMP_algebra.Vector1D___getitem__(self, index)
2890 def __setitem__(self, index, val):
2891 """__setitem__(Vector1D self, int index, double val)"""
2892 return _IMP_algebra.Vector1D___setitem__(self, index, val)
2894 __swig_destroy__ = _IMP_algebra.delete_Vector1D
2895 __del__ =
lambda self:
None
2896 Vector1D_swigregister = _IMP_algebra.Vector1D_swigregister
2897 Vector1D_swigregister(Vector1D)
2900 """Proxy of C++ IMP::algebra::VectorD<(2)> class"""
2901 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2904 """get_unit_vector(Vector2D self) -> Vector2D"""
2905 return _IMP_algebra.Vector2D_get_unit_vector(self)
2908 def __div__(self, s):
2909 """__div__(Vector2D self, double s) -> Vector2D"""
2910 return _IMP_algebra.Vector2D___div__(self, s)
2914 """__neg__(Vector2D self) -> Vector2D"""
2915 return _IMP_algebra.Vector2D___neg__(self)
2918 def __sub__(self, o):
2919 """__sub__(Vector2D self, Vector2D o) -> Vector2D"""
2920 return _IMP_algebra.Vector2D___sub__(self, o)
2923 def __add__(self, ret):
2924 """__add__(Vector2D self, Vector2D ret) -> Vector2D"""
2925 return _IMP_algebra.Vector2D___add__(self, ret)
2928 def __mul__(self, *args):
2930 __mul__(Vector2D self, double s) -> Vector2D
2931 __mul__(Vector2D self, Vector2D o) -> double
2933 return _IMP_algebra.Vector2D___mul__(self, *args)
2936 def __init__(self, *args):
2938 __init__(IMP::algebra::VectorD<(2)> self, IMP::Floats const & f) -> Vector2D
2939 __init__(IMP::algebra::VectorD<(2)> self) -> Vector2D
2940 __init__(IMP::algebra::VectorD<(2)> self, double x, double y) -> Vector2D
2942 this = _IMP_algebra.new_Vector2D(*args)
2944 self.this.append(this)
2948 def __iadd__(self, *args):
2949 _IMP_algebra.Vector2D___iadd__(self, *args)
2954 def __imul__(self, *args):
2955 _IMP_algebra.Vector2D___imul__(self, *args)
2960 def __idiv__(self, *args):
2961 _IMP_algebra.Vector2D___idiv__(self, *args)
2966 def __isub__(self, *args):
2967 _IMP_algebra.Vector2D___isub__(self, *args)
2973 """__len__(Vector2D self) -> unsigned int"""
2974 return _IMP_algebra.Vector2D___len__(self)
2977 def __rmul__(self, f):
2978 """__rmul__(Vector2D self, double f) -> Vector2D"""
2979 return _IMP_algebra.Vector2D___rmul__(self, f)
2983 """__str__(Vector2D self) -> std::string"""
2984 return _IMP_algebra.Vector2D___str__(self)
2988 """__repr__(Vector2D self) -> std::string"""
2989 return _IMP_algebra.Vector2D___repr__(self)
2992 def __cmp__(self, arg2):
2993 """__cmp__(Vector2D self, Vector2D arg2) -> int"""
2994 return _IMP_algebra.Vector2D___cmp__(self, arg2)
2997 def __eq__(self, arg2):
2998 """__eq__(Vector2D self, Vector2D arg2) -> bool"""
2999 return _IMP_algebra.Vector2D___eq__(self, arg2)
3002 __truediv__ = __div__
3003 __itruediv__ = __idiv__
3006 def __getitem__(self, index):
3007 """__getitem__(Vector2D self, int index) -> double"""
3008 return _IMP_algebra.Vector2D___getitem__(self, index)
3011 def __setitem__(self, index, val):
3012 """__setitem__(Vector2D self, int index, double val)"""
3013 return _IMP_algebra.Vector2D___setitem__(self, index, val)
3015 __swig_destroy__ = _IMP_algebra.delete_Vector2D
3016 __del__ =
lambda self:
None
3017 Vector2D_swigregister = _IMP_algebra.Vector2D_swigregister
3018 Vector2D_swigregister(Vector2D)
3021 """Proxy of C++ IMP::algebra::VectorD<(3)> class"""
3022 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3025 """get_unit_vector(Vector3D self) -> Vector3D"""
3026 return _IMP_algebra.Vector3D_get_unit_vector(self)
3029 def __div__(self, s):
3030 """__div__(Vector3D self, double s) -> Vector3D"""
3031 return _IMP_algebra.Vector3D___div__(self, s)
3035 """__neg__(Vector3D self) -> Vector3D"""
3036 return _IMP_algebra.Vector3D___neg__(self)
3039 def __sub__(self, o):
3040 """__sub__(Vector3D self, Vector3D o) -> Vector3D"""
3041 return _IMP_algebra.Vector3D___sub__(self, o)
3044 def __add__(self, ret):
3045 """__add__(Vector3D self, Vector3D ret) -> Vector3D"""
3046 return _IMP_algebra.Vector3D___add__(self, ret)
3049 def __mul__(self, *args):
3051 __mul__(Vector3D self, double s) -> Vector3D
3052 __mul__(Vector3D self, Vector3D o) -> double
3054 return _IMP_algebra.Vector3D___mul__(self, *args)
3057 def __init__(self, *args):
3059 __init__(IMP::algebra::VectorD<(3)> self, IMP::Floats const & f) -> Vector3D
3060 __init__(IMP::algebra::VectorD<(3)> self) -> Vector3D
3061 __init__(IMP::algebra::VectorD<(3)> self, double x, double y, double z) -> Vector3D
3063 this = _IMP_algebra.new_Vector3D(*args)
3065 self.this.append(this)
3069 def __iadd__(self, *args):
3070 _IMP_algebra.Vector3D___iadd__(self, *args)
3075 def __imul__(self, *args):
3076 _IMP_algebra.Vector3D___imul__(self, *args)
3081 def __idiv__(self, *args):
3082 _IMP_algebra.Vector3D___idiv__(self, *args)
3087 def __isub__(self, *args):
3088 _IMP_algebra.Vector3D___isub__(self, *args)
3094 """__len__(Vector3D self) -> unsigned int"""
3095 return _IMP_algebra.Vector3D___len__(self)
3098 def __rmul__(self, f):
3099 """__rmul__(Vector3D self, double f) -> Vector3D"""
3100 return _IMP_algebra.Vector3D___rmul__(self, f)
3104 """__str__(Vector3D self) -> std::string"""
3105 return _IMP_algebra.Vector3D___str__(self)
3109 """__repr__(Vector3D self) -> std::string"""
3110 return _IMP_algebra.Vector3D___repr__(self)
3113 def __cmp__(self, arg2):
3114 """__cmp__(Vector3D self, Vector3D arg2) -> int"""
3115 return _IMP_algebra.Vector3D___cmp__(self, arg2)
3118 def __eq__(self, arg2):
3119 """__eq__(Vector3D self, Vector3D arg2) -> bool"""
3120 return _IMP_algebra.Vector3D___eq__(self, arg2)
3123 __truediv__ = __div__
3124 __itruediv__ = __idiv__
3127 def __getitem__(self, index):
3128 """__getitem__(Vector3D self, int index) -> double"""
3129 return _IMP_algebra.Vector3D___getitem__(self, index)
3132 def __setitem__(self, index, val):
3133 """__setitem__(Vector3D self, int index, double val)"""
3134 return _IMP_algebra.Vector3D___setitem__(self, index, val)
3136 __swig_destroy__ = _IMP_algebra.delete_Vector3D
3137 __del__ =
lambda self:
None
3138 Vector3D_swigregister = _IMP_algebra.Vector3D_swigregister
3139 Vector3D_swigregister(Vector3D)
3142 """Proxy of C++ IMP::algebra::VectorD<(4)> class"""
3143 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3146 """get_unit_vector(Vector4D self) -> Vector4D"""
3147 return _IMP_algebra.Vector4D_get_unit_vector(self)
3150 def __div__(self, s):
3151 """__div__(Vector4D self, double s) -> Vector4D"""
3152 return _IMP_algebra.Vector4D___div__(self, s)
3156 """__neg__(Vector4D self) -> Vector4D"""
3157 return _IMP_algebra.Vector4D___neg__(self)
3160 def __sub__(self, o):
3161 """__sub__(Vector4D self, Vector4D o) -> Vector4D"""
3162 return _IMP_algebra.Vector4D___sub__(self, o)
3165 def __add__(self, ret):
3166 """__add__(Vector4D self, Vector4D ret) -> Vector4D"""
3167 return _IMP_algebra.Vector4D___add__(self, ret)
3170 def __mul__(self, *args):
3172 __mul__(Vector4D self, double s) -> Vector4D
3173 __mul__(Vector4D self, Vector4D o) -> double
3175 return _IMP_algebra.Vector4D___mul__(self, *args)
3178 def __init__(self, *args):
3180 __init__(IMP::algebra::VectorD<(4)> self, IMP::Floats const & f) -> Vector4D
3181 __init__(IMP::algebra::VectorD<(4)> self) -> Vector4D
3182 __init__(IMP::algebra::VectorD<(4)> self, double x0, double x1, double x2, double x3) -> Vector4D
3184 this = _IMP_algebra.new_Vector4D(*args)
3186 self.this.append(this)
3190 def __iadd__(self, *args):
3191 _IMP_algebra.Vector4D___iadd__(self, *args)
3196 def __imul__(self, *args):
3197 _IMP_algebra.Vector4D___imul__(self, *args)
3202 def __idiv__(self, *args):
3203 _IMP_algebra.Vector4D___idiv__(self, *args)
3208 def __isub__(self, *args):
3209 _IMP_algebra.Vector4D___isub__(self, *args)
3215 """__len__(Vector4D self) -> unsigned int"""
3216 return _IMP_algebra.Vector4D___len__(self)
3219 def __rmul__(self, f):
3220 """__rmul__(Vector4D self, double f) -> Vector4D"""
3221 return _IMP_algebra.Vector4D___rmul__(self, f)
3225 """__str__(Vector4D self) -> std::string"""
3226 return _IMP_algebra.Vector4D___str__(self)
3230 """__repr__(Vector4D self) -> std::string"""
3231 return _IMP_algebra.Vector4D___repr__(self)
3234 def __cmp__(self, arg2):
3235 """__cmp__(Vector4D self, Vector4D arg2) -> int"""
3236 return _IMP_algebra.Vector4D___cmp__(self, arg2)
3239 def __eq__(self, arg2):
3240 """__eq__(Vector4D self, Vector4D arg2) -> bool"""
3241 return _IMP_algebra.Vector4D___eq__(self, arg2)
3244 __truediv__ = __div__
3245 __itruediv__ = __idiv__
3248 def __getitem__(self, index):
3249 """__getitem__(Vector4D self, int index) -> double"""
3250 return _IMP_algebra.Vector4D___getitem__(self, index)
3253 def __setitem__(self, index, val):
3254 """__setitem__(Vector4D self, int index, double val)"""
3255 return _IMP_algebra.Vector4D___setitem__(self, index, val)
3257 __swig_destroy__ = _IMP_algebra.delete_Vector4D
3258 __del__ =
lambda self:
None
3259 Vector4D_swigregister = _IMP_algebra.Vector4D_swigregister
3260 Vector4D_swigregister(Vector4D)
3263 """Proxy of C++ IMP::algebra::VectorD<(5)> class"""
3264 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3267 """get_unit_vector(Vector5D self) -> Vector5D"""
3268 return _IMP_algebra.Vector5D_get_unit_vector(self)
3271 def __div__(self, s):
3272 """__div__(Vector5D self, double s) -> Vector5D"""
3273 return _IMP_algebra.Vector5D___div__(self, s)
3277 """__neg__(Vector5D self) -> Vector5D"""
3278 return _IMP_algebra.Vector5D___neg__(self)
3281 def __sub__(self, o):
3282 """__sub__(Vector5D self, Vector5D o) -> Vector5D"""
3283 return _IMP_algebra.Vector5D___sub__(self, o)
3286 def __add__(self, ret):
3287 """__add__(Vector5D self, Vector5D ret) -> Vector5D"""
3288 return _IMP_algebra.Vector5D___add__(self, ret)
3291 def __mul__(self, *args):
3293 __mul__(Vector5D self, double s) -> Vector5D
3294 __mul__(Vector5D self, Vector5D o) -> double
3296 return _IMP_algebra.Vector5D___mul__(self, *args)
3299 def __init__(self, *args):
3301 __init__(IMP::algebra::VectorD<(5)> self, IMP::Floats const & f) -> Vector5D
3302 __init__(IMP::algebra::VectorD<(5)> self) -> Vector5D
3303 __init__(IMP::algebra::VectorD<(5)> self, double x0, double x1, double x2, double x3, double x4) -> Vector5D
3305 this = _IMP_algebra.new_Vector5D(*args)
3307 self.this.append(this)
3311 def __iadd__(self, *args):
3312 _IMP_algebra.Vector5D___iadd__(self, *args)
3317 def __imul__(self, *args):
3318 _IMP_algebra.Vector5D___imul__(self, *args)
3323 def __idiv__(self, *args):
3324 _IMP_algebra.Vector5D___idiv__(self, *args)
3329 def __isub__(self, *args):
3330 _IMP_algebra.Vector5D___isub__(self, *args)
3336 """__len__(Vector5D self) -> unsigned int"""
3337 return _IMP_algebra.Vector5D___len__(self)
3340 def __rmul__(self, f):
3341 """__rmul__(Vector5D self, double f) -> Vector5D"""
3342 return _IMP_algebra.Vector5D___rmul__(self, f)
3346 """__str__(Vector5D self) -> std::string"""
3347 return _IMP_algebra.Vector5D___str__(self)
3351 """__repr__(Vector5D self) -> std::string"""
3352 return _IMP_algebra.Vector5D___repr__(self)
3355 def __cmp__(self, arg2):
3356 """__cmp__(Vector5D self, Vector5D arg2) -> int"""
3357 return _IMP_algebra.Vector5D___cmp__(self, arg2)
3360 def __eq__(self, arg2):
3361 """__eq__(Vector5D self, Vector5D arg2) -> bool"""
3362 return _IMP_algebra.Vector5D___eq__(self, arg2)
3365 __truediv__ = __div__
3366 __itruediv__ = __idiv__
3369 def __getitem__(self, index):
3370 """__getitem__(Vector5D self, int index) -> double"""
3371 return _IMP_algebra.Vector5D___getitem__(self, index)
3374 def __setitem__(self, index, val):
3375 """__setitem__(Vector5D self, int index, double val)"""
3376 return _IMP_algebra.Vector5D___setitem__(self, index, val)
3378 __swig_destroy__ = _IMP_algebra.delete_Vector5D
3379 __del__ =
lambda self:
None
3380 Vector5D_swigregister = _IMP_algebra.Vector5D_swigregister
3381 Vector5D_swigregister(Vector5D)
3384 """Proxy of C++ IMP::algebra::VectorD<(6)> class"""
3385 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3388 """get_unit_vector(Vector6D self) -> Vector6D"""
3389 return _IMP_algebra.Vector6D_get_unit_vector(self)
3392 def __div__(self, s):
3393 """__div__(Vector6D self, double s) -> Vector6D"""
3394 return _IMP_algebra.Vector6D___div__(self, s)
3398 """__neg__(Vector6D self) -> Vector6D"""
3399 return _IMP_algebra.Vector6D___neg__(self)
3402 def __sub__(self, o):
3403 """__sub__(Vector6D self, Vector6D o) -> Vector6D"""
3404 return _IMP_algebra.Vector6D___sub__(self, o)
3407 def __add__(self, ret):
3408 """__add__(Vector6D self, Vector6D ret) -> Vector6D"""
3409 return _IMP_algebra.Vector6D___add__(self, ret)
3412 def __mul__(self, *args):
3414 __mul__(Vector6D self, double s) -> Vector6D
3415 __mul__(Vector6D self, Vector6D o) -> double
3417 return _IMP_algebra.Vector6D___mul__(self, *args)
3420 def __init__(self, *args):
3422 __init__(IMP::algebra::VectorD<(6)> self, IMP::Floats const & f) -> Vector6D
3423 __init__(IMP::algebra::VectorD<(6)> self) -> Vector6D
3424 __init__(IMP::algebra::VectorD<(6)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> Vector6D
3426 this = _IMP_algebra.new_Vector6D(*args)
3428 self.this.append(this)
3432 def __iadd__(self, *args):
3433 _IMP_algebra.Vector6D___iadd__(self, *args)
3438 def __imul__(self, *args):
3439 _IMP_algebra.Vector6D___imul__(self, *args)
3444 def __idiv__(self, *args):
3445 _IMP_algebra.Vector6D___idiv__(self, *args)
3450 def __isub__(self, *args):
3451 _IMP_algebra.Vector6D___isub__(self, *args)
3457 """__len__(Vector6D self) -> unsigned int"""
3458 return _IMP_algebra.Vector6D___len__(self)
3461 def __rmul__(self, f):
3462 """__rmul__(Vector6D self, double f) -> Vector6D"""
3463 return _IMP_algebra.Vector6D___rmul__(self, f)
3467 """__str__(Vector6D self) -> std::string"""
3468 return _IMP_algebra.Vector6D___str__(self)
3472 """__repr__(Vector6D self) -> std::string"""
3473 return _IMP_algebra.Vector6D___repr__(self)
3476 def __cmp__(self, arg2):
3477 """__cmp__(Vector6D self, Vector6D arg2) -> int"""
3478 return _IMP_algebra.Vector6D___cmp__(self, arg2)
3481 def __eq__(self, arg2):
3482 """__eq__(Vector6D self, Vector6D arg2) -> bool"""
3483 return _IMP_algebra.Vector6D___eq__(self, arg2)
3486 __truediv__ = __div__
3487 __itruediv__ = __idiv__
3490 def __getitem__(self, index):
3491 """__getitem__(Vector6D self, int index) -> double"""
3492 return _IMP_algebra.Vector6D___getitem__(self, index)
3495 def __setitem__(self, index, val):
3496 """__setitem__(Vector6D self, int index, double val)"""
3497 return _IMP_algebra.Vector6D___setitem__(self, index, val)
3499 __swig_destroy__ = _IMP_algebra.delete_Vector6D
3500 __del__ =
lambda self:
None
3501 Vector6D_swigregister = _IMP_algebra.Vector6D_swigregister
3502 Vector6D_swigregister(Vector6D)
3505 """Proxy of C++ IMP::algebra::VectorD<(-1)> class"""
3506 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3509 """get_unit_vector(VectorKD self) -> VectorKD"""
3510 return _IMP_algebra.VectorKD_get_unit_vector(self)
3513 def __div__(self, s):
3514 """__div__(VectorKD self, double s) -> VectorKD"""
3515 return _IMP_algebra.VectorKD___div__(self, s)
3519 """__neg__(VectorKD self) -> VectorKD"""
3520 return _IMP_algebra.VectorKD___neg__(self)
3523 def __sub__(self, o):
3524 """__sub__(VectorKD self, VectorKD o) -> VectorKD"""
3525 return _IMP_algebra.VectorKD___sub__(self, o)
3528 def __add__(self, ret):
3529 """__add__(VectorKD self, VectorKD ret) -> VectorKD"""
3530 return _IMP_algebra.VectorKD___add__(self, ret)
3533 def __mul__(self, *args):
3535 __mul__(VectorKD self, double s) -> VectorKD
3536 __mul__(VectorKD self, VectorKD o) -> double
3538 return _IMP_algebra.VectorKD___mul__(self, *args)
3541 def __init__(self, *args):
3543 __init__(IMP::algebra::VectorD<(-1)> self, IMP::Floats const & f) -> VectorKD
3544 __init__(IMP::algebra::VectorD<(-1)> self) -> VectorKD
3545 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> VectorKD
3546 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4) -> VectorKD
3547 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3) -> VectorKD
3548 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2) -> VectorKD
3549 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1) -> VectorKD
3550 __init__(IMP::algebra::VectorD<(-1)> self, double x0) -> VectorKD
3552 this = _IMP_algebra.new_VectorKD(*args)
3554 self.this.append(this)
3558 def __iadd__(self, *args):
3559 _IMP_algebra.VectorKD___iadd__(self, *args)
3564 def __imul__(self, *args):
3565 _IMP_algebra.VectorKD___imul__(self, *args)
3570 def __idiv__(self, *args):
3571 _IMP_algebra.VectorKD___idiv__(self, *args)
3576 def __isub__(self, *args):
3577 _IMP_algebra.VectorKD___isub__(self, *args)
3583 """__len__(VectorKD self) -> unsigned int"""
3584 return _IMP_algebra.VectorKD___len__(self)
3587 def __rmul__(self, f):
3588 """__rmul__(VectorKD self, double f) -> VectorKD"""
3589 return _IMP_algebra.VectorKD___rmul__(self, f)
3593 """__str__(VectorKD self) -> std::string"""
3594 return _IMP_algebra.VectorKD___str__(self)
3598 """__repr__(VectorKD self) -> std::string"""
3599 return _IMP_algebra.VectorKD___repr__(self)
3602 def __cmp__(self, arg2):
3603 """__cmp__(VectorKD self, VectorKD arg2) -> int"""
3604 return _IMP_algebra.VectorKD___cmp__(self, arg2)
3607 def __eq__(self, arg2):
3608 """__eq__(VectorKD self, VectorKD arg2) -> bool"""
3609 return _IMP_algebra.VectorKD___eq__(self, arg2)
3612 __truediv__ = __div__
3613 __itruediv__ = __idiv__
3616 def __getitem__(self, index):
3617 """__getitem__(VectorKD self, int index) -> double"""
3618 return _IMP_algebra.VectorKD___getitem__(self, index)
3621 def __setitem__(self, index, val):
3622 """__setitem__(VectorKD self, int index, double val)"""
3623 return _IMP_algebra.VectorKD___setitem__(self, index, val)
3625 __swig_destroy__ = _IMP_algebra.delete_VectorKD
3626 __del__ =
lambda self:
None
3627 VectorKD_swigregister = _IMP_algebra.VectorKD_swigregister
3628 VectorKD_swigregister(VectorKD)
3631 """Proxy of C++ IMP::algebra::BoundingBoxD<(1)> class"""
3632 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3634 def get_dimension(self):
3635 """get_dimension(BoundingBox1D self) -> unsigned int"""
3636 return _IMP_algebra.BoundingBox1D_get_dimension(self)
3639 def get_corner(self, i):
3640 """get_corner(BoundingBox1D self, unsigned int i) -> Vector1D"""
3641 return _IMP_algebra.BoundingBox1D_get_corner(self, i)
3644 def get_contains(self, *args):
3646 get_contains(BoundingBox1D self, Vector1D o) -> bool
3647 get_contains(BoundingBox1D self, BoundingBox1D bb) -> bool
3649 return _IMP_algebra.BoundingBox1D_get_contains(self, *args)
3652 def show(self, *args):
3654 show(BoundingBox1D self, _ostream out)
3655 show(BoundingBox1D self)
3657 return _IMP_algebra.BoundingBox1D_show(self, *args)
3661 """__str__(BoundingBox1D self) -> std::string"""
3662 return _IMP_algebra.BoundingBox1D___str__(self)
3666 """__repr__(BoundingBox1D self) -> std::string"""
3667 return _IMP_algebra.BoundingBox1D___repr__(self)
3670 def __cmp__(self, arg2):
3671 """__cmp__(BoundingBox1D self, BoundingBox1D arg2) -> int"""
3672 return _IMP_algebra.BoundingBox1D___cmp__(self, arg2)
3675 def __eq__(self, arg2):
3676 """__eq__(BoundingBox1D self, BoundingBox1D arg2) -> bool"""
3677 return _IMP_algebra.BoundingBox1D___eq__(self, arg2)
3680 def __init__(self, *args):
3682 __init__(IMP::algebra::BoundingBoxD<(1)> self, unsigned int d) -> BoundingBox1D
3683 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D lb, Vector1D ub) -> BoundingBox1D
3684 __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D v) -> BoundingBox1D
3685 __init__(IMP::algebra::BoundingBoxD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & points) -> BoundingBox1D
3686 __init__(IMP::algebra::BoundingBoxD<(1)> self) -> BoundingBox1D
3688 this = _IMP_algebra.new_BoundingBox1D(*args)
3690 self.this.append(this)
3694 def __getitem__(self, index):
3695 """__getitem__(BoundingBox1D self, unsigned int index) -> Vector1D"""
3696 return _IMP_algebra.BoundingBox1D___getitem__(self, index)
3699 def __iadd__(self, *args):
3700 _IMP_algebra.BoundingBox1D___iadd__(self, *args)
3706 """__len__(BoundingBox1D self) -> unsigned int"""
3707 return _IMP_algebra.BoundingBox1D___len__(self)
3710 def __add__(self, *args):
3712 __add__(BoundingBox1D self, BoundingBox1D o) -> BoundingBox1D
3713 __add__(BoundingBox1D self, Vector1D o) -> BoundingBox1D
3714 __add__(BoundingBox1D self, double o) -> BoundingBox1D
3716 return _IMP_algebra.BoundingBox1D___add__(self, *args)
3718 __swig_destroy__ = _IMP_algebra.delete_BoundingBox1D
3719 __del__ =
lambda self:
None
3720 BoundingBox1D_swigregister = _IMP_algebra.BoundingBox1D_swigregister
3721 BoundingBox1D_swigregister(BoundingBox1D)
3724 """Proxy of C++ IMP::algebra::BoundingBoxD<(2)> class"""
3725 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3727 def get_dimension(self):
3728 """get_dimension(BoundingBox2D self) -> unsigned int"""
3729 return _IMP_algebra.BoundingBox2D_get_dimension(self)
3732 def get_corner(self, i):
3733 """get_corner(BoundingBox2D self, unsigned int i) -> Vector2D"""
3734 return _IMP_algebra.BoundingBox2D_get_corner(self, i)
3737 def get_contains(self, *args):
3739 get_contains(BoundingBox2D self, Vector2D o) -> bool
3740 get_contains(BoundingBox2D self, BoundingBox2D bb) -> bool
3742 return _IMP_algebra.BoundingBox2D_get_contains(self, *args)
3745 def show(self, *args):
3747 show(BoundingBox2D self, _ostream out)
3748 show(BoundingBox2D self)
3750 return _IMP_algebra.BoundingBox2D_show(self, *args)
3754 """__str__(BoundingBox2D self) -> std::string"""
3755 return _IMP_algebra.BoundingBox2D___str__(self)
3759 """__repr__(BoundingBox2D self) -> std::string"""
3760 return _IMP_algebra.BoundingBox2D___repr__(self)
3763 def __cmp__(self, arg2):
3764 """__cmp__(BoundingBox2D self, BoundingBox2D arg2) -> int"""
3765 return _IMP_algebra.BoundingBox2D___cmp__(self, arg2)
3768 def __eq__(self, arg2):
3769 """__eq__(BoundingBox2D self, BoundingBox2D arg2) -> bool"""
3770 return _IMP_algebra.BoundingBox2D___eq__(self, arg2)
3773 def __init__(self, *args):
3775 __init__(IMP::algebra::BoundingBoxD<(2)> self, unsigned int d) -> BoundingBox2D
3776 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D lb, Vector2D ub) -> BoundingBox2D
3777 __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D v) -> BoundingBox2D
3778 __init__(IMP::algebra::BoundingBoxD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & points) -> BoundingBox2D
3779 __init__(IMP::algebra::BoundingBoxD<(2)> self) -> BoundingBox2D
3781 this = _IMP_algebra.new_BoundingBox2D(*args)
3783 self.this.append(this)
3787 def __getitem__(self, index):
3788 """__getitem__(BoundingBox2D self, unsigned int index) -> Vector2D"""
3789 return _IMP_algebra.BoundingBox2D___getitem__(self, index)
3792 def __iadd__(self, *args):
3793 _IMP_algebra.BoundingBox2D___iadd__(self, *args)
3799 """__len__(BoundingBox2D self) -> unsigned int"""
3800 return _IMP_algebra.BoundingBox2D___len__(self)
3803 def __add__(self, *args):
3805 __add__(BoundingBox2D self, BoundingBox2D o) -> BoundingBox2D
3806 __add__(BoundingBox2D self, Vector2D o) -> BoundingBox2D
3807 __add__(BoundingBox2D self, double o) -> BoundingBox2D
3809 return _IMP_algebra.BoundingBox2D___add__(self, *args)
3811 __swig_destroy__ = _IMP_algebra.delete_BoundingBox2D
3812 __del__ =
lambda self:
None
3813 BoundingBox2D_swigregister = _IMP_algebra.BoundingBox2D_swigregister
3814 BoundingBox2D_swigregister(BoundingBox2D)
3817 """Proxy of C++ IMP::algebra::BoundingBoxD<(3)> class"""
3818 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3820 def get_dimension(self):
3821 """get_dimension(BoundingBox3D self) -> unsigned int"""
3822 return _IMP_algebra.BoundingBox3D_get_dimension(self)
3825 def get_corner(self, i):
3826 """get_corner(BoundingBox3D self, unsigned int i) -> Vector3D"""
3827 return _IMP_algebra.BoundingBox3D_get_corner(self, i)
3830 def get_contains(self, *args):
3832 get_contains(BoundingBox3D self, Vector3D o) -> bool
3833 get_contains(BoundingBox3D self, BoundingBox3D bb) -> bool
3835 return _IMP_algebra.BoundingBox3D_get_contains(self, *args)
3838 def show(self, *args):
3840 show(BoundingBox3D self, _ostream out)
3841 show(BoundingBox3D self)
3843 return _IMP_algebra.BoundingBox3D_show(self, *args)
3847 """__str__(BoundingBox3D self) -> std::string"""
3848 return _IMP_algebra.BoundingBox3D___str__(self)
3852 """__repr__(BoundingBox3D self) -> std::string"""
3853 return _IMP_algebra.BoundingBox3D___repr__(self)
3856 def __cmp__(self, arg2):
3857 """__cmp__(BoundingBox3D self, BoundingBox3D arg2) -> int"""
3858 return _IMP_algebra.BoundingBox3D___cmp__(self, arg2)
3861 def __eq__(self, arg2):
3862 """__eq__(BoundingBox3D self, BoundingBox3D arg2) -> bool"""
3863 return _IMP_algebra.BoundingBox3D___eq__(self, arg2)
3866 def __init__(self, *args):
3868 __init__(IMP::algebra::BoundingBoxD<(3)> self, unsigned int d) -> BoundingBox3D
3869 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D lb, Vector3D ub) -> BoundingBox3D
3870 __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D v) -> BoundingBox3D
3871 __init__(IMP::algebra::BoundingBoxD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & points) -> BoundingBox3D
3872 __init__(IMP::algebra::BoundingBoxD<(3)> self) -> BoundingBox3D
3874 this = _IMP_algebra.new_BoundingBox3D(*args)
3876 self.this.append(this)
3880 def __getitem__(self, index):
3881 """__getitem__(BoundingBox3D self, unsigned int index) -> Vector3D"""
3882 return _IMP_algebra.BoundingBox3D___getitem__(self, index)
3885 def __iadd__(self, *args):
3886 _IMP_algebra.BoundingBox3D___iadd__(self, *args)
3892 """__len__(BoundingBox3D self) -> unsigned int"""
3893 return _IMP_algebra.BoundingBox3D___len__(self)
3896 def __add__(self, *args):
3898 __add__(BoundingBox3D self, BoundingBox3D o) -> BoundingBox3D
3899 __add__(BoundingBox3D self, Vector3D o) -> BoundingBox3D
3900 __add__(BoundingBox3D self, double o) -> BoundingBox3D
3902 return _IMP_algebra.BoundingBox3D___add__(self, *args)
3904 __swig_destroy__ = _IMP_algebra.delete_BoundingBox3D
3905 __del__ =
lambda self:
None
3906 BoundingBox3D_swigregister = _IMP_algebra.BoundingBox3D_swigregister
3907 BoundingBox3D_swigregister(BoundingBox3D)
3910 """Proxy of C++ IMP::algebra::BoundingBoxD<(4)> class"""
3911 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3913 def get_dimension(self):
3914 """get_dimension(BoundingBox4D self) -> unsigned int"""
3915 return _IMP_algebra.BoundingBox4D_get_dimension(self)
3918 def get_corner(self, i):
3919 """get_corner(BoundingBox4D self, unsigned int i) -> Vector4D"""
3920 return _IMP_algebra.BoundingBox4D_get_corner(self, i)
3923 def get_contains(self, *args):
3925 get_contains(BoundingBox4D self, Vector4D o) -> bool
3926 get_contains(BoundingBox4D self, BoundingBox4D bb) -> bool
3928 return _IMP_algebra.BoundingBox4D_get_contains(self, *args)
3931 def show(self, *args):
3933 show(BoundingBox4D self, _ostream out)
3934 show(BoundingBox4D self)
3936 return _IMP_algebra.BoundingBox4D_show(self, *args)
3940 """__str__(BoundingBox4D self) -> std::string"""
3941 return _IMP_algebra.BoundingBox4D___str__(self)
3945 """__repr__(BoundingBox4D self) -> std::string"""
3946 return _IMP_algebra.BoundingBox4D___repr__(self)
3949 def __cmp__(self, arg2):
3950 """__cmp__(BoundingBox4D self, BoundingBox4D arg2) -> int"""
3951 return _IMP_algebra.BoundingBox4D___cmp__(self, arg2)
3954 def __eq__(self, arg2):
3955 """__eq__(BoundingBox4D self, BoundingBox4D arg2) -> bool"""
3956 return _IMP_algebra.BoundingBox4D___eq__(self, arg2)
3959 def __init__(self, *args):
3961 __init__(IMP::algebra::BoundingBoxD<(4)> self, unsigned int d) -> BoundingBox4D
3962 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D lb, Vector4D ub) -> BoundingBox4D
3963 __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D v) -> BoundingBox4D
3964 __init__(IMP::algebra::BoundingBoxD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & points) -> BoundingBox4D
3965 __init__(IMP::algebra::BoundingBoxD<(4)> self) -> BoundingBox4D
3967 this = _IMP_algebra.new_BoundingBox4D(*args)
3969 self.this.append(this)
3973 def __getitem__(self, index):
3974 """__getitem__(BoundingBox4D self, unsigned int index) -> Vector4D"""
3975 return _IMP_algebra.BoundingBox4D___getitem__(self, index)
3978 def __iadd__(self, *args):
3979 _IMP_algebra.BoundingBox4D___iadd__(self, *args)
3985 """__len__(BoundingBox4D self) -> unsigned int"""
3986 return _IMP_algebra.BoundingBox4D___len__(self)
3989 def __add__(self, *args):
3991 __add__(BoundingBox4D self, BoundingBox4D o) -> BoundingBox4D
3992 __add__(BoundingBox4D self, Vector4D o) -> BoundingBox4D
3993 __add__(BoundingBox4D self, double o) -> BoundingBox4D
3995 return _IMP_algebra.BoundingBox4D___add__(self, *args)
3997 __swig_destroy__ = _IMP_algebra.delete_BoundingBox4D
3998 __del__ =
lambda self:
None
3999 BoundingBox4D_swigregister = _IMP_algebra.BoundingBox4D_swigregister
4000 BoundingBox4D_swigregister(BoundingBox4D)
4003 """Proxy of C++ IMP::algebra::BoundingBoxD<(5)> class"""
4004 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4006 def get_dimension(self):
4007 """get_dimension(BoundingBox5D self) -> unsigned int"""
4008 return _IMP_algebra.BoundingBox5D_get_dimension(self)
4011 def get_corner(self, i):
4012 """get_corner(BoundingBox5D self, unsigned int i) -> Vector5D"""
4013 return _IMP_algebra.BoundingBox5D_get_corner(self, i)
4016 def get_contains(self, *args):
4018 get_contains(BoundingBox5D self, Vector5D o) -> bool
4019 get_contains(BoundingBox5D self, BoundingBox5D bb) -> bool
4021 return _IMP_algebra.BoundingBox5D_get_contains(self, *args)
4024 def show(self, *args):
4026 show(BoundingBox5D self, _ostream out)
4027 show(BoundingBox5D self)
4029 return _IMP_algebra.BoundingBox5D_show(self, *args)
4033 """__str__(BoundingBox5D self) -> std::string"""
4034 return _IMP_algebra.BoundingBox5D___str__(self)
4038 """__repr__(BoundingBox5D self) -> std::string"""
4039 return _IMP_algebra.BoundingBox5D___repr__(self)
4042 def __cmp__(self, arg2):
4043 """__cmp__(BoundingBox5D self, BoundingBox5D arg2) -> int"""
4044 return _IMP_algebra.BoundingBox5D___cmp__(self, arg2)
4047 def __eq__(self, arg2):
4048 """__eq__(BoundingBox5D self, BoundingBox5D arg2) -> bool"""
4049 return _IMP_algebra.BoundingBox5D___eq__(self, arg2)
4052 def __init__(self, *args):
4054 __init__(IMP::algebra::BoundingBoxD<(5)> self, unsigned int d) -> BoundingBox5D
4055 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D lb, Vector5D ub) -> BoundingBox5D
4056 __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D v) -> BoundingBox5D
4057 __init__(IMP::algebra::BoundingBoxD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & points) -> BoundingBox5D
4058 __init__(IMP::algebra::BoundingBoxD<(5)> self) -> BoundingBox5D
4060 this = _IMP_algebra.new_BoundingBox5D(*args)
4062 self.this.append(this)
4066 def __getitem__(self, index):
4067 """__getitem__(BoundingBox5D self, unsigned int index) -> Vector5D"""
4068 return _IMP_algebra.BoundingBox5D___getitem__(self, index)
4071 def __iadd__(self, *args):
4072 _IMP_algebra.BoundingBox5D___iadd__(self, *args)
4078 """__len__(BoundingBox5D self) -> unsigned int"""
4079 return _IMP_algebra.BoundingBox5D___len__(self)
4082 def __add__(self, *args):
4084 __add__(BoundingBox5D self, BoundingBox5D o) -> BoundingBox5D
4085 __add__(BoundingBox5D self, Vector5D o) -> BoundingBox5D
4086 __add__(BoundingBox5D self, double o) -> BoundingBox5D
4088 return _IMP_algebra.BoundingBox5D___add__(self, *args)
4090 __swig_destroy__ = _IMP_algebra.delete_BoundingBox5D
4091 __del__ =
lambda self:
None
4092 BoundingBox5D_swigregister = _IMP_algebra.BoundingBox5D_swigregister
4093 BoundingBox5D_swigregister(BoundingBox5D)
4096 """Proxy of C++ IMP::algebra::BoundingBoxD<(6)> class"""
4097 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4099 def get_dimension(self):
4100 """get_dimension(BoundingBox6D self) -> unsigned int"""
4101 return _IMP_algebra.BoundingBox6D_get_dimension(self)
4104 def get_corner(self, i):
4105 """get_corner(BoundingBox6D self, unsigned int i) -> Vector6D"""
4106 return _IMP_algebra.BoundingBox6D_get_corner(self, i)
4109 def get_contains(self, *args):
4111 get_contains(BoundingBox6D self, Vector6D o) -> bool
4112 get_contains(BoundingBox6D self, BoundingBox6D bb) -> bool
4114 return _IMP_algebra.BoundingBox6D_get_contains(self, *args)
4117 def show(self, *args):
4119 show(BoundingBox6D self, _ostream out)
4120 show(BoundingBox6D self)
4122 return _IMP_algebra.BoundingBox6D_show(self, *args)
4126 """__str__(BoundingBox6D self) -> std::string"""
4127 return _IMP_algebra.BoundingBox6D___str__(self)
4131 """__repr__(BoundingBox6D self) -> std::string"""
4132 return _IMP_algebra.BoundingBox6D___repr__(self)
4135 def __cmp__(self, arg2):
4136 """__cmp__(BoundingBox6D self, BoundingBox6D arg2) -> int"""
4137 return _IMP_algebra.BoundingBox6D___cmp__(self, arg2)
4140 def __eq__(self, arg2):
4141 """__eq__(BoundingBox6D self, BoundingBox6D arg2) -> bool"""
4142 return _IMP_algebra.BoundingBox6D___eq__(self, arg2)
4145 def __init__(self, *args):
4147 __init__(IMP::algebra::BoundingBoxD<(6)> self, unsigned int d) -> BoundingBox6D
4148 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D lb, Vector6D ub) -> BoundingBox6D
4149 __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D v) -> BoundingBox6D
4150 __init__(IMP::algebra::BoundingBoxD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & points) -> BoundingBox6D
4151 __init__(IMP::algebra::BoundingBoxD<(6)> self) -> BoundingBox6D
4153 this = _IMP_algebra.new_BoundingBox6D(*args)
4155 self.this.append(this)
4159 def __getitem__(self, index):
4160 """__getitem__(BoundingBox6D self, unsigned int index) -> Vector6D"""
4161 return _IMP_algebra.BoundingBox6D___getitem__(self, index)
4164 def __iadd__(self, *args):
4165 _IMP_algebra.BoundingBox6D___iadd__(self, *args)
4171 """__len__(BoundingBox6D self) -> unsigned int"""
4172 return _IMP_algebra.BoundingBox6D___len__(self)
4175 def __add__(self, *args):
4177 __add__(BoundingBox6D self, BoundingBox6D o) -> BoundingBox6D
4178 __add__(BoundingBox6D self, Vector6D o) -> BoundingBox6D
4179 __add__(BoundingBox6D self, double o) -> BoundingBox6D
4181 return _IMP_algebra.BoundingBox6D___add__(self, *args)
4183 __swig_destroy__ = _IMP_algebra.delete_BoundingBox6D
4184 __del__ =
lambda self:
None
4185 BoundingBox6D_swigregister = _IMP_algebra.BoundingBox6D_swigregister
4186 BoundingBox6D_swigregister(BoundingBox6D)
4189 """Proxy of C++ IMP::algebra::BoundingBoxD<(-1)> class"""
4190 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4192 def get_dimension(self):
4193 """get_dimension(BoundingBoxKD self) -> unsigned int"""
4194 return _IMP_algebra.BoundingBoxKD_get_dimension(self)
4197 def get_corner(self, i):
4198 """get_corner(BoundingBoxKD self, unsigned int i) -> VectorKD"""
4199 return _IMP_algebra.BoundingBoxKD_get_corner(self, i)
4202 def get_contains(self, *args):
4204 get_contains(BoundingBoxKD self, VectorKD o) -> bool
4205 get_contains(BoundingBoxKD self, BoundingBoxKD bb) -> bool
4207 return _IMP_algebra.BoundingBoxKD_get_contains(self, *args)
4210 def show(self, *args):
4212 show(BoundingBoxKD self, _ostream out)
4213 show(BoundingBoxKD self)
4215 return _IMP_algebra.BoundingBoxKD_show(self, *args)
4219 """__str__(BoundingBoxKD self) -> std::string"""
4220 return _IMP_algebra.BoundingBoxKD___str__(self)
4224 """__repr__(BoundingBoxKD self) -> std::string"""
4225 return _IMP_algebra.BoundingBoxKD___repr__(self)
4228 def __cmp__(self, arg2):
4229 """__cmp__(BoundingBoxKD self, BoundingBoxKD arg2) -> int"""
4230 return _IMP_algebra.BoundingBoxKD___cmp__(self, arg2)
4233 def __eq__(self, arg2):
4234 """__eq__(BoundingBoxKD self, BoundingBoxKD arg2) -> bool"""
4235 return _IMP_algebra.BoundingBoxKD___eq__(self, arg2)
4238 def __init__(self, *args):
4240 __init__(IMP::algebra::BoundingBoxD<(-1)> self, unsigned int d) -> BoundingBoxKD
4241 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD lb, VectorKD ub) -> BoundingBoxKD
4242 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD v) -> BoundingBoxKD
4243 __init__(IMP::algebra::BoundingBoxD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & points) -> BoundingBoxKD
4244 __init__(IMP::algebra::BoundingBoxD<(-1)> self) -> BoundingBoxKD
4246 this = _IMP_algebra.new_BoundingBoxKD(*args)
4248 self.this.append(this)
4252 def __getitem__(self, index):
4253 """__getitem__(BoundingBoxKD self, unsigned int index) -> VectorKD"""
4254 return _IMP_algebra.BoundingBoxKD___getitem__(self, index)
4257 def __iadd__(self, *args):
4258 _IMP_algebra.BoundingBoxKD___iadd__(self, *args)
4264 """__len__(BoundingBoxKD self) -> unsigned int"""
4265 return _IMP_algebra.BoundingBoxKD___len__(self)
4268 def __add__(self, *args):
4270 __add__(BoundingBoxKD self, BoundingBoxKD o) -> BoundingBoxKD
4271 __add__(BoundingBoxKD self, VectorKD o) -> BoundingBoxKD
4272 __add__(BoundingBoxKD self, double o) -> BoundingBoxKD
4274 return _IMP_algebra.BoundingBoxKD___add__(self, *args)
4276 __swig_destroy__ = _IMP_algebra.delete_BoundingBoxKD
4277 __del__ =
lambda self:
None
4278 BoundingBoxKD_swigregister = _IMP_algebra.BoundingBoxKD_swigregister
4279 BoundingBoxKD_swigregister(BoundingBoxKD)
4281 class Sphere1D(_GeometricPrimitive1D):
4282 """Proxy of C++ IMP::algebra::SphereD<(1)> class"""
4283 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4285 def __init__(self, *args):
4287 __init__(IMP::algebra::SphereD<(1)> self) -> Sphere1D
4288 __init__(IMP::algebra::SphereD<(1)> self, Vector1D center, double radius) -> Sphere1D
4290 this = _IMP_algebra.new_Sphere1D(*args)
4292 self.this.append(this)
4296 def get_radius(self):
4297 """get_radius(Sphere1D self) -> double"""
4298 return _IMP_algebra.Sphere1D_get_radius(self)
4301 def get_center(self):
4302 """get_center(Sphere1D self) -> Vector1D"""
4303 return _IMP_algebra.Sphere1D_get_center(self)
4306 def get_contains(self, *args):
4308 get_contains(Sphere1D self, Sphere1D o) -> bool
4309 get_contains(Sphere1D self, Vector1D p) -> bool
4311 return _IMP_algebra.Sphere1D_get_contains(self, *args)
4314 def show(self, *args):
4316 show(Sphere1D self, _ostream out)
4319 return _IMP_algebra.Sphere1D_show(self, *args)
4322 def get_dimension(self):
4323 """get_dimension(Sphere1D self) -> unsigned int"""
4324 return _IMP_algebra.Sphere1D_get_dimension(self)
4328 """__str__(Sphere1D self) -> std::string"""
4329 return _IMP_algebra.Sphere1D___str__(self)
4333 """__repr__(Sphere1D self) -> std::string"""
4334 return _IMP_algebra.Sphere1D___repr__(self)
4337 def __cmp__(self, arg2):
4338 """__cmp__(Sphere1D self, Sphere1D arg2) -> int"""
4339 return _IMP_algebra.Sphere1D___cmp__(self, arg2)
4342 def __eq__(self, arg2):
4343 """__eq__(Sphere1D self, Sphere1D arg2) -> bool"""
4344 return _IMP_algebra.Sphere1D___eq__(self, arg2)
4346 __swig_destroy__ = _IMP_algebra.delete_Sphere1D
4347 __del__ =
lambda self:
None
4348 Sphere1D_swigregister = _IMP_algebra.Sphere1D_swigregister
4349 Sphere1D_swigregister(Sphere1D)
4351 class Sphere2D(_GeometricPrimitive2D):
4352 """Proxy of C++ IMP::algebra::SphereD<(2)> class"""
4353 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4355 def __init__(self, *args):
4357 __init__(IMP::algebra::SphereD<(2)> self) -> Sphere2D
4358 __init__(IMP::algebra::SphereD<(2)> self, Vector2D center, double radius) -> Sphere2D
4360 this = _IMP_algebra.new_Sphere2D(*args)
4362 self.this.append(this)
4366 def get_radius(self):
4367 """get_radius(Sphere2D self) -> double"""
4368 return _IMP_algebra.Sphere2D_get_radius(self)
4371 def get_center(self):
4372 """get_center(Sphere2D self) -> Vector2D"""
4373 return _IMP_algebra.Sphere2D_get_center(self)
4376 def get_contains(self, *args):
4378 get_contains(Sphere2D self, Sphere2D o) -> bool
4379 get_contains(Sphere2D self, Vector2D p) -> bool
4381 return _IMP_algebra.Sphere2D_get_contains(self, *args)
4384 def show(self, *args):
4386 show(Sphere2D self, _ostream out)
4389 return _IMP_algebra.Sphere2D_show(self, *args)
4392 def get_dimension(self):
4393 """get_dimension(Sphere2D self) -> unsigned int"""
4394 return _IMP_algebra.Sphere2D_get_dimension(self)
4398 """__str__(Sphere2D self) -> std::string"""
4399 return _IMP_algebra.Sphere2D___str__(self)
4403 """__repr__(Sphere2D self) -> std::string"""
4404 return _IMP_algebra.Sphere2D___repr__(self)
4407 def __cmp__(self, arg2):
4408 """__cmp__(Sphere2D self, Sphere2D arg2) -> int"""
4409 return _IMP_algebra.Sphere2D___cmp__(self, arg2)
4412 def __eq__(self, arg2):
4413 """__eq__(Sphere2D self, Sphere2D arg2) -> bool"""
4414 return _IMP_algebra.Sphere2D___eq__(self, arg2)
4416 __swig_destroy__ = _IMP_algebra.delete_Sphere2D
4417 __del__ =
lambda self:
None
4418 Sphere2D_swigregister = _IMP_algebra.Sphere2D_swigregister
4419 Sphere2D_swigregister(Sphere2D)
4421 class Sphere3D(_GeometricPrimitive3D):
4422 """Proxy of C++ IMP::algebra::SphereD<(3)> class"""
4423 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4425 def __init__(self, *args):
4427 __init__(IMP::algebra::SphereD<(3)> self) -> Sphere3D
4428 __init__(IMP::algebra::SphereD<(3)> self, Vector3D center, double radius) -> Sphere3D
4430 this = _IMP_algebra.new_Sphere3D(*args)
4432 self.this.append(this)
4436 def get_radius(self):
4437 """get_radius(Sphere3D self) -> double"""
4438 return _IMP_algebra.Sphere3D_get_radius(self)
4441 def get_center(self):
4442 """get_center(Sphere3D self) -> Vector3D"""
4443 return _IMP_algebra.Sphere3D_get_center(self)
4446 def get_contains(self, *args):
4448 get_contains(Sphere3D self, Sphere3D o) -> bool
4449 get_contains(Sphere3D self, Vector3D p) -> bool
4451 return _IMP_algebra.Sphere3D_get_contains(self, *args)
4454 def show(self, *args):
4456 show(Sphere3D self, _ostream out)
4459 return _IMP_algebra.Sphere3D_show(self, *args)
4462 def get_dimension(self):
4463 """get_dimension(Sphere3D self) -> unsigned int"""
4464 return _IMP_algebra.Sphere3D_get_dimension(self)
4468 """__str__(Sphere3D self) -> std::string"""
4469 return _IMP_algebra.Sphere3D___str__(self)
4473 """__repr__(Sphere3D self) -> std::string"""
4474 return _IMP_algebra.Sphere3D___repr__(self)
4477 def __cmp__(self, arg2):
4478 """__cmp__(Sphere3D self, Sphere3D arg2) -> int"""
4479 return _IMP_algebra.Sphere3D___cmp__(self, arg2)
4482 def __eq__(self, arg2):
4483 """__eq__(Sphere3D self, Sphere3D arg2) -> bool"""
4484 return _IMP_algebra.Sphere3D___eq__(self, arg2)
4486 __swig_destroy__ = _IMP_algebra.delete_Sphere3D
4487 __del__ =
lambda self:
None
4488 Sphere3D_swigregister = _IMP_algebra.Sphere3D_swigregister
4489 Sphere3D_swigregister(Sphere3D)
4491 class Sphere4D(_GeometricPrimitive4D):
4492 """Proxy of C++ IMP::algebra::SphereD<(4)> class"""
4493 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4495 def __init__(self, *args):
4497 __init__(IMP::algebra::SphereD<(4)> self) -> Sphere4D
4498 __init__(IMP::algebra::SphereD<(4)> self, Vector4D center, double radius) -> Sphere4D
4500 this = _IMP_algebra.new_Sphere4D(*args)
4502 self.this.append(this)
4506 def get_radius(self):
4507 """get_radius(Sphere4D self) -> double"""
4508 return _IMP_algebra.Sphere4D_get_radius(self)
4511 def get_center(self):
4512 """get_center(Sphere4D self) -> Vector4D"""
4513 return _IMP_algebra.Sphere4D_get_center(self)
4516 def get_contains(self, *args):
4518 get_contains(Sphere4D self, Sphere4D o) -> bool
4519 get_contains(Sphere4D self, Vector4D p) -> bool
4521 return _IMP_algebra.Sphere4D_get_contains(self, *args)
4524 def show(self, *args):
4526 show(Sphere4D self, _ostream out)
4529 return _IMP_algebra.Sphere4D_show(self, *args)
4532 def get_dimension(self):
4533 """get_dimension(Sphere4D self) -> unsigned int"""
4534 return _IMP_algebra.Sphere4D_get_dimension(self)
4538 """__str__(Sphere4D self) -> std::string"""
4539 return _IMP_algebra.Sphere4D___str__(self)
4543 """__repr__(Sphere4D self) -> std::string"""
4544 return _IMP_algebra.Sphere4D___repr__(self)
4547 def __cmp__(self, arg2):
4548 """__cmp__(Sphere4D self, Sphere4D arg2) -> int"""
4549 return _IMP_algebra.Sphere4D___cmp__(self, arg2)
4552 def __eq__(self, arg2):
4553 """__eq__(Sphere4D self, Sphere4D arg2) -> bool"""
4554 return _IMP_algebra.Sphere4D___eq__(self, arg2)
4556 __swig_destroy__ = _IMP_algebra.delete_Sphere4D
4557 __del__ =
lambda self:
None
4558 Sphere4D_swigregister = _IMP_algebra.Sphere4D_swigregister
4559 Sphere4D_swigregister(Sphere4D)
4561 class Sphere5D(_GeometricPrimitive5D):
4562 """Proxy of C++ IMP::algebra::SphereD<(5)> class"""
4563 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4565 def __init__(self, *args):
4567 __init__(IMP::algebra::SphereD<(5)> self) -> Sphere5D
4568 __init__(IMP::algebra::SphereD<(5)> self, Vector5D center, double radius) -> Sphere5D
4570 this = _IMP_algebra.new_Sphere5D(*args)
4572 self.this.append(this)
4576 def get_radius(self):
4577 """get_radius(Sphere5D self) -> double"""
4578 return _IMP_algebra.Sphere5D_get_radius(self)
4581 def get_center(self):
4582 """get_center(Sphere5D self) -> Vector5D"""
4583 return _IMP_algebra.Sphere5D_get_center(self)
4586 def get_contains(self, *args):
4588 get_contains(Sphere5D self, Sphere5D o) -> bool
4589 get_contains(Sphere5D self, Vector5D p) -> bool
4591 return _IMP_algebra.Sphere5D_get_contains(self, *args)
4594 def show(self, *args):
4596 show(Sphere5D self, _ostream out)
4599 return _IMP_algebra.Sphere5D_show(self, *args)
4602 def get_dimension(self):
4603 """get_dimension(Sphere5D self) -> unsigned int"""
4604 return _IMP_algebra.Sphere5D_get_dimension(self)
4608 """__str__(Sphere5D self) -> std::string"""
4609 return _IMP_algebra.Sphere5D___str__(self)
4613 """__repr__(Sphere5D self) -> std::string"""
4614 return _IMP_algebra.Sphere5D___repr__(self)
4617 def __cmp__(self, arg2):
4618 """__cmp__(Sphere5D self, Sphere5D arg2) -> int"""
4619 return _IMP_algebra.Sphere5D___cmp__(self, arg2)
4622 def __eq__(self, arg2):
4623 """__eq__(Sphere5D self, Sphere5D arg2) -> bool"""
4624 return _IMP_algebra.Sphere5D___eq__(self, arg2)
4626 __swig_destroy__ = _IMP_algebra.delete_Sphere5D
4627 __del__ =
lambda self:
None
4628 Sphere5D_swigregister = _IMP_algebra.Sphere5D_swigregister
4629 Sphere5D_swigregister(Sphere5D)
4631 class Sphere6D(_GeometricPrimitive6D):
4632 """Proxy of C++ IMP::algebra::SphereD<(6)> class"""
4633 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4635 def __init__(self, *args):
4637 __init__(IMP::algebra::SphereD<(6)> self) -> Sphere6D
4638 __init__(IMP::algebra::SphereD<(6)> self, Vector6D center, double radius) -> Sphere6D
4640 this = _IMP_algebra.new_Sphere6D(*args)
4642 self.this.append(this)
4646 def get_radius(self):
4647 """get_radius(Sphere6D self) -> double"""
4648 return _IMP_algebra.Sphere6D_get_radius(self)
4651 def get_center(self):
4652 """get_center(Sphere6D self) -> Vector6D"""
4653 return _IMP_algebra.Sphere6D_get_center(self)
4656 def get_contains(self, *args):
4658 get_contains(Sphere6D self, Sphere6D o) -> bool
4659 get_contains(Sphere6D self, Vector6D p) -> bool
4661 return _IMP_algebra.Sphere6D_get_contains(self, *args)
4664 def show(self, *args):
4666 show(Sphere6D self, _ostream out)
4669 return _IMP_algebra.Sphere6D_show(self, *args)
4672 def get_dimension(self):
4673 """get_dimension(Sphere6D self) -> unsigned int"""
4674 return _IMP_algebra.Sphere6D_get_dimension(self)
4678 """__str__(Sphere6D self) -> std::string"""
4679 return _IMP_algebra.Sphere6D___str__(self)
4683 """__repr__(Sphere6D self) -> std::string"""
4684 return _IMP_algebra.Sphere6D___repr__(self)
4687 def __cmp__(self, arg2):
4688 """__cmp__(Sphere6D self, Sphere6D arg2) -> int"""
4689 return _IMP_algebra.Sphere6D___cmp__(self, arg2)
4692 def __eq__(self, arg2):
4693 """__eq__(Sphere6D self, Sphere6D arg2) -> bool"""
4694 return _IMP_algebra.Sphere6D___eq__(self, arg2)
4696 __swig_destroy__ = _IMP_algebra.delete_Sphere6D
4697 __del__ =
lambda self:
None
4698 Sphere6D_swigregister = _IMP_algebra.Sphere6D_swigregister
4699 Sphere6D_swigregister(Sphere6D)
4701 class SphereKD(_GeometricPrimitiveKD):
4702 """Proxy of C++ IMP::algebra::SphereD<(-1)> class"""
4703 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4705 def __init__(self, *args):
4707 __init__(IMP::algebra::SphereD<(-1)> self) -> SphereKD
4708 __init__(IMP::algebra::SphereD<(-1)> self, VectorKD center, double radius) -> SphereKD
4710 this = _IMP_algebra.new_SphereKD(*args)
4712 self.this.append(this)
4716 def get_radius(self):
4717 """get_radius(SphereKD self) -> double"""
4718 return _IMP_algebra.SphereKD_get_radius(self)
4721 def get_center(self):
4722 """get_center(SphereKD self) -> VectorKD"""
4723 return _IMP_algebra.SphereKD_get_center(self)
4726 def get_contains(self, *args):
4728 get_contains(SphereKD self, SphereKD o) -> bool
4729 get_contains(SphereKD self, VectorKD p) -> bool
4731 return _IMP_algebra.SphereKD_get_contains(self, *args)
4734 def show(self, *args):
4736 show(SphereKD self, _ostream out)
4739 return _IMP_algebra.SphereKD_show(self, *args)
4742 def get_dimension(self):
4743 """get_dimension(SphereKD self) -> unsigned int"""
4744 return _IMP_algebra.SphereKD_get_dimension(self)
4748 """__str__(SphereKD self) -> std::string"""
4749 return _IMP_algebra.SphereKD___str__(self)
4753 """__repr__(SphereKD self) -> std::string"""
4754 return _IMP_algebra.SphereKD___repr__(self)
4757 def __cmp__(self, arg2):
4758 """__cmp__(SphereKD self, SphereKD arg2) -> int"""
4759 return _IMP_algebra.SphereKD___cmp__(self, arg2)
4762 def __eq__(self, arg2):
4763 """__eq__(SphereKD self, SphereKD arg2) -> bool"""
4764 return _IMP_algebra.SphereKD___eq__(self, arg2)
4766 __swig_destroy__ = _IMP_algebra.delete_SphereKD
4767 __del__ =
lambda self:
None
4768 SphereKD_swigregister = _IMP_algebra.SphereKD_swigregister
4769 SphereKD_swigregister(SphereKD)
4771 class UnitSimplex1D(_UnitSimplexBase1D):
4772 """Proxy of C++ IMP::algebra::UnitSimplexD<(1)> class"""
4773 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4776 """__init__(IMP::algebra::UnitSimplexD<(1)> self) -> UnitSimplex1D"""
4777 this = _IMP_algebra.new_UnitSimplex1D()
4779 self.this.append(this)
4783 def show(self, *args):
4785 show(UnitSimplex1D self, _ostream out)
4786 show(UnitSimplex1D self)
4788 return _IMP_algebra.UnitSimplex1D_show(self, *args)
4792 """__str__(UnitSimplex1D self) -> std::string"""
4793 return _IMP_algebra.UnitSimplex1D___str__(self)
4797 """__repr__(UnitSimplex1D self) -> std::string"""
4798 return _IMP_algebra.UnitSimplex1D___repr__(self)
4801 def __cmp__(self, arg2):
4802 """__cmp__(UnitSimplex1D self, UnitSimplex1D arg2) -> int"""
4803 return _IMP_algebra.UnitSimplex1D___cmp__(self, arg2)
4806 def __eq__(self, arg2):
4807 """__eq__(UnitSimplex1D self, UnitSimplex1D arg2) -> bool"""
4808 return _IMP_algebra.UnitSimplex1D___eq__(self, arg2)
4810 __swig_destroy__ = _IMP_algebra.delete_UnitSimplex1D
4811 __del__ =
lambda self:
None
4812 UnitSimplex1D_swigregister = _IMP_algebra.UnitSimplex1D_swigregister
4813 UnitSimplex1D_swigregister(UnitSimplex1D)
4815 class UnitSimplex2D(_UnitSimplexBase2D):
4816 """Proxy of C++ IMP::algebra::UnitSimplexD<(2)> class"""
4817 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4820 """__init__(IMP::algebra::UnitSimplexD<(2)> self) -> UnitSimplex2D"""
4821 this = _IMP_algebra.new_UnitSimplex2D()
4823 self.this.append(this)
4827 def show(self, *args):
4829 show(UnitSimplex2D self, _ostream out)
4830 show(UnitSimplex2D self)
4832 return _IMP_algebra.UnitSimplex2D_show(self, *args)
4836 """__str__(UnitSimplex2D self) -> std::string"""
4837 return _IMP_algebra.UnitSimplex2D___str__(self)
4841 """__repr__(UnitSimplex2D self) -> std::string"""
4842 return _IMP_algebra.UnitSimplex2D___repr__(self)
4845 def __cmp__(self, arg2):
4846 """__cmp__(UnitSimplex2D self, UnitSimplex2D arg2) -> int"""
4847 return _IMP_algebra.UnitSimplex2D___cmp__(self, arg2)
4850 def __eq__(self, arg2):
4851 """__eq__(UnitSimplex2D self, UnitSimplex2D arg2) -> bool"""
4852 return _IMP_algebra.UnitSimplex2D___eq__(self, arg2)
4854 __swig_destroy__ = _IMP_algebra.delete_UnitSimplex2D
4855 __del__ =
lambda self:
None
4856 UnitSimplex2D_swigregister = _IMP_algebra.UnitSimplex2D_swigregister
4857 UnitSimplex2D_swigregister(UnitSimplex2D)
4859 class UnitSimplex3D(_UnitSimplexBase3D):
4860 """Proxy of C++ IMP::algebra::UnitSimplexD<(3)> class"""
4861 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4864 """__init__(IMP::algebra::UnitSimplexD<(3)> self) -> UnitSimplex3D"""
4865 this = _IMP_algebra.new_UnitSimplex3D()
4867 self.this.append(this)
4871 def show(self, *args):
4873 show(UnitSimplex3D self, _ostream out)
4874 show(UnitSimplex3D self)
4876 return _IMP_algebra.UnitSimplex3D_show(self, *args)
4880 """__str__(UnitSimplex3D self) -> std::string"""
4881 return _IMP_algebra.UnitSimplex3D___str__(self)
4885 """__repr__(UnitSimplex3D self) -> std::string"""
4886 return _IMP_algebra.UnitSimplex3D___repr__(self)
4889 def __cmp__(self, arg2):
4890 """__cmp__(UnitSimplex3D self, UnitSimplex3D arg2) -> int"""
4891 return _IMP_algebra.UnitSimplex3D___cmp__(self, arg2)
4894 def __eq__(self, arg2):
4895 """__eq__(UnitSimplex3D self, UnitSimplex3D arg2) -> bool"""
4896 return _IMP_algebra.UnitSimplex3D___eq__(self, arg2)
4898 __swig_destroy__ = _IMP_algebra.delete_UnitSimplex3D
4899 __del__ =
lambda self:
None
4900 UnitSimplex3D_swigregister = _IMP_algebra.UnitSimplex3D_swigregister
4901 UnitSimplex3D_swigregister(UnitSimplex3D)
4903 class UnitSimplex4D(_UnitSimplexBase4D):
4904 """Proxy of C++ IMP::algebra::UnitSimplexD<(4)> class"""
4905 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4908 """__init__(IMP::algebra::UnitSimplexD<(4)> self) -> UnitSimplex4D"""
4909 this = _IMP_algebra.new_UnitSimplex4D()
4911 self.this.append(this)
4915 def show(self, *args):
4917 show(UnitSimplex4D self, _ostream out)
4918 show(UnitSimplex4D self)
4920 return _IMP_algebra.UnitSimplex4D_show(self, *args)
4924 """__str__(UnitSimplex4D self) -> std::string"""
4925 return _IMP_algebra.UnitSimplex4D___str__(self)
4929 """__repr__(UnitSimplex4D self) -> std::string"""
4930 return _IMP_algebra.UnitSimplex4D___repr__(self)
4933 def __cmp__(self, arg2):
4934 """__cmp__(UnitSimplex4D self, UnitSimplex4D arg2) -> int"""
4935 return _IMP_algebra.UnitSimplex4D___cmp__(self, arg2)
4938 def __eq__(self, arg2):
4939 """__eq__(UnitSimplex4D self, UnitSimplex4D arg2) -> bool"""
4940 return _IMP_algebra.UnitSimplex4D___eq__(self, arg2)
4942 __swig_destroy__ = _IMP_algebra.delete_UnitSimplex4D
4943 __del__ =
lambda self:
None
4944 UnitSimplex4D_swigregister = _IMP_algebra.UnitSimplex4D_swigregister
4945 UnitSimplex4D_swigregister(UnitSimplex4D)
4947 class UnitSimplex5D(_UnitSimplexBase5D):
4948 """Proxy of C++ IMP::algebra::UnitSimplexD<(5)> class"""
4949 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4952 """__init__(IMP::algebra::UnitSimplexD<(5)> self) -> UnitSimplex5D"""
4953 this = _IMP_algebra.new_UnitSimplex5D()
4955 self.this.append(this)
4959 def show(self, *args):
4961 show(UnitSimplex5D self, _ostream out)
4962 show(UnitSimplex5D self)
4964 return _IMP_algebra.UnitSimplex5D_show(self, *args)
4968 """__str__(UnitSimplex5D self) -> std::string"""
4969 return _IMP_algebra.UnitSimplex5D___str__(self)
4973 """__repr__(UnitSimplex5D self) -> std::string"""
4974 return _IMP_algebra.UnitSimplex5D___repr__(self)
4977 def __cmp__(self, arg2):
4978 """__cmp__(UnitSimplex5D self, UnitSimplex5D arg2) -> int"""
4979 return _IMP_algebra.UnitSimplex5D___cmp__(self, arg2)
4982 def __eq__(self, arg2):
4983 """__eq__(UnitSimplex5D self, UnitSimplex5D arg2) -> bool"""
4984 return _IMP_algebra.UnitSimplex5D___eq__(self, arg2)
4986 __swig_destroy__ = _IMP_algebra.delete_UnitSimplex5D
4987 __del__ =
lambda self:
None
4988 UnitSimplex5D_swigregister = _IMP_algebra.UnitSimplex5D_swigregister
4989 UnitSimplex5D_swigregister(UnitSimplex5D)
4991 class UnitSimplex6D(_UnitSimplexBase6D):
4992 """Proxy of C++ IMP::algebra::UnitSimplexD<(6)> class"""
4993 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4996 """__init__(IMP::algebra::UnitSimplexD<(6)> self) -> UnitSimplex6D"""
4997 this = _IMP_algebra.new_UnitSimplex6D()
4999 self.this.append(this)
5003 def show(self, *args):
5005 show(UnitSimplex6D self, _ostream out)
5006 show(UnitSimplex6D self)
5008 return _IMP_algebra.UnitSimplex6D_show(self, *args)
5012 """__str__(UnitSimplex6D self) -> std::string"""
5013 return _IMP_algebra.UnitSimplex6D___str__(self)
5017 """__repr__(UnitSimplex6D self) -> std::string"""
5018 return _IMP_algebra.UnitSimplex6D___repr__(self)
5021 def __cmp__(self, arg2):
5022 """__cmp__(UnitSimplex6D self, UnitSimplex6D arg2) -> int"""
5023 return _IMP_algebra.UnitSimplex6D___cmp__(self, arg2)
5026 def __eq__(self, arg2):
5027 """__eq__(UnitSimplex6D self, UnitSimplex6D arg2) -> bool"""
5028 return _IMP_algebra.UnitSimplex6D___eq__(self, arg2)
5030 __swig_destroy__ = _IMP_algebra.delete_UnitSimplex6D
5031 __del__ =
lambda self:
None
5032 UnitSimplex6D_swigregister = _IMP_algebra.UnitSimplex6D_swigregister
5033 UnitSimplex6D_swigregister(UnitSimplex6D)
5035 class UnitSimplexKD(_UnitSimplexBaseKD):
5036 """Proxy of C++ IMP::algebra::UnitSimplexD<(-1)> class"""
5037 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5038 __repr__ = _swig_repr
5040 def __init__(self, d=1):
5042 __init__(IMP::algebra::UnitSimplexD<(-1)> self, int d=1) -> UnitSimplexKD
5043 __init__(IMP::algebra::UnitSimplexD<(-1)> self) -> UnitSimplexKD
5045 this = _IMP_algebra.new_UnitSimplexKD(d)
5047 self.this.append(this)
5051 def show(self, *args):
5053 show(UnitSimplexKD self, _ostream out)
5054 show(UnitSimplexKD self)
5056 return _IMP_algebra.UnitSimplexKD_show(self, *args)
5058 __swig_destroy__ = _IMP_algebra.delete_UnitSimplexKD
5059 __del__ =
lambda self:
None
5060 UnitSimplexKD_swigregister = _IMP_algebra.UnitSimplexKD_swigregister
5061 UnitSimplexKD_swigregister(UnitSimplexKD)
5063 class ReferenceFrame3D(object):
5064 """Proxy of C++ IMP::algebra::ReferenceFrame3D class"""
5065 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5067 def __init__(self, *args):
5069 __init__(IMP::algebra::ReferenceFrame3D self) -> ReferenceFrame3D
5070 __init__(IMP::algebra::ReferenceFrame3D self, Transformation3D tr) -> ReferenceFrame3D
5072 this = _IMP_algebra.new_ReferenceFrame3D(*args)
5074 self.this.append(this)
5077 __swig_destroy__ = _IMP_algebra.delete_ReferenceFrame3D
5078 __del__ =
lambda self:
None
5080 def get_transformation_to(self):
5081 """get_transformation_to(ReferenceFrame3D self) -> Transformation3D"""
5082 return _IMP_algebra.ReferenceFrame3D_get_transformation_to(self)
5085 def get_transformation_from(self):
5086 """get_transformation_from(ReferenceFrame3D self) -> Transformation3D"""
5087 return _IMP_algebra.ReferenceFrame3D_get_transformation_from(self)
5090 def get_global_coordinates(self, v):
5091 """get_global_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
5092 return _IMP_algebra.ReferenceFrame3D_get_global_coordinates(self, v)
5095 def get_local_coordinates(self, v):
5096 """get_local_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
5097 return _IMP_algebra.ReferenceFrame3D_get_local_coordinates(self, v)
5100 def get_global_reference_frame(self, v):
5101 """get_global_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
5102 return _IMP_algebra.ReferenceFrame3D_get_global_reference_frame(self, v)
5105 def get_local_reference_frame(self, v):
5106 """get_local_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
5107 return _IMP_algebra.ReferenceFrame3D_get_local_reference_frame(self, v)
5110 def show(self, *args):
5112 show(ReferenceFrame3D self, _ostream out)
5113 show(ReferenceFrame3D self)
5115 return _IMP_algebra.ReferenceFrame3D_show(self, *args)
5119 """__str__(ReferenceFrame3D self) -> std::string"""
5120 return _IMP_algebra.ReferenceFrame3D___str__(self)
5124 """__repr__(ReferenceFrame3D self) -> std::string"""
5125 return _IMP_algebra.ReferenceFrame3D___repr__(self)
5127 ReferenceFrame3D_swigregister = _IMP_algebra.ReferenceFrame3D_swigregister
5128 ReferenceFrame3D_swigregister(ReferenceFrame3D)
5131 def get_transformed(*args):
5133 get_transformed(BoundingBox3D bb, Transformation3D tr) -> BoundingBox3D
5134 get_transformed(Line3D l, Transformation3D tr) -> Line3D
5135 get_transformed(ReferenceFrame3D rf, Transformation3D tr) -> ReferenceFrame3D
5137 return _IMP_algebra.get_transformed(*args)
5139 def get_transformation_from_first_to_second(a, b):
5140 """get_transformation_from_first_to_second(ReferenceFrame3D a, ReferenceFrame3D b) -> Transformation3D"""
5141 return _IMP_algebra.get_transformation_from_first_to_second(a, b)
5142 class SphericalVector3D(_GeometricPrimitive3D):
5143 """Proxy of C++ IMP::algebra::SphericalVector3D class"""
5144 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5146 def __init__(self, *args):
5148 __init__(IMP::algebra::SphericalVector3D self) -> SphericalVector3D
5149 __init__(IMP::algebra::SphericalVector3D self, Vector3D v) -> SphericalVector3D
5150 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi, bool apply_check=True) -> SphericalVector3D
5151 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi) -> SphericalVector3D
5153 this = _IMP_algebra.new_SphericalVector3D(*args)
5155 self.this.append(this)
5159 def get_cartesian_coordinates(self):
5160 """get_cartesian_coordinates(SphericalVector3D self) -> Vector3D"""
5161 return _IMP_algebra.SphericalVector3D_get_cartesian_coordinates(self)
5164 def show(self, *args):
5166 show(SphericalVector3D self, _ostream out)
5167 show(SphericalVector3D self)
5169 return _IMP_algebra.SphericalVector3D_show(self, *args)
5173 """__str__(SphericalVector3D self) -> std::string"""
5174 return _IMP_algebra.SphericalVector3D___str__(self)
5178 """__repr__(SphericalVector3D self) -> std::string"""
5179 return _IMP_algebra.SphericalVector3D___repr__(self)
5182 def __getitem__(self, index):
5183 """__getitem__(SphericalVector3D self, unsigned int index) -> double"""
5184 return _IMP_algebra.SphericalVector3D___getitem__(self, index)
5187 def __setitem__(self, index, val):
5188 """__setitem__(SphericalVector3D self, unsigned int index, double val)"""
5189 return _IMP_algebra.SphericalVector3D___setitem__(self, index, val)
5191 __swig_destroy__ = _IMP_algebra.delete_SphericalVector3D
5192 __del__ =
lambda self:
None
5193 SphericalVector3D_swigregister = _IMP_algebra.SphericalVector3D_swigregister
5194 SphericalVector3D_swigregister(SphericalVector3D)
5198 """get_alignments_from_first_to_second(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2) -> IMP::algebra::Transformation3Ds"""
5199 return _IMP_algebra.get_alignments_from_first_to_second(pca1, pca2)
5200 class Line3D(_GeometricPrimitive3D):
5201 """Proxy of C++ IMP::algebra::Line3D class"""
5202 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5204 def __init__(self, *args):
5206 __init__(IMP::algebra::Line3D self) -> Line3D
5207 __init__(IMP::algebra::Line3D self, Vector3D direction, Vector3D point_on_line) -> Line3D
5208 __init__(IMP::algebra::Line3D self, Segment3D s) -> Line3D
5210 this = _IMP_algebra.new_Line3D(*args)
5212 self.this.append(this)
5216 def get_direction(self):
5217 """get_direction(Line3D self) -> Vector3D"""
5218 return _IMP_algebra.Line3D_get_direction(self)
5221 def get_point_on_line(self):
5222 """get_point_on_line(Line3D self) -> Vector3D"""
5223 return _IMP_algebra.Line3D_get_point_on_line(self)
5226 def get_moment(self, *args):
5228 get_moment(Line3D self) -> Vector3D
5229 get_moment(Line3D self, Vector3D v) -> Vector3D
5231 return _IMP_algebra.Line3D_get_moment(self, *args)
5234 def get_reciprocal_product(self, l):
5235 """get_reciprocal_product(Line3D self, Line3D l) -> double"""
5236 return _IMP_algebra.Line3D_get_reciprocal_product(self, l)
5239 def get_opposite(self):
5240 """get_opposite(Line3D self) -> Line3D"""
5241 return _IMP_algebra.Line3D_get_opposite(self)
5244 def get_segment_starting_at(self, v, d):
5245 """get_segment_starting_at(Line3D self, Vector3D v, double d) -> Segment3D"""
5246 return _IMP_algebra.Line3D_get_segment_starting_at(self, v, d)
5249 def show(self, *args):
5251 show(Line3D self, _ostream out)
5254 return _IMP_algebra.Line3D_show(self, *args)
5258 """__str__(Line3D self) -> std::string"""
5259 return _IMP_algebra.Line3D___str__(self)
5263 """__repr__(Line3D self) -> std::string"""
5264 return _IMP_algebra.Line3D___repr__(self)
5266 __swig_destroy__ = _IMP_algebra.delete_Line3D
5267 __del__ =
lambda self:
None
5268 Line3D_swigregister = _IMP_algebra.Line3D_swigregister
5269 Line3D_swigregister(Line3D)
5272 def get_line_3d_geometry(g):
5273 """get_line_3d_geometry(Line3D g) -> Line3D"""
5274 return _IMP_algebra.get_line_3d_geometry(g)
5277 """get_angle(Line3D a, Line3D b) -> double"""
5278 return _IMP_algebra.get_angle(a, b)
5281 """get_segment_connecting_first_to_second(Line3D a, Line3D b) -> Segment3D"""
5282 return _IMP_algebra.get_segment_connecting_first_to_second(a, b)
5283 class Segment3D(_GeometricPrimitive3D):
5284 """Proxy of C++ IMP::algebra::Segment3D class"""
5285 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5287 def __init__(self, *args):
5289 __init__(IMP::algebra::Segment3D self) -> Segment3D
5290 __init__(IMP::algebra::Segment3D self, Vector3D start, Vector3D end) -> Segment3D
5292 this = _IMP_algebra.new_Segment3D(*args)
5294 self.this.append(this)
5298 def get_point(self, i):
5301 return _IMP_algebra.Segment3D_get_point(self, i)
5305 def get_middle_point(self):
5306 """get_middle_point(Segment3D self) -> Vector3D"""
5307 return _IMP_algebra.Segment3D_get_middle_point(self)
5310 def get_direction(self):
5311 """get_direction(Segment3D self) -> Vector3D"""
5312 return _IMP_algebra.Segment3D_get_direction(self)
5315 def get_length(self):
5316 """get_length(Segment3D self) -> double"""
5317 return _IMP_algebra.Segment3D_get_length(self)
5320 def show(self, *args):
5322 show(Segment3D self, _ostream out)
5323 show(Segment3D self)
5325 return _IMP_algebra.Segment3D_show(self, *args)
5329 """__str__(Segment3D self) -> std::string"""
5330 return _IMP_algebra.Segment3D___str__(self)
5334 """__repr__(Segment3D self) -> std::string"""
5335 return _IMP_algebra.Segment3D___repr__(self)
5337 __swig_destroy__ = _IMP_algebra.delete_Segment3D
5338 __del__ =
lambda self:
None
5339 Segment3D_swigregister = _IMP_algebra.Segment3D_swigregister
5340 Segment3D_swigregister(Segment3D)
5343 def get_segment_3d_geometry(g):
5344 """get_segment_3d_geometry(Segment3D g) -> Segment3D"""
5345 return _IMP_algebra.get_segment_3d_geometry(g)
5348 """get_relative_projection_on_segment(Segment3D s, Vector3D p) -> double"""
5349 return _IMP_algebra.get_relative_projection_on_segment(s, p)
5350 class Triangle3D(_GeometricPrimitive3D):
5351 """Proxy of C++ IMP::algebra::Triangle3D class"""
5352 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5354 def __init__(self, *args):
5356 __init__(IMP::algebra::Triangle3D self) -> Triangle3D
5357 __init__(IMP::algebra::Triangle3D self, Vector3D p1, Vector3D p2, Vector3D p3) -> Triangle3D
5359 this = _IMP_algebra.new_Triangle3D(*args)
5361 self.this.append(this)
5365 def get_point(self, i):
5366 """get_point(Triangle3D self, unsigned int i) -> Vector3D"""
5367 return _IMP_algebra.Triangle3D_get_point(self, i)
5370 def show(self, *args):
5372 show(Triangle3D self, _ostream out)
5373 show(Triangle3D self)
5375 return _IMP_algebra.Triangle3D_show(self, *args)
5378 def get_edge_lengths(self):
5379 """get_edge_lengths(Triangle3D self) -> IMP::Floats"""
5380 return _IMP_algebra.Triangle3D_get_edge_lengths(self)
5384 """__str__(Triangle3D self) -> std::string"""
5385 return _IMP_algebra.Triangle3D___str__(self)
5389 """__repr__(Triangle3D self) -> std::string"""
5390 return _IMP_algebra.Triangle3D___repr__(self)
5392 __swig_destroy__ = _IMP_algebra.delete_Triangle3D
5393 __del__ =
lambda self:
None
5394 Triangle3D_swigregister = _IMP_algebra.Triangle3D_swigregister
5395 Triangle3D_swigregister(Triangle3D)
5399 """get_largest_triangle(IMP::algebra::Vector3Ds const & points) -> Triangle3D"""
5400 return _IMP_algebra.get_largest_triangle(points)
5403 """get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri) -> Transformation3D"""
5404 return _IMP_algebra.get_transformation_from_first_triangle_to_second(first_tri, second_tri)
5407 """get_are_colinear(Vector3D p1, Vector3D p2, Vector3D p3) -> bool"""
5408 return _IMP_algebra.get_are_colinear(p1, p2, p3)
5409 class LinearFit2D(_GeometricPrimitive2D):
5410 """Proxy of C++ IMP::algebra::LinearFit2D class"""
5411 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5413 def __init__(self, *args):
5415 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data, IMP::Floats const & error_bars) -> LinearFit2D
5416 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data) -> LinearFit2D
5418 this = _IMP_algebra.new_LinearFit2D(*args)
5420 self.this.append(this)
5424 def get_fit_error(self):
5425 """get_fit_error(LinearFit2D self) -> double"""
5426 return _IMP_algebra.LinearFit2D_get_fit_error(self)
5430 """get_a(LinearFit2D self) -> double"""
5431 return _IMP_algebra.LinearFit2D_get_a(self)
5435 """get_b(LinearFit2D self) -> double"""
5436 return _IMP_algebra.LinearFit2D_get_b(self)
5439 def show(self, *args):
5441 show(LinearFit2D self, _ostream out)
5442 show(LinearFit2D self)
5444 return _IMP_algebra.LinearFit2D_show(self, *args)
5448 """__str__(LinearFit2D self) -> std::string"""
5449 return _IMP_algebra.LinearFit2D___str__(self)
5453 """__repr__(LinearFit2D self) -> std::string"""
5454 return _IMP_algebra.LinearFit2D___repr__(self)
5456 __swig_destroy__ = _IMP_algebra.delete_LinearFit2D
5457 __del__ =
lambda self:
None
5458 LinearFit2D_swigregister = _IMP_algebra.LinearFit2D_swigregister
5459 LinearFit2D_swigregister(LinearFit2D)
5461 class ParabolicFit2D(_GeometricPrimitive2D):
5462 """Proxy of C++ IMP::algebra::ParabolicFit2D class"""
5463 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5465 def __init__(self, data):
5466 """__init__(IMP::algebra::ParabolicFit2D self, IMP::algebra::Vector2Ds const & data) -> ParabolicFit2D"""
5467 this = _IMP_algebra.new_ParabolicFit2D(data)
5469 self.this.append(this)
5473 def get_fit_error(self):
5474 """get_fit_error(ParabolicFit2D self) -> double"""
5475 return _IMP_algebra.ParabolicFit2D_get_fit_error(self)
5479 """get_a(ParabolicFit2D self) -> double"""
5480 return _IMP_algebra.ParabolicFit2D_get_a(self)
5484 """get_b(ParabolicFit2D self) -> double"""
5485 return _IMP_algebra.ParabolicFit2D_get_b(self)
5489 """get_c(ParabolicFit2D self) -> double"""
5490 return _IMP_algebra.ParabolicFit2D_get_c(self)
5493 def show(self, *args):
5495 show(ParabolicFit2D self, _ostream out)
5496 show(ParabolicFit2D self)
5498 return _IMP_algebra.ParabolicFit2D_show(self, *args)
5502 """__str__(ParabolicFit2D self) -> std::string"""
5503 return _IMP_algebra.ParabolicFit2D___str__(self)
5507 """__repr__(ParabolicFit2D self) -> std::string"""
5508 return _IMP_algebra.ParabolicFit2D___repr__(self)
5510 __swig_destroy__ = _IMP_algebra.delete_ParabolicFit2D
5511 __del__ =
lambda self:
None
5512 ParabolicFit2D_swigregister = _IMP_algebra.ParabolicFit2D_swigregister
5513 ParabolicFit2D_swigregister(ParabolicFit2D)
5515 class Plane3D(_GeometricPrimitive3D):
5516 """Proxy of C++ IMP::algebra::Plane3D class"""
5517 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5519 def __init__(self, *args):
5521 __init__(IMP::algebra::Plane3D self) -> Plane3D
5522 __init__(IMP::algebra::Plane3D self, Vector3D point_on_plane, Vector3D normal_to_plane) -> Plane3D
5523 __init__(IMP::algebra::Plane3D self, double distance_to_plane, Vector3D normal_to_plane) -> Plane3D
5525 this = _IMP_algebra.new_Plane3D(*args)
5527 self.this.append(this)
5531 def get_point_on_plane(self):
5532 """get_point_on_plane(Plane3D self) -> Vector3D"""
5533 return _IMP_algebra.Plane3D_get_point_on_plane(self)
5536 def get_normal(self):
5537 """get_normal(Plane3D self) -> Vector3D"""
5538 return _IMP_algebra.Plane3D_get_normal(self)
5542 """get_projected(Plane3D self, Vector3D p) -> Vector3D"""
5543 return _IMP_algebra.Plane3D_get_projected(self, p)
5546 def get_is_above(self, p):
5547 """get_is_above(Plane3D self, Vector3D p) -> bool"""
5548 return _IMP_algebra.Plane3D_get_is_above(self, p)
5551 def get_is_below(self, p):
5552 """get_is_below(Plane3D self, Vector3D p) -> bool"""
5553 return _IMP_algebra.Plane3D_get_is_below(self, p)
5557 """get_height(Plane3D self, Vector3D p) -> double"""
5558 return _IMP_algebra.Plane3D_get_height(self, p)
5561 def show(self, *args):
5563 show(Plane3D self, _ostream out)
5566 return _IMP_algebra.Plane3D_show(self, *args)
5569 def get_opposite(self):
5570 """get_opposite(Plane3D self) -> Plane3D"""
5571 return _IMP_algebra.Plane3D_get_opposite(self)
5574 def get_distance_from_origin(self):
5575 """get_distance_from_origin(Plane3D self) -> double"""
5576 return _IMP_algebra.Plane3D_get_distance_from_origin(self)
5580 """__str__(Plane3D self) -> std::string"""
5581 return _IMP_algebra.Plane3D___str__(self)
5585 """__repr__(Plane3D self) -> std::string"""
5586 return _IMP_algebra.Plane3D___repr__(self)
5588 __swig_destroy__ = _IMP_algebra.delete_Plane3D
5589 __del__ =
lambda self:
None
5590 Plane3D_swigregister = _IMP_algebra.Plane3D_swigregister
5591 Plane3D_swigregister(Plane3D)
5595 """get_reflected(Plane3D pln, Vector3D p) -> Vector3D"""
5596 return _IMP_algebra.get_reflected(pln, p)
5598 def get_plane_3d_geometry(g):
5599 """get_plane_3d_geometry(Plane3D g) -> Plane3D"""
5600 return _IMP_algebra.get_plane_3d_geometry(g)
5601 class Reflection3D(_GeometricPrimitive3D):
5602 """Proxy of C++ IMP::algebra::Reflection3D class"""
5603 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5605 def __init__(self, *args):
5607 __init__(IMP::algebra::Reflection3D self) -> Reflection3D
5608 __init__(IMP::algebra::Reflection3D self, Plane3D pl) -> Reflection3D
5610 this = _IMP_algebra.new_Reflection3D(*args)
5612 self.this.append(this)
5617 """get_reflected(Reflection3D self, Vector3D v) -> Vector3D"""
5618 return _IMP_algebra.Reflection3D_get_reflected(self, v)
5621 def show(self, *args):
5623 show(Reflection3D self, _ostream out)
5624 show(Reflection3D self)
5626 return _IMP_algebra.Reflection3D_show(self, *args)
5630 """__str__(Reflection3D self) -> std::string"""
5631 return _IMP_algebra.Reflection3D___str__(self)
5635 """__repr__(Reflection3D self) -> std::string"""
5636 return _IMP_algebra.Reflection3D___repr__(self)
5638 __swig_destroy__ = _IMP_algebra.delete_Reflection3D
5639 __del__ =
lambda self:
None
5640 Reflection3D_swigregister = _IMP_algebra.Reflection3D_swigregister
5641 Reflection3D_swigregister(Reflection3D)
5643 class Cylinder3D(_GeometricPrimitive3D):
5644 """Proxy of C++ IMP::algebra::Cylinder3D class"""
5645 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5647 def __init__(self, *args):
5649 __init__(IMP::algebra::Cylinder3D self) -> Cylinder3D
5650 __init__(IMP::algebra::Cylinder3D self, Segment3D s, double radius) -> Cylinder3D
5652 this = _IMP_algebra.new_Cylinder3D(*args)
5654 self.this.append(this)
5658 def get_radius(self):
5659 """get_radius(Cylinder3D self) -> double"""
5660 return _IMP_algebra.Cylinder3D_get_radius(self)
5664 """get_segment(Cylinder3D self) -> Segment3D"""
5665 return _IMP_algebra.Cylinder3D_get_segment(self)
5668 def get_surface_point_at(self, relative_height, angle):
5669 """get_surface_point_at(Cylinder3D self, double relative_height, double angle) -> Vector3D"""
5670 return _IMP_algebra.Cylinder3D_get_surface_point_at(self, relative_height, angle)
5673 def get_inner_point_at(self, relative_height, relative_radius, angle):
5674 """get_inner_point_at(Cylinder3D self, double relative_height, double relative_radius, double angle) -> Vector3D"""
5675 return _IMP_algebra.Cylinder3D_get_inner_point_at(self, relative_height, relative_radius, angle)
5678 def show(self, *args):
5680 show(Cylinder3D self, _ostream out)
5681 show(Cylinder3D self)
5683 return _IMP_algebra.Cylinder3D_show(self, *args)
5687 """__str__(Cylinder3D self) -> std::string"""
5688 return _IMP_algebra.Cylinder3D___str__(self)
5692 """__repr__(Cylinder3D self) -> std::string"""
5693 return _IMP_algebra.Cylinder3D___repr__(self)
5695 __swig_destroy__ = _IMP_algebra.delete_Cylinder3D
5696 __del__ =
lambda self:
None
5697 Cylinder3D_swigregister = _IMP_algebra.Cylinder3D_swigregister
5698 Cylinder3D_swigregister(Cylinder3D)
5701 def get_cylinder_3d_geometry(g):
5702 """get_cylinder_3d_geometry(Cylinder3D g) -> Cylinder3D"""
5703 return _IMP_algebra.get_cylinder_3d_geometry(g)
5704 class Ellipsoid3D(_GeometricPrimitive3D):
5705 """Proxy of C++ IMP::algebra::Ellipsoid3D class"""
5706 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5708 def __init__(self, *args):
5710 __init__(IMP::algebra::Ellipsoid3D self) -> Ellipsoid3D
5711 __init__(IMP::algebra::Ellipsoid3D self, ReferenceFrame3D rf, Vector3D radii) -> Ellipsoid3D
5712 __init__(IMP::algebra::Ellipsoid3D self, Vector3D center, double radius_x, double radius_y, double radius_z, Rotation3D rot) -> Ellipsoid3D
5714 this = _IMP_algebra.new_Ellipsoid3D(*args)
5716 self.this.append(this)
5720 def get_radii(self):
5721 """get_radii(Ellipsoid3D self) -> Vector3D"""
5722 return _IMP_algebra.Ellipsoid3D_get_radii(self)
5725 def get_reference_frame(self):
5726 """get_reference_frame(Ellipsoid3D self) -> ReferenceFrame3D"""
5727 return _IMP_algebra.Ellipsoid3D_get_reference_frame(self)
5730 def show(self, *args):
5732 show(Ellipsoid3D self, _ostream out)
5733 show(Ellipsoid3D self)
5735 return _IMP_algebra.Ellipsoid3D_show(self, *args)
5739 """__str__(Ellipsoid3D self) -> std::string"""
5740 return _IMP_algebra.Ellipsoid3D___str__(self)
5744 """__repr__(Ellipsoid3D self) -> std::string"""
5745 return _IMP_algebra.Ellipsoid3D___repr__(self)
5747 __swig_destroy__ = _IMP_algebra.delete_Ellipsoid3D
5748 __del__ =
lambda self:
None
5749 Ellipsoid3D_swigregister = _IMP_algebra.Ellipsoid3D_swigregister
5750 Ellipsoid3D_swigregister(Ellipsoid3D)
5753 def get_ellipsoid_3d_geometry(g):
5754 """get_ellipsoid_3d_geometry(Ellipsoid3D g) -> Ellipsoid3D"""
5755 return _IMP_algebra.get_ellipsoid_3d_geometry(g)
5756 class ConnollySurfacePoint(object):
5757 """Proxy of C++ IMP::algebra::ConnollySurfacePoint class"""
5758 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5760 def __init__(self, a0, a1, a2, sp, a, n):
5761 """__init__(IMP::algebra::ConnollySurfacePoint self, int a0, int a1, int a2, Vector3D sp, float a, Vector3D n) -> ConnollySurfacePoint"""
5762 this = _IMP_algebra.new_ConnollySurfacePoint(a0, a1, a2, sp, a, n)
5764 self.this.append(this)
5769 """get_atom(ConnollySurfacePoint self, unsigned int i) -> int"""
5770 return _IMP_algebra.ConnollySurfacePoint_get_atom(self, i)
5773 def get_surface_point(self):
5774 """get_surface_point(ConnollySurfacePoint self) -> Vector3D"""
5775 return _IMP_algebra.ConnollySurfacePoint_get_surface_point(self)
5779 """get_area(ConnollySurfacePoint self) -> double"""
5780 return _IMP_algebra.ConnollySurfacePoint_get_area(self)
5783 def get_normal(self):
5784 """get_normal(ConnollySurfacePoint self) -> Vector3D"""
5785 return _IMP_algebra.ConnollySurfacePoint_get_normal(self)
5788 def show(self, *args):
5790 show(ConnollySurfacePoint self, _ostream out)
5791 show(ConnollySurfacePoint self)
5793 return _IMP_algebra.ConnollySurfacePoint_show(self, *args)
5797 """__str__(ConnollySurfacePoint self) -> std::string"""
5798 return _IMP_algebra.ConnollySurfacePoint___str__(self)
5802 """__repr__(ConnollySurfacePoint self) -> std::string"""
5803 return _IMP_algebra.ConnollySurfacePoint___repr__(self)
5805 __swig_destroy__ = _IMP_algebra.delete_ConnollySurfacePoint
5806 __del__ =
lambda self:
None
5807 ConnollySurfacePoint_swigregister = _IMP_algebra.ConnollySurfacePoint_swigregister
5808 ConnollySurfacePoint_swigregister(ConnollySurfacePoint)
5812 """get_connolly_surface(IMP::algebra::Sphere3Ds const & spheres, double density, double probe_radius) -> IMP::algebra::ConnollySurfacePoints"""
5813 return _IMP_algebra.get_connolly_surface(spheres, density, probe_radius)
5814 class LogEmbedding3D(object):
5815 """Proxy of C++ IMP::algebra::LogEmbeddingD<(3)> class"""
5816 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5818 def __init__(self, *args):
5820 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D origin, Vector3D cell, Vector3D base) -> LogEmbedding3D
5821 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding3D
5822 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts) -> LogEmbedding3D
5823 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D arg2, Vector3D arg3) -> LogEmbedding3D
5824 __init__(IMP::algebra::LogEmbeddingD<(3)> self) -> LogEmbedding3D
5826 this = _IMP_algebra.new_LogEmbedding3D(*args)
5828 self.this.append(this)
5832 def set_origin(self, o):
5833 """set_origin(LogEmbedding3D self, Vector3D o)"""
5834 return _IMP_algebra.LogEmbedding3D_set_origin(self, o)
5837 def get_origin(self):
5838 """get_origin(LogEmbedding3D self) -> Vector3D"""
5839 return _IMP_algebra.LogEmbedding3D_get_origin(self)
5842 def get_dimension(self):
5843 """get_dimension(LogEmbedding3D self) -> unsigned int"""
5844 return _IMP_algebra.LogEmbedding3D_get_dimension(self)
5847 def set_unit_cell(self, *args):
5849 set_unit_cell(LogEmbedding3D self, Vector3D o, Vector3D base)
5850 set_unit_cell(LogEmbedding3D self, Vector3D o)
5852 return _IMP_algebra.LogEmbedding3D_set_unit_cell(self, *args)
5855 def get_unit_cell(self):
5856 """get_unit_cell(LogEmbedding3D self) -> Vector3D"""
5857 return _IMP_algebra.LogEmbedding3D_get_unit_cell(self)
5860 def get_extended_index(self, o):
5861 """get_extended_index(LogEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
5862 return _IMP_algebra.LogEmbedding3D_get_extended_index(self, o)
5866 """get_index(LogEmbedding3D self, Vector3D o) -> GridIndex3D"""
5867 return _IMP_algebra.LogEmbedding3D_get_index(self, o)
5870 def get_center(self, *args):
5872 get_center(LogEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
5873 get_center(LogEmbedding3D self, GridIndex3D ei) -> Vector3D
5875 return _IMP_algebra.LogEmbedding3D_get_center(self, *args)
5878 def get_bounding_box(self, *args):
5880 get_bounding_box(LogEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
5881 get_bounding_box(LogEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
5883 return _IMP_algebra.LogEmbedding3D_get_bounding_box(self, *args)
5886 def show(self, *args):
5888 show(LogEmbedding3D self, _ostream out)
5889 show(LogEmbedding3D self)
5891 return _IMP_algebra.LogEmbedding3D_show(self, *args)
5895 """__str__(LogEmbedding3D self) -> std::string"""
5896 return _IMP_algebra.LogEmbedding3D___str__(self)
5900 """__repr__(LogEmbedding3D self) -> std::string"""
5901 return _IMP_algebra.LogEmbedding3D___repr__(self)
5904 def __cmp__(self, arg2):
5905 """__cmp__(LogEmbedding3D self, LogEmbedding3D arg2) -> int"""
5906 return _IMP_algebra.LogEmbedding3D___cmp__(self, arg2)
5909 def __eq__(self, arg2):
5910 """__eq__(LogEmbedding3D self, LogEmbedding3D arg2) -> bool"""
5911 return _IMP_algebra.LogEmbedding3D___eq__(self, arg2)
5913 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding3D
5914 __del__ =
lambda self:
None
5915 LogEmbedding3D_swigregister = _IMP_algebra.LogEmbedding3D_swigregister
5916 LogEmbedding3D_swigregister(LogEmbedding3D)
5918 class LogEmbeddingKD(object):
5919 """Proxy of C++ IMP::algebra::LogEmbeddingD<(-1)> class"""
5920 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5922 def __init__(self, *args):
5924 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell, VectorKD base) -> LogEmbeddingKD
5925 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbeddingKD
5926 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts) -> LogEmbeddingKD
5927 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD arg2, VectorKD arg3) -> LogEmbeddingKD
5928 __init__(IMP::algebra::LogEmbeddingD<(-1)> self) -> LogEmbeddingKD
5930 this = _IMP_algebra.new_LogEmbeddingKD(*args)
5932 self.this.append(this)
5936 def set_origin(self, o):
5937 """set_origin(LogEmbeddingKD self, VectorKD o)"""
5938 return _IMP_algebra.LogEmbeddingKD_set_origin(self, o)
5941 def get_origin(self):
5942 """get_origin(LogEmbeddingKD self) -> VectorKD"""
5943 return _IMP_algebra.LogEmbeddingKD_get_origin(self)
5946 def get_dimension(self):
5947 """get_dimension(LogEmbeddingKD self) -> unsigned int"""
5948 return _IMP_algebra.LogEmbeddingKD_get_dimension(self)
5951 def set_unit_cell(self, *args):
5953 set_unit_cell(LogEmbeddingKD self, VectorKD o, VectorKD base)
5954 set_unit_cell(LogEmbeddingKD self, VectorKD o)
5956 return _IMP_algebra.LogEmbeddingKD_set_unit_cell(self, *args)
5959 def get_unit_cell(self):
5960 """get_unit_cell(LogEmbeddingKD self) -> VectorKD"""
5961 return _IMP_algebra.LogEmbeddingKD_get_unit_cell(self)
5964 def get_extended_index(self, o):
5965 """get_extended_index(LogEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
5966 return _IMP_algebra.LogEmbeddingKD_get_extended_index(self, o)
5970 """get_index(LogEmbeddingKD self, VectorKD o) -> GridIndexKD"""
5971 return _IMP_algebra.LogEmbeddingKD_get_index(self, o)
5974 def get_center(self, *args):
5976 get_center(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
5977 get_center(LogEmbeddingKD self, GridIndexKD ei) -> VectorKD
5979 return _IMP_algebra.LogEmbeddingKD_get_center(self, *args)
5982 def get_bounding_box(self, *args):
5984 get_bounding_box(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
5985 get_bounding_box(LogEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
5987 return _IMP_algebra.LogEmbeddingKD_get_bounding_box(self, *args)
5990 def show(self, *args):
5992 show(LogEmbeddingKD self, _ostream out)
5993 show(LogEmbeddingKD self)
5995 return _IMP_algebra.LogEmbeddingKD_show(self, *args)
5999 """__str__(LogEmbeddingKD self) -> std::string"""
6000 return _IMP_algebra.LogEmbeddingKD___str__(self)
6004 """__repr__(LogEmbeddingKD self) -> std::string"""
6005 return _IMP_algebra.LogEmbeddingKD___repr__(self)
6008 def __cmp__(self, arg2):
6009 """__cmp__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> int"""
6010 return _IMP_algebra.LogEmbeddingKD___cmp__(self, arg2)
6013 def __eq__(self, arg2):
6014 """__eq__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> bool"""
6015 return _IMP_algebra.LogEmbeddingKD___eq__(self, arg2)
6017 __swig_destroy__ = _IMP_algebra.delete_LogEmbeddingKD
6018 __del__ =
lambda self:
None
6019 LogEmbeddingKD_swigregister = _IMP_algebra.LogEmbeddingKD_swigregister
6020 LogEmbeddingKD_swigregister(LogEmbeddingKD)
6022 class DenseFloatLogGridKD(object):
6023 """Proxy of C++ IMP::algebra::DenseFloatLogGridKD 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, sz, le):
6027 """__init__(IMP::algebra::DenseFloatLogGridKD self, IMP::Ints const & sz, LogEmbeddingKD le) -> DenseFloatLogGridKD"""
6028 this = _IMP_algebra.new_DenseFloatLogGridKD(sz, le)
6030 self.this.append(this)
6034 def add_voxel(self, i, q):
6035 """add_voxel(DenseFloatLogGridKD self, ExtendedGridIndexKD i, float const & q) -> GridIndexKD"""
6036 return _IMP_algebra.DenseFloatLogGridKD_add_voxel(self, i, q)
6039 def __getitem__(self, *args):
6041 __getitem__(DenseFloatLogGridKD self, GridIndexKD i) -> float
6042 __getitem__(DenseFloatLogGridKD self, VectorKD i) -> float
6044 return _IMP_algebra.DenseFloatLogGridKD___getitem__(self, *args)
6047 def __setitem__(self, *args):
6049 __setitem__(DenseFloatLogGridKD self, GridIndexKD i, float const & q)
6050 __setitem__(DenseFloatLogGridKD self, VectorKD i, float const & q)
6052 return _IMP_algebra.DenseFloatLogGridKD___setitem__(self, *args)
6055 def get_bounding_box(self, *args):
6057 get_bounding_box(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
6058 get_bounding_box(DenseFloatLogGridKD self) -> BoundingBoxKD
6060 return _IMP_algebra.DenseFloatLogGridKD_get_bounding_box(self, *args)
6065 get_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6066 get_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6068 return _IMP_algebra.DenseFloatLogGridKD_get_indexes(self, *args)
6071 def get_all_indexes(self):
6072 """get_all_indexes(DenseFloatLogGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
6073 return _IMP_algebra.DenseFloatLogGridKD_get_all_indexes(self)
6076 def get_extended_indexes(self, *args):
6078 get_extended_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6079 get_extended_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6081 return _IMP_algebra.DenseFloatLogGridKD_get_extended_indexes(self, *args)
6084 def get_center(self, *args):
6086 get_center(DenseFloatLogGridKD self, ExtendedGridIndexKD ei) -> VectorKD
6087 get_center(DenseFloatLogGridKD self, GridIndexKD ei) -> VectorKD
6089 return _IMP_algebra.DenseFloatLogGridKD_get_center(self, *args)
6092 def get_extended_index(self, v):
6093 """get_extended_index(DenseFloatLogGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
6094 return _IMP_algebra.DenseFloatLogGridKD_get_extended_index(self, v)
6098 """get_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
6099 return _IMP_algebra.DenseFloatLogGridKD_get_index(self, v)
6102 def get_origin(self):
6103 """get_origin(DenseFloatLogGridKD self) -> VectorKD"""
6104 return _IMP_algebra.DenseFloatLogGridKD_get_origin(self)
6107 def get_dimension(self):
6108 """get_dimension(DenseFloatLogGridKD self) -> unsigned int"""
6109 return _IMP_algebra.DenseFloatLogGridKD_get_dimension(self)
6112 def get_unit_cell(self):
6113 """get_unit_cell(DenseFloatLogGridKD self) -> VectorKD"""
6114 return _IMP_algebra.DenseFloatLogGridKD_get_unit_cell(self)
6117 def get_has_index(self, v):
6118 """get_has_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> bool"""
6119 return _IMP_algebra.DenseFloatLogGridKD_get_has_index(self, v)
6123 """__str__(DenseFloatLogGridKD self) -> std::string"""
6124 return _IMP_algebra.DenseFloatLogGridKD___str__(self)
6128 """__repr__(DenseFloatLogGridKD self) -> std::string"""
6129 return _IMP_algebra.DenseFloatLogGridKD___repr__(self)
6132 def show(self, *args):
6134 show(DenseFloatLogGridKD self, _ostream out)
6135 show(DenseFloatLogGridKD self)
6137 return _IMP_algebra.DenseFloatLogGridKD_show(self, *args)
6139 __swig_destroy__ = _IMP_algebra.delete_DenseFloatLogGridKD
6140 __del__ =
lambda self:
None
6141 DenseFloatLogGridKD_swigregister = _IMP_algebra.DenseFloatLogGridKD_swigregister
6142 DenseFloatLogGridKD_swigregister(DenseFloatLogGridKD)
6144 class DenseIntLogGrid3D(object):
6145 """Proxy of C++ IMP::algebra::DenseIntLogGrid3D class"""
6146 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6148 def __init__(self, sz, le):
6149 """__init__(IMP::algebra::DenseIntLogGrid3D self, IMP::Ints const & sz, LogEmbedding3D le) -> DenseIntLogGrid3D"""
6150 this = _IMP_algebra.new_DenseIntLogGrid3D(sz, le)
6152 self.this.append(this)
6156 def add_voxel(self, i, q):
6157 """add_voxel(DenseIntLogGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
6158 return _IMP_algebra.DenseIntLogGrid3D_add_voxel(self, i, q)
6161 def __getitem__(self, *args):
6163 __getitem__(DenseIntLogGrid3D self, GridIndex3D i) -> int
6164 __getitem__(DenseIntLogGrid3D self, Vector3D i) -> int
6166 return _IMP_algebra.DenseIntLogGrid3D___getitem__(self, *args)
6169 def __setitem__(self, *args):
6171 __setitem__(DenseIntLogGrid3D self, GridIndex3D i, int const & q)
6172 __setitem__(DenseIntLogGrid3D self, Vector3D i, int const & q)
6174 return _IMP_algebra.DenseIntLogGrid3D___setitem__(self, *args)
6177 def get_bounding_box(self, *args):
6179 get_bounding_box(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
6180 get_bounding_box(DenseIntLogGrid3D self) -> BoundingBox3D
6182 return _IMP_algebra.DenseIntLogGrid3D_get_bounding_box(self, *args)
6187 get_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6188 get_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6190 return _IMP_algebra.DenseIntLogGrid3D_get_indexes(self, *args)
6193 def get_all_indexes(self):
6194 """get_all_indexes(DenseIntLogGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
6195 return _IMP_algebra.DenseIntLogGrid3D_get_all_indexes(self)
6198 def get_extended_indexes(self, *args):
6200 get_extended_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6201 get_extended_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6203 return _IMP_algebra.DenseIntLogGrid3D_get_extended_indexes(self, *args)
6206 def get_center(self, *args):
6208 get_center(DenseIntLogGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
6209 get_center(DenseIntLogGrid3D self, GridIndex3D ei) -> Vector3D
6211 return _IMP_algebra.DenseIntLogGrid3D_get_center(self, *args)
6214 def get_extended_index(self, v):
6215 """get_extended_index(DenseIntLogGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
6216 return _IMP_algebra.DenseIntLogGrid3D_get_extended_index(self, v)
6220 """get_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6221 return _IMP_algebra.DenseIntLogGrid3D_get_index(self, v)
6224 def get_origin(self):
6225 """get_origin(DenseIntLogGrid3D self) -> Vector3D"""
6226 return _IMP_algebra.DenseIntLogGrid3D_get_origin(self)
6229 def get_dimension(self):
6230 """get_dimension(DenseIntLogGrid3D self) -> unsigned int"""
6231 return _IMP_algebra.DenseIntLogGrid3D_get_dimension(self)
6234 def get_unit_cell(self):
6235 """get_unit_cell(DenseIntLogGrid3D self) -> Vector3D"""
6236 return _IMP_algebra.DenseIntLogGrid3D_get_unit_cell(self)
6239 def get_has_index(self, v):
6240 """get_has_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> bool"""
6241 return _IMP_algebra.DenseIntLogGrid3D_get_has_index(self, v)
6245 """__str__(DenseIntLogGrid3D self) -> std::string"""
6246 return _IMP_algebra.DenseIntLogGrid3D___str__(self)
6250 """__repr__(DenseIntLogGrid3D self) -> std::string"""
6251 return _IMP_algebra.DenseIntLogGrid3D___repr__(self)
6254 def show(self, *args):
6256 show(DenseIntLogGrid3D self, _ostream out)
6257 show(DenseIntLogGrid3D self)
6259 return _IMP_algebra.DenseIntLogGrid3D_show(self, *args)
6261 __swig_destroy__ = _IMP_algebra.delete_DenseIntLogGrid3D
6262 __del__ =
lambda self:
None
6263 DenseIntLogGrid3D_swigregister = _IMP_algebra.DenseIntLogGrid3D_swigregister
6264 DenseIntLogGrid3D_swigregister(DenseIntLogGrid3D)
6267 """Proxy of C++ IMP::algebra::DenseGrid3D<(double)> class"""
6268 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6270 def __init__(self, *args):
6272 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb, double arg4) -> DenseDoubleGrid3D
6273 __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb) -> DenseDoubleGrid3D
6274 __init__(IMP::algebra::DenseGrid3D<(double)> self) -> DenseDoubleGrid3D
6276 this = _IMP_algebra.new_DenseDoubleGrid3D(*args)
6278 self.this.append(this)
6282 def add_voxel(self, i, q):
6283 """add_voxel(DenseDoubleGrid3D self, ExtendedGridIndex3D i, double const & q) -> GridIndex3D"""
6284 return _IMP_algebra.DenseDoubleGrid3D_add_voxel(self, i, q)
6287 def __getitem__(self, *args):
6289 __getitem__(DenseDoubleGrid3D self, GridIndex3D i) -> double
6290 __getitem__(DenseDoubleGrid3D self, Vector3D i) -> double
6292 return _IMP_algebra.DenseDoubleGrid3D___getitem__(self, *args)
6295 def __setitem__(self, *args):
6297 __setitem__(DenseDoubleGrid3D self, GridIndex3D i, double const & q)
6298 __setitem__(DenseDoubleGrid3D self, Vector3D i, double const & q)
6300 return _IMP_algebra.DenseDoubleGrid3D___setitem__(self, *args)
6303 def get_bounding_box(self, *args):
6305 get_bounding_box(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
6306 get_bounding_box(DenseDoubleGrid3D self) -> BoundingBox3D
6308 return _IMP_algebra.DenseDoubleGrid3D_get_bounding_box(self, *args)
6313 get_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6314 get_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6316 return _IMP_algebra.DenseDoubleGrid3D_get_indexes(self, *args)
6319 def get_all_indexes(self):
6320 """get_all_indexes(DenseDoubleGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
6321 return _IMP_algebra.DenseDoubleGrid3D_get_all_indexes(self)
6324 def get_extended_indexes(self, *args):
6326 get_extended_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6327 get_extended_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6329 return _IMP_algebra.DenseDoubleGrid3D_get_extended_indexes(self, *args)
6332 def get_center(self, *args):
6334 get_center(DenseDoubleGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
6335 get_center(DenseDoubleGrid3D self, GridIndex3D ei) -> Vector3D
6337 return _IMP_algebra.DenseDoubleGrid3D_get_center(self, *args)
6340 def get_extended_index(self, v):
6341 """get_extended_index(DenseDoubleGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
6342 return _IMP_algebra.DenseDoubleGrid3D_get_extended_index(self, v)
6346 """get_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6347 return _IMP_algebra.DenseDoubleGrid3D_get_index(self, v)
6350 def get_origin(self):
6351 """get_origin(DenseDoubleGrid3D self) -> Vector3D"""
6352 return _IMP_algebra.DenseDoubleGrid3D_get_origin(self)
6355 def get_dimension(self):
6356 """get_dimension(DenseDoubleGrid3D self) -> unsigned int"""
6357 return _IMP_algebra.DenseDoubleGrid3D_get_dimension(self)
6360 def get_unit_cell(self):
6361 """get_unit_cell(DenseDoubleGrid3D self) -> Vector3D"""
6362 return _IMP_algebra.DenseDoubleGrid3D_get_unit_cell(self)
6365 def get_has_index(self, v):
6366 """get_has_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> bool"""
6367 return _IMP_algebra.DenseDoubleGrid3D_get_has_index(self, v)
6371 """__str__(DenseDoubleGrid3D self) -> std::string"""
6372 return _IMP_algebra.DenseDoubleGrid3D___str__(self)
6376 """__repr__(DenseDoubleGrid3D self) -> std::string"""
6377 return _IMP_algebra.DenseDoubleGrid3D___repr__(self)
6380 def show(self, *args):
6382 show(DenseDoubleGrid3D self, _ostream out)
6383 show(DenseDoubleGrid3D self)
6385 return _IMP_algebra.DenseDoubleGrid3D_show(self, *args)
6387 __swig_destroy__ = _IMP_algebra.delete_DenseDoubleGrid3D
6388 __del__ =
lambda self:
None
6389 DenseDoubleGrid3D_swigregister = _IMP_algebra.DenseDoubleGrid3D_swigregister
6390 DenseDoubleGrid3D_swigregister(DenseDoubleGrid3D)
6393 """Proxy of C++ IMP::algebra::DenseGrid3D<(float)> class"""
6394 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6396 def __init__(self, *args):
6398 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb, float arg4) -> DenseFloatGrid3D
6399 __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb) -> DenseFloatGrid3D
6400 __init__(IMP::algebra::DenseGrid3D<(float)> self) -> DenseFloatGrid3D
6402 this = _IMP_algebra.new_DenseFloatGrid3D(*args)
6404 self.this.append(this)
6408 def add_voxel(self, i, q):
6409 """add_voxel(DenseFloatGrid3D self, ExtendedGridIndex3D i, float const & q) -> GridIndex3D"""
6410 return _IMP_algebra.DenseFloatGrid3D_add_voxel(self, i, q)
6413 def __getitem__(self, *args):
6415 __getitem__(DenseFloatGrid3D self, GridIndex3D i) -> float
6416 __getitem__(DenseFloatGrid3D self, Vector3D i) -> float
6418 return _IMP_algebra.DenseFloatGrid3D___getitem__(self, *args)
6421 def __setitem__(self, *args):
6423 __setitem__(DenseFloatGrid3D self, GridIndex3D i, float const & q)
6424 __setitem__(DenseFloatGrid3D self, Vector3D i, float const & q)
6426 return _IMP_algebra.DenseFloatGrid3D___setitem__(self, *args)
6429 def get_bounding_box(self, *args):
6431 get_bounding_box(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
6432 get_bounding_box(DenseFloatGrid3D self) -> BoundingBox3D
6434 return _IMP_algebra.DenseFloatGrid3D_get_bounding_box(self, *args)
6439 get_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6440 get_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6442 return _IMP_algebra.DenseFloatGrid3D_get_indexes(self, *args)
6445 def get_all_indexes(self):
6446 """get_all_indexes(DenseFloatGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
6447 return _IMP_algebra.DenseFloatGrid3D_get_all_indexes(self)
6450 def get_extended_indexes(self, *args):
6452 get_extended_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6453 get_extended_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6455 return _IMP_algebra.DenseFloatGrid3D_get_extended_indexes(self, *args)
6458 def get_center(self, *args):
6460 get_center(DenseFloatGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
6461 get_center(DenseFloatGrid3D self, GridIndex3D ei) -> Vector3D
6463 return _IMP_algebra.DenseFloatGrid3D_get_center(self, *args)
6466 def get_extended_index(self, v):
6467 """get_extended_index(DenseFloatGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
6468 return _IMP_algebra.DenseFloatGrid3D_get_extended_index(self, v)
6472 """get_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6473 return _IMP_algebra.DenseFloatGrid3D_get_index(self, v)
6476 def get_origin(self):
6477 """get_origin(DenseFloatGrid3D self) -> Vector3D"""
6478 return _IMP_algebra.DenseFloatGrid3D_get_origin(self)
6481 def get_dimension(self):
6482 """get_dimension(DenseFloatGrid3D self) -> unsigned int"""
6483 return _IMP_algebra.DenseFloatGrid3D_get_dimension(self)
6486 def get_unit_cell(self):
6487 """get_unit_cell(DenseFloatGrid3D self) -> Vector3D"""
6488 return _IMP_algebra.DenseFloatGrid3D_get_unit_cell(self)
6491 def get_has_index(self, v):
6492 """get_has_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> bool"""
6493 return _IMP_algebra.DenseFloatGrid3D_get_has_index(self, v)
6497 """__str__(DenseFloatGrid3D self) -> std::string"""
6498 return _IMP_algebra.DenseFloatGrid3D___str__(self)
6502 """__repr__(DenseFloatGrid3D self) -> std::string"""
6503 return _IMP_algebra.DenseFloatGrid3D___repr__(self)
6506 def show(self, *args):
6508 show(DenseFloatGrid3D self, _ostream out)
6509 show(DenseFloatGrid3D self)
6511 return _IMP_algebra.DenseFloatGrid3D_show(self, *args)
6513 __swig_destroy__ = _IMP_algebra.delete_DenseFloatGrid3D
6514 __del__ =
lambda self:
None
6515 DenseFloatGrid3D_swigregister = _IMP_algebra.DenseFloatGrid3D_swigregister
6516 DenseFloatGrid3D_swigregister(DenseFloatGrid3D)
6519 """Proxy of C++ IMP::algebra::SparseUnboundedGrid3D<(int)> class"""
6520 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6522 def __init__(self, *args):
6524 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
6525 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin) -> SparseUnboundedIntGrid3D
6526 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
6527 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin) -> SparseUnboundedIntGrid3D
6528 __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self) -> SparseUnboundedIntGrid3D
6530 this = _IMP_algebra.new_SparseUnboundedIntGrid3D(*args)
6532 self.this.append(this)
6536 def add_voxel(self, i, q):
6537 """add_voxel(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
6538 return _IMP_algebra.SparseUnboundedIntGrid3D_add_voxel(self, i, q)
6541 def __getitem__(self, *args):
6543 __getitem__(SparseUnboundedIntGrid3D self, GridIndex3D i) -> int
6544 __getitem__(SparseUnboundedIntGrid3D self, Vector3D i) -> int
6546 return _IMP_algebra.SparseUnboundedIntGrid3D___getitem__(self, *args)
6549 def __setitem__(self, *args):
6551 __setitem__(SparseUnboundedIntGrid3D self, GridIndex3D i, int const & q)
6552 __setitem__(SparseUnboundedIntGrid3D self, Vector3D i, int const & q)
6554 return _IMP_algebra.SparseUnboundedIntGrid3D___setitem__(self, *args)
6557 def get_bounding_box(self, *args):
6559 get_bounding_box(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
6560 get_bounding_box(SparseUnboundedIntGrid3D self) -> BoundingBox3D
6562 return _IMP_algebra.SparseUnboundedIntGrid3D_get_bounding_box(self, *args)
6567 get_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6568 get_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
6570 return _IMP_algebra.SparseUnboundedIntGrid3D_get_indexes(self, *args)
6573 def get_all_indexes(self):
6574 """get_all_indexes(SparseUnboundedIntGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
6575 return _IMP_algebra.SparseUnboundedIntGrid3D_get_all_indexes(self)
6578 def get_extended_indexes(self, *args):
6580 get_extended_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6581 get_extended_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
6583 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_indexes(self, *args)
6586 def get_center(self, *args):
6588 get_center(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
6589 get_center(SparseUnboundedIntGrid3D self, GridIndex3D ei) -> Vector3D
6591 return _IMP_algebra.SparseUnboundedIntGrid3D_get_center(self, *args)
6594 def get_extended_index(self, v):
6595 """get_extended_index(SparseUnboundedIntGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
6596 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_index(self, v)
6600 """get_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
6601 return _IMP_algebra.SparseUnboundedIntGrid3D_get_index(self, v)
6604 def get_origin(self):
6605 """get_origin(SparseUnboundedIntGrid3D self) -> Vector3D"""
6606 return _IMP_algebra.SparseUnboundedIntGrid3D_get_origin(self)
6609 def get_dimension(self):
6610 """get_dimension(SparseUnboundedIntGrid3D self) -> unsigned int"""
6611 return _IMP_algebra.SparseUnboundedIntGrid3D_get_dimension(self)
6614 def get_unit_cell(self):
6615 """get_unit_cell(SparseUnboundedIntGrid3D self) -> Vector3D"""
6616 return _IMP_algebra.SparseUnboundedIntGrid3D_get_unit_cell(self)
6619 def get_has_index(self, v):
6620 """get_has_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> bool"""
6621 return _IMP_algebra.SparseUnboundedIntGrid3D_get_has_index(self, v)
6625 """__str__(SparseUnboundedIntGrid3D self) -> std::string"""
6626 return _IMP_algebra.SparseUnboundedIntGrid3D___str__(self)
6630 """__repr__(SparseUnboundedIntGrid3D self) -> std::string"""
6631 return _IMP_algebra.SparseUnboundedIntGrid3D___repr__(self)
6634 def show(self, *args):
6636 show(SparseUnboundedIntGrid3D self, _ostream out)
6637 show(SparseUnboundedIntGrid3D self)
6639 return _IMP_algebra.SparseUnboundedIntGrid3D_show(self, *args)
6641 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGrid3D
6642 __del__ =
lambda self:
None
6643 SparseUnboundedIntGrid3D_swigregister = _IMP_algebra.SparseUnboundedIntGrid3D_swigregister
6644 SparseUnboundedIntGrid3D_swigregister(SparseUnboundedIntGrid3D)
6646 class SparseUnboundedIntGridKD(object):
6647 """Proxy of C++ IMP::algebra::SparseUnboundedGridD<(-1,int)> class"""
6648 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6650 def __init__(self, *args):
6652 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin, int arg4) -> SparseUnboundedIntGridKD
6653 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin) -> SparseUnboundedIntGridKD
6654 __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self) -> SparseUnboundedIntGridKD
6656 this = _IMP_algebra.new_SparseUnboundedIntGridKD(*args)
6658 self.this.append(this)
6662 def add_voxel(self, i, q):
6663 """add_voxel(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i, int const & q) -> GridIndexKD"""
6664 return _IMP_algebra.SparseUnboundedIntGridKD_add_voxel(self, i, q)
6667 def __getitem__(self, *args):
6669 __getitem__(SparseUnboundedIntGridKD self, GridIndexKD i) -> int
6670 __getitem__(SparseUnboundedIntGridKD self, VectorKD i) -> int
6672 return _IMP_algebra.SparseUnboundedIntGridKD___getitem__(self, *args)
6675 def __setitem__(self, *args):
6677 __setitem__(SparseUnboundedIntGridKD self, GridIndexKD i, int const & q)
6678 __setitem__(SparseUnboundedIntGridKD self, VectorKD i, int const & q)
6680 return _IMP_algebra.SparseUnboundedIntGridKD___setitem__(self, *args)
6683 def get_bounding_box(self, *args):
6685 get_bounding_box(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
6686 get_bounding_box(SparseUnboundedIntGridKD self) -> BoundingBoxKD
6688 return _IMP_algebra.SparseUnboundedIntGridKD_get_bounding_box(self, *args)
6693 get_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6694 get_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6696 return _IMP_algebra.SparseUnboundedIntGridKD_get_indexes(self, *args)
6699 def get_all_indexes(self):
6700 """get_all_indexes(SparseUnboundedIntGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
6701 return _IMP_algebra.SparseUnboundedIntGridKD_get_all_indexes(self)
6704 def get_extended_indexes(self, *args):
6706 get_extended_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6707 get_extended_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6709 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_indexes(self, *args)
6712 def get_center(self, *args):
6714 get_center(SparseUnboundedIntGridKD self, ExtendedGridIndexKD ei) -> VectorKD
6715 get_center(SparseUnboundedIntGridKD self, GridIndexKD ei) -> VectorKD
6717 return _IMP_algebra.SparseUnboundedIntGridKD_get_center(self, *args)
6720 def get_extended_index(self, v):
6721 """get_extended_index(SparseUnboundedIntGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
6722 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_index(self, v)
6726 """get_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
6727 return _IMP_algebra.SparseUnboundedIntGridKD_get_index(self, v)
6730 def get_origin(self):
6731 """get_origin(SparseUnboundedIntGridKD self) -> VectorKD"""
6732 return _IMP_algebra.SparseUnboundedIntGridKD_get_origin(self)
6735 def get_dimension(self):
6736 """get_dimension(SparseUnboundedIntGridKD self) -> unsigned int"""
6737 return _IMP_algebra.SparseUnboundedIntGridKD_get_dimension(self)
6740 def get_unit_cell(self):
6741 """get_unit_cell(SparseUnboundedIntGridKD self) -> VectorKD"""
6742 return _IMP_algebra.SparseUnboundedIntGridKD_get_unit_cell(self)
6745 def get_has_index(self, v):
6746 """get_has_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> bool"""
6747 return _IMP_algebra.SparseUnboundedIntGridKD_get_has_index(self, v)
6751 """__str__(SparseUnboundedIntGridKD self) -> std::string"""
6752 return _IMP_algebra.SparseUnboundedIntGridKD___str__(self)
6756 """__repr__(SparseUnboundedIntGridKD self) -> std::string"""
6757 return _IMP_algebra.SparseUnboundedIntGridKD___repr__(self)
6760 def show(self, *args):
6762 show(SparseUnboundedIntGridKD self, _ostream out)
6763 show(SparseUnboundedIntGridKD self)
6765 return _IMP_algebra.SparseUnboundedIntGridKD_show(self, *args)
6767 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGridKD
6768 __del__ =
lambda self:
None
6769 SparseUnboundedIntGridKD_swigregister = _IMP_algebra.SparseUnboundedIntGridKD_swigregister
6770 SparseUnboundedIntGridKD_swigregister(SparseUnboundedIntGridKD)
6772 class GridIndex1D(IMP._Value):
6773 """Proxy of C++ IMP::algebra::GridIndexD<(1)> class"""
6774 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6776 def __init__(self, *args):
6778 __init__(IMP::algebra::GridIndexD<(1)> self) -> GridIndex1D
6779 __init__(IMP::algebra::GridIndexD<(1)> self, int x) -> GridIndex1D
6780 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y) -> GridIndex1D
6781 __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y, int z) -> GridIndex1D
6782 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l) -> GridIndex1D
6783 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m) -> GridIndex1D
6784 __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> GridIndex1D
6786 this = _IMP_algebra.new_GridIndex1D(*args)
6788 self.this.append(this)
6792 def get_dimension(self):
6793 """get_dimension(GridIndex1D self) -> unsigned int"""
6794 return _IMP_algebra.GridIndex1D_get_dimension(self)
6797 def __getitem__(self, i):
6798 """__getitem__(GridIndex1D self, unsigned int i) -> int const &"""
6799 return _IMP_algebra.GridIndex1D___getitem__(self, i)
6802 def show(self, *args):
6804 show(GridIndex1D self, _ostream out)
6805 show(GridIndex1D self)
6807 return _IMP_algebra.GridIndex1D_show(self, *args)
6811 """__len__(GridIndex1D self) -> unsigned int"""
6812 return _IMP_algebra.GridIndex1D___len__(self)
6815 def __cmp__(self, o):
6816 """__cmp__(GridIndex1D self, GridIndex1D o) -> int"""
6817 return _IMP_algebra.GridIndex1D___cmp__(self, o)
6820 def __eq__(self, o):
6821 """__eq__(GridIndex1D self, GridIndex1D o) -> bool"""
6822 return _IMP_algebra.GridIndex1D___eq__(self, o)
6825 def __ne__(self, o):
6826 """__ne__(GridIndex1D self, GridIndex1D o) -> bool"""
6827 return _IMP_algebra.GridIndex1D___ne__(self, o)
6830 def __lt__(self, o):
6831 """__lt__(GridIndex1D self, GridIndex1D o) -> bool"""
6832 return _IMP_algebra.GridIndex1D___lt__(self, o)
6835 def __gt__(self, o):
6836 """__gt__(GridIndex1D self, GridIndex1D o) -> bool"""
6837 return _IMP_algebra.GridIndex1D___gt__(self, o)
6840 def __ge__(self, o):
6841 """__ge__(GridIndex1D self, GridIndex1D o) -> bool"""
6842 return _IMP_algebra.GridIndex1D___ge__(self, o)
6845 def __le__(self, o):
6846 """__le__(GridIndex1D self, GridIndex1D o) -> bool"""
6847 return _IMP_algebra.GridIndex1D___le__(self, o)
6851 """__hash__(GridIndex1D self) -> std::size_t"""
6852 return _IMP_algebra.GridIndex1D___hash__(self)
6856 """__str__(GridIndex1D self) -> std::string"""
6857 return _IMP_algebra.GridIndex1D___str__(self)
6861 """__repr__(GridIndex1D self) -> std::string"""
6862 return _IMP_algebra.GridIndex1D___repr__(self)
6864 __swig_destroy__ = _IMP_algebra.delete_GridIndex1D
6865 __del__ =
lambda self:
None
6866 GridIndex1D_swigregister = _IMP_algebra.GridIndex1D_swigregister
6867 GridIndex1D_swigregister(GridIndex1D)
6869 class GridIndex2D(IMP._Value):
6870 """Proxy of C++ IMP::algebra::GridIndexD<(2)> class"""
6871 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6873 def __init__(self, *args):
6875 __init__(IMP::algebra::GridIndexD<(2)> self) -> GridIndex2D
6876 __init__(IMP::algebra::GridIndexD<(2)> self, int x) -> GridIndex2D
6877 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y) -> GridIndex2D
6878 __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y, int z) -> GridIndex2D
6879 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l) -> GridIndex2D
6880 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m) -> GridIndex2D
6881 __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> GridIndex2D
6883 this = _IMP_algebra.new_GridIndex2D(*args)
6885 self.this.append(this)
6889 def get_dimension(self):
6890 """get_dimension(GridIndex2D self) -> unsigned int"""
6891 return _IMP_algebra.GridIndex2D_get_dimension(self)
6894 def __getitem__(self, i):
6895 """__getitem__(GridIndex2D self, unsigned int i) -> int const &"""
6896 return _IMP_algebra.GridIndex2D___getitem__(self, i)
6899 def show(self, *args):
6901 show(GridIndex2D self, _ostream out)
6902 show(GridIndex2D self)
6904 return _IMP_algebra.GridIndex2D_show(self, *args)
6908 """__len__(GridIndex2D self) -> unsigned int"""
6909 return _IMP_algebra.GridIndex2D___len__(self)
6912 def __cmp__(self, o):
6913 """__cmp__(GridIndex2D self, GridIndex2D o) -> int"""
6914 return _IMP_algebra.GridIndex2D___cmp__(self, o)
6917 def __eq__(self, o):
6918 """__eq__(GridIndex2D self, GridIndex2D o) -> bool"""
6919 return _IMP_algebra.GridIndex2D___eq__(self, o)
6922 def __ne__(self, o):
6923 """__ne__(GridIndex2D self, GridIndex2D o) -> bool"""
6924 return _IMP_algebra.GridIndex2D___ne__(self, o)
6927 def __lt__(self, o):
6928 """__lt__(GridIndex2D self, GridIndex2D o) -> bool"""
6929 return _IMP_algebra.GridIndex2D___lt__(self, o)
6932 def __gt__(self, o):
6933 """__gt__(GridIndex2D self, GridIndex2D o) -> bool"""
6934 return _IMP_algebra.GridIndex2D___gt__(self, o)
6937 def __ge__(self, o):
6938 """__ge__(GridIndex2D self, GridIndex2D o) -> bool"""
6939 return _IMP_algebra.GridIndex2D___ge__(self, o)
6942 def __le__(self, o):
6943 """__le__(GridIndex2D self, GridIndex2D o) -> bool"""
6944 return _IMP_algebra.GridIndex2D___le__(self, o)
6948 """__hash__(GridIndex2D self) -> std::size_t"""
6949 return _IMP_algebra.GridIndex2D___hash__(self)
6953 """__str__(GridIndex2D self) -> std::string"""
6954 return _IMP_algebra.GridIndex2D___str__(self)
6958 """__repr__(GridIndex2D self) -> std::string"""
6959 return _IMP_algebra.GridIndex2D___repr__(self)
6961 __swig_destroy__ = _IMP_algebra.delete_GridIndex2D
6962 __del__ =
lambda self:
None
6963 GridIndex2D_swigregister = _IMP_algebra.GridIndex2D_swigregister
6964 GridIndex2D_swigregister(GridIndex2D)
6966 class GridIndex3D(IMP._Value):
6967 """Proxy of C++ IMP::algebra::GridIndexD<(3)> class"""
6968 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6970 def __init__(self, *args):
6972 __init__(IMP::algebra::GridIndexD<(3)> self) -> GridIndex3D
6973 __init__(IMP::algebra::GridIndexD<(3)> self, int x) -> GridIndex3D
6974 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y) -> GridIndex3D
6975 __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y, int z) -> GridIndex3D
6976 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l) -> GridIndex3D
6977 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m) -> GridIndex3D
6978 __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> GridIndex3D
6980 this = _IMP_algebra.new_GridIndex3D(*args)
6982 self.this.append(this)
6986 def get_dimension(self):
6987 """get_dimension(GridIndex3D self) -> unsigned int"""
6988 return _IMP_algebra.GridIndex3D_get_dimension(self)
6991 def __getitem__(self, i):
6992 """__getitem__(GridIndex3D self, unsigned int i) -> int const &"""
6993 return _IMP_algebra.GridIndex3D___getitem__(self, i)
6996 def show(self, *args):
6998 show(GridIndex3D self, _ostream out)
6999 show(GridIndex3D self)
7001 return _IMP_algebra.GridIndex3D_show(self, *args)
7005 """__len__(GridIndex3D self) -> unsigned int"""
7006 return _IMP_algebra.GridIndex3D___len__(self)
7009 def __cmp__(self, o):
7010 """__cmp__(GridIndex3D self, GridIndex3D o) -> int"""
7011 return _IMP_algebra.GridIndex3D___cmp__(self, o)
7014 def __eq__(self, o):
7015 """__eq__(GridIndex3D self, GridIndex3D o) -> bool"""
7016 return _IMP_algebra.GridIndex3D___eq__(self, o)
7019 def __ne__(self, o):
7020 """__ne__(GridIndex3D self, GridIndex3D o) -> bool"""
7021 return _IMP_algebra.GridIndex3D___ne__(self, o)
7024 def __lt__(self, o):
7025 """__lt__(GridIndex3D self, GridIndex3D o) -> bool"""
7026 return _IMP_algebra.GridIndex3D___lt__(self, o)
7029 def __gt__(self, o):
7030 """__gt__(GridIndex3D self, GridIndex3D o) -> bool"""
7031 return _IMP_algebra.GridIndex3D___gt__(self, o)
7034 def __ge__(self, o):
7035 """__ge__(GridIndex3D self, GridIndex3D o) -> bool"""
7036 return _IMP_algebra.GridIndex3D___ge__(self, o)
7039 def __le__(self, o):
7040 """__le__(GridIndex3D self, GridIndex3D o) -> bool"""
7041 return _IMP_algebra.GridIndex3D___le__(self, o)
7045 """__hash__(GridIndex3D self) -> std::size_t"""
7046 return _IMP_algebra.GridIndex3D___hash__(self)
7050 """__str__(GridIndex3D self) -> std::string"""
7051 return _IMP_algebra.GridIndex3D___str__(self)
7055 """__repr__(GridIndex3D self) -> std::string"""
7056 return _IMP_algebra.GridIndex3D___repr__(self)
7058 __swig_destroy__ = _IMP_algebra.delete_GridIndex3D
7059 __del__ =
lambda self:
None
7060 GridIndex3D_swigregister = _IMP_algebra.GridIndex3D_swigregister
7061 GridIndex3D_swigregister(GridIndex3D)
7063 class GridIndex4D(IMP._Value):
7064 """Proxy of C++ IMP::algebra::GridIndexD<(4)> class"""
7065 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7067 def __init__(self, *args):
7069 __init__(IMP::algebra::GridIndexD<(4)> self) -> GridIndex4D
7070 __init__(IMP::algebra::GridIndexD<(4)> self, int x) -> GridIndex4D
7071 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y) -> GridIndex4D
7072 __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y, int z) -> GridIndex4D
7073 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l) -> GridIndex4D
7074 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m) -> GridIndex4D
7075 __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> GridIndex4D
7077 this = _IMP_algebra.new_GridIndex4D(*args)
7079 self.this.append(this)
7083 def get_dimension(self):
7084 """get_dimension(GridIndex4D self) -> unsigned int"""
7085 return _IMP_algebra.GridIndex4D_get_dimension(self)
7088 def __getitem__(self, i):
7089 """__getitem__(GridIndex4D self, unsigned int i) -> int const &"""
7090 return _IMP_algebra.GridIndex4D___getitem__(self, i)
7093 def show(self, *args):
7095 show(GridIndex4D self, _ostream out)
7096 show(GridIndex4D self)
7098 return _IMP_algebra.GridIndex4D_show(self, *args)
7102 """__len__(GridIndex4D self) -> unsigned int"""
7103 return _IMP_algebra.GridIndex4D___len__(self)
7106 def __cmp__(self, o):
7107 """__cmp__(GridIndex4D self, GridIndex4D o) -> int"""
7108 return _IMP_algebra.GridIndex4D___cmp__(self, o)
7111 def __eq__(self, o):
7112 """__eq__(GridIndex4D self, GridIndex4D o) -> bool"""
7113 return _IMP_algebra.GridIndex4D___eq__(self, o)
7116 def __ne__(self, o):
7117 """__ne__(GridIndex4D self, GridIndex4D o) -> bool"""
7118 return _IMP_algebra.GridIndex4D___ne__(self, o)
7121 def __lt__(self, o):
7122 """__lt__(GridIndex4D self, GridIndex4D o) -> bool"""
7123 return _IMP_algebra.GridIndex4D___lt__(self, o)
7126 def __gt__(self, o):
7127 """__gt__(GridIndex4D self, GridIndex4D o) -> bool"""
7128 return _IMP_algebra.GridIndex4D___gt__(self, o)
7131 def __ge__(self, o):
7132 """__ge__(GridIndex4D self, GridIndex4D o) -> bool"""
7133 return _IMP_algebra.GridIndex4D___ge__(self, o)
7136 def __le__(self, o):
7137 """__le__(GridIndex4D self, GridIndex4D o) -> bool"""
7138 return _IMP_algebra.GridIndex4D___le__(self, o)
7142 """__hash__(GridIndex4D self) -> std::size_t"""
7143 return _IMP_algebra.GridIndex4D___hash__(self)
7147 """__str__(GridIndex4D self) -> std::string"""
7148 return _IMP_algebra.GridIndex4D___str__(self)
7152 """__repr__(GridIndex4D self) -> std::string"""
7153 return _IMP_algebra.GridIndex4D___repr__(self)
7155 __swig_destroy__ = _IMP_algebra.delete_GridIndex4D
7156 __del__ =
lambda self:
None
7157 GridIndex4D_swigregister = _IMP_algebra.GridIndex4D_swigregister
7158 GridIndex4D_swigregister(GridIndex4D)
7160 class GridIndex5D(IMP._Value):
7161 """Proxy of C++ IMP::algebra::GridIndexD<(5)> class"""
7162 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7164 def __init__(self, *args):
7166 __init__(IMP::algebra::GridIndexD<(5)> self) -> GridIndex5D
7167 __init__(IMP::algebra::GridIndexD<(5)> self, int x) -> GridIndex5D
7168 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y) -> GridIndex5D
7169 __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y, int z) -> GridIndex5D
7170 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l) -> GridIndex5D
7171 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m) -> GridIndex5D
7172 __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> GridIndex5D
7174 this = _IMP_algebra.new_GridIndex5D(*args)
7176 self.this.append(this)
7180 def get_dimension(self):
7181 """get_dimension(GridIndex5D self) -> unsigned int"""
7182 return _IMP_algebra.GridIndex5D_get_dimension(self)
7185 def __getitem__(self, i):
7186 """__getitem__(GridIndex5D self, unsigned int i) -> int const &"""
7187 return _IMP_algebra.GridIndex5D___getitem__(self, i)
7190 def show(self, *args):
7192 show(GridIndex5D self, _ostream out)
7193 show(GridIndex5D self)
7195 return _IMP_algebra.GridIndex5D_show(self, *args)
7199 """__len__(GridIndex5D self) -> unsigned int"""
7200 return _IMP_algebra.GridIndex5D___len__(self)
7203 def __cmp__(self, o):
7204 """__cmp__(GridIndex5D self, GridIndex5D o) -> int"""
7205 return _IMP_algebra.GridIndex5D___cmp__(self, o)
7208 def __eq__(self, o):
7209 """__eq__(GridIndex5D self, GridIndex5D o) -> bool"""
7210 return _IMP_algebra.GridIndex5D___eq__(self, o)
7213 def __ne__(self, o):
7214 """__ne__(GridIndex5D self, GridIndex5D o) -> bool"""
7215 return _IMP_algebra.GridIndex5D___ne__(self, o)
7218 def __lt__(self, o):
7219 """__lt__(GridIndex5D self, GridIndex5D o) -> bool"""
7220 return _IMP_algebra.GridIndex5D___lt__(self, o)
7223 def __gt__(self, o):
7224 """__gt__(GridIndex5D self, GridIndex5D o) -> bool"""
7225 return _IMP_algebra.GridIndex5D___gt__(self, o)
7228 def __ge__(self, o):
7229 """__ge__(GridIndex5D self, GridIndex5D o) -> bool"""
7230 return _IMP_algebra.GridIndex5D___ge__(self, o)
7233 def __le__(self, o):
7234 """__le__(GridIndex5D self, GridIndex5D o) -> bool"""
7235 return _IMP_algebra.GridIndex5D___le__(self, o)
7239 """__hash__(GridIndex5D self) -> std::size_t"""
7240 return _IMP_algebra.GridIndex5D___hash__(self)
7244 """__str__(GridIndex5D self) -> std::string"""
7245 return _IMP_algebra.GridIndex5D___str__(self)
7249 """__repr__(GridIndex5D self) -> std::string"""
7250 return _IMP_algebra.GridIndex5D___repr__(self)
7252 __swig_destroy__ = _IMP_algebra.delete_GridIndex5D
7253 __del__ =
lambda self:
None
7254 GridIndex5D_swigregister = _IMP_algebra.GridIndex5D_swigregister
7255 GridIndex5D_swigregister(GridIndex5D)
7257 class GridIndex6D(IMP._Value):
7258 """Proxy of C++ IMP::algebra::GridIndexD<(6)> class"""
7259 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7261 def __init__(self, *args):
7263 __init__(IMP::algebra::GridIndexD<(6)> self) -> GridIndex6D
7264 __init__(IMP::algebra::GridIndexD<(6)> self, int x) -> GridIndex6D
7265 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y) -> GridIndex6D
7266 __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y, int z) -> GridIndex6D
7267 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l) -> GridIndex6D
7268 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m) -> GridIndex6D
7269 __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> GridIndex6D
7271 this = _IMP_algebra.new_GridIndex6D(*args)
7273 self.this.append(this)
7277 def get_dimension(self):
7278 """get_dimension(GridIndex6D self) -> unsigned int"""
7279 return _IMP_algebra.GridIndex6D_get_dimension(self)
7282 def __getitem__(self, i):
7283 """__getitem__(GridIndex6D self, unsigned int i) -> int const &"""
7284 return _IMP_algebra.GridIndex6D___getitem__(self, i)
7287 def show(self, *args):
7289 show(GridIndex6D self, _ostream out)
7290 show(GridIndex6D self)
7292 return _IMP_algebra.GridIndex6D_show(self, *args)
7296 """__len__(GridIndex6D self) -> unsigned int"""
7297 return _IMP_algebra.GridIndex6D___len__(self)
7300 def __cmp__(self, o):
7301 """__cmp__(GridIndex6D self, GridIndex6D o) -> int"""
7302 return _IMP_algebra.GridIndex6D___cmp__(self, o)
7305 def __eq__(self, o):
7306 """__eq__(GridIndex6D self, GridIndex6D o) -> bool"""
7307 return _IMP_algebra.GridIndex6D___eq__(self, o)
7310 def __ne__(self, o):
7311 """__ne__(GridIndex6D self, GridIndex6D o) -> bool"""
7312 return _IMP_algebra.GridIndex6D___ne__(self, o)
7315 def __lt__(self, o):
7316 """__lt__(GridIndex6D self, GridIndex6D o) -> bool"""
7317 return _IMP_algebra.GridIndex6D___lt__(self, o)
7320 def __gt__(self, o):
7321 """__gt__(GridIndex6D self, GridIndex6D o) -> bool"""
7322 return _IMP_algebra.GridIndex6D___gt__(self, o)
7325 def __ge__(self, o):
7326 """__ge__(GridIndex6D self, GridIndex6D o) -> bool"""
7327 return _IMP_algebra.GridIndex6D___ge__(self, o)
7330 def __le__(self, o):
7331 """__le__(GridIndex6D self, GridIndex6D o) -> bool"""
7332 return _IMP_algebra.GridIndex6D___le__(self, o)
7336 """__hash__(GridIndex6D self) -> std::size_t"""
7337 return _IMP_algebra.GridIndex6D___hash__(self)
7341 """__str__(GridIndex6D self) -> std::string"""
7342 return _IMP_algebra.GridIndex6D___str__(self)
7346 """__repr__(GridIndex6D self) -> std::string"""
7347 return _IMP_algebra.GridIndex6D___repr__(self)
7349 __swig_destroy__ = _IMP_algebra.delete_GridIndex6D
7350 __del__ =
lambda self:
None
7351 GridIndex6D_swigregister = _IMP_algebra.GridIndex6D_swigregister
7352 GridIndex6D_swigregister(GridIndex6D)
7354 class GridIndexKD(IMP._Value):
7355 """Proxy of C++ IMP::algebra::GridIndexD<(-1)> class"""
7356 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7358 def __init__(self, *args):
7360 __init__(IMP::algebra::GridIndexD<(-1)> self) -> GridIndexKD
7361 __init__(IMP::algebra::GridIndexD<(-1)> self, int x) -> GridIndexKD
7362 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y) -> GridIndexKD
7363 __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y, int z) -> GridIndexKD
7364 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l) -> GridIndexKD
7365 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> GridIndexKD
7366 __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> GridIndexKD
7368 this = _IMP_algebra.new_GridIndexKD(*args)
7370 self.this.append(this)
7374 def get_dimension(self):
7375 """get_dimension(GridIndexKD self) -> unsigned int"""
7376 return _IMP_algebra.GridIndexKD_get_dimension(self)
7379 def __getitem__(self, i):
7380 """__getitem__(GridIndexKD self, unsigned int i) -> int const &"""
7381 return _IMP_algebra.GridIndexKD___getitem__(self, i)
7384 def show(self, *args):
7386 show(GridIndexKD self, _ostream out)
7387 show(GridIndexKD self)
7389 return _IMP_algebra.GridIndexKD_show(self, *args)
7393 """__len__(GridIndexKD self) -> unsigned int"""
7394 return _IMP_algebra.GridIndexKD___len__(self)
7397 def __cmp__(self, o):
7398 """__cmp__(GridIndexKD self, GridIndexKD o) -> int"""
7399 return _IMP_algebra.GridIndexKD___cmp__(self, o)
7402 def __eq__(self, o):
7403 """__eq__(GridIndexKD self, GridIndexKD o) -> bool"""
7404 return _IMP_algebra.GridIndexKD___eq__(self, o)
7407 def __ne__(self, o):
7408 """__ne__(GridIndexKD self, GridIndexKD o) -> bool"""
7409 return _IMP_algebra.GridIndexKD___ne__(self, o)
7412 def __lt__(self, o):
7413 """__lt__(GridIndexKD self, GridIndexKD o) -> bool"""
7414 return _IMP_algebra.GridIndexKD___lt__(self, o)
7417 def __gt__(self, o):
7418 """__gt__(GridIndexKD self, GridIndexKD o) -> bool"""
7419 return _IMP_algebra.GridIndexKD___gt__(self, o)
7422 def __ge__(self, o):
7423 """__ge__(GridIndexKD self, GridIndexKD o) -> bool"""
7424 return _IMP_algebra.GridIndexKD___ge__(self, o)
7427 def __le__(self, o):
7428 """__le__(GridIndexKD self, GridIndexKD o) -> bool"""
7429 return _IMP_algebra.GridIndexKD___le__(self, o)
7433 """__hash__(GridIndexKD self) -> std::size_t"""
7434 return _IMP_algebra.GridIndexKD___hash__(self)
7438 """__str__(GridIndexKD self) -> std::string"""
7439 return _IMP_algebra.GridIndexKD___str__(self)
7443 """__repr__(GridIndexKD self) -> std::string"""
7444 return _IMP_algebra.GridIndexKD___repr__(self)
7446 __swig_destroy__ = _IMP_algebra.delete_GridIndexKD
7447 __del__ =
lambda self:
None
7448 GridIndexKD_swigregister = _IMP_algebra.GridIndexKD_swigregister
7449 GridIndexKD_swigregister(GridIndexKD)
7451 class ExtendedGridIndex1D(IMP._Value):
7452 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(1)> class"""
7453 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7455 def __init__(self, *args):
7457 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, IMP::Ints vals) -> ExtendedGridIndex1D
7458 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x) -> ExtendedGridIndex1D
7459 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y) -> ExtendedGridIndex1D
7460 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y, int z) -> ExtendedGridIndex1D
7461 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l) -> ExtendedGridIndex1D
7462 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex1D
7463 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex1D
7464 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self) -> ExtendedGridIndex1D
7466 this = _IMP_algebra.new_ExtendedGridIndex1D(*args)
7468 self.this.append(this)
7472 def get_dimension(self):
7473 """get_dimension(ExtendedGridIndex1D self) -> unsigned int"""
7474 return _IMP_algebra.ExtendedGridIndex1D_get_dimension(self)
7477 def __cmp__(self, o):
7478 """__cmp__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> int"""
7479 return _IMP_algebra.ExtendedGridIndex1D___cmp__(self, o)
7482 def __eq__(self, o):
7483 """__eq__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7484 return _IMP_algebra.ExtendedGridIndex1D___eq__(self, o)
7487 def __ne__(self, o):
7488 """__ne__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7489 return _IMP_algebra.ExtendedGridIndex1D___ne__(self, o)
7492 def __lt__(self, o):
7493 """__lt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7494 return _IMP_algebra.ExtendedGridIndex1D___lt__(self, o)
7497 def __gt__(self, o):
7498 """__gt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7499 return _IMP_algebra.ExtendedGridIndex1D___gt__(self, o)
7502 def __ge__(self, o):
7503 """__ge__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7504 return _IMP_algebra.ExtendedGridIndex1D___ge__(self, o)
7507 def __le__(self, o):
7508 """__le__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
7509 return _IMP_algebra.ExtendedGridIndex1D___le__(self, o)
7512 def __setitem__(self, i, v):
7513 """__setitem__(ExtendedGridIndex1D self, unsigned int i, int const & v)"""
7514 return _IMP_algebra.ExtendedGridIndex1D___setitem__(self, i, v)
7517 def __getitem__(self, i):
7518 """__getitem__(ExtendedGridIndex1D self, unsigned int i) -> int const &"""
7519 return _IMP_algebra.ExtendedGridIndex1D___getitem__(self, i)
7522 def show(self, *args):
7524 show(ExtendedGridIndex1D self, _ostream out)
7525 show(ExtendedGridIndex1D self)
7527 return _IMP_algebra.ExtendedGridIndex1D_show(self, *args)
7531 """__len__(ExtendedGridIndex1D self) -> unsigned int"""
7532 return _IMP_algebra.ExtendedGridIndex1D___len__(self)
7536 """__hash__(ExtendedGridIndex1D self) -> std::size_t"""
7537 return _IMP_algebra.ExtendedGridIndex1D___hash__(self)
7540 def get_uniform_offset(self, ii):
7541 """get_uniform_offset(ExtendedGridIndex1D self, int ii) -> ExtendedGridIndex1D"""
7542 return _IMP_algebra.ExtendedGridIndex1D_get_uniform_offset(self, ii)
7545 def get_offset(self, i, j, k):
7546 """get_offset(ExtendedGridIndex1D self, int i, int j, int k) -> ExtendedGridIndex1D"""
7547 return _IMP_algebra.ExtendedGridIndex1D_get_offset(self, i, j, k)
7551 """__str__(ExtendedGridIndex1D self) -> std::string"""
7552 return _IMP_algebra.ExtendedGridIndex1D___str__(self)
7556 """__repr__(ExtendedGridIndex1D self) -> std::string"""
7557 return _IMP_algebra.ExtendedGridIndex1D___repr__(self)
7559 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex1D
7560 __del__ =
lambda self:
None
7561 ExtendedGridIndex1D_swigregister = _IMP_algebra.ExtendedGridIndex1D_swigregister
7562 ExtendedGridIndex1D_swigregister(ExtendedGridIndex1D)
7564 class ExtendedGridIndex2D(IMP._Value):
7565 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(2)> class"""
7566 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7568 def __init__(self, *args):
7570 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, IMP::Ints vals) -> ExtendedGridIndex2D
7571 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x) -> ExtendedGridIndex2D
7572 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y) -> ExtendedGridIndex2D
7573 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y, int z) -> ExtendedGridIndex2D
7574 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l) -> ExtendedGridIndex2D
7575 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex2D
7576 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex2D
7577 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self) -> ExtendedGridIndex2D
7579 this = _IMP_algebra.new_ExtendedGridIndex2D(*args)
7581 self.this.append(this)
7585 def get_dimension(self):
7586 """get_dimension(ExtendedGridIndex2D self) -> unsigned int"""
7587 return _IMP_algebra.ExtendedGridIndex2D_get_dimension(self)
7590 def __cmp__(self, o):
7591 """__cmp__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> int"""
7592 return _IMP_algebra.ExtendedGridIndex2D___cmp__(self, o)
7595 def __eq__(self, o):
7596 """__eq__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7597 return _IMP_algebra.ExtendedGridIndex2D___eq__(self, o)
7600 def __ne__(self, o):
7601 """__ne__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7602 return _IMP_algebra.ExtendedGridIndex2D___ne__(self, o)
7605 def __lt__(self, o):
7606 """__lt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7607 return _IMP_algebra.ExtendedGridIndex2D___lt__(self, o)
7610 def __gt__(self, o):
7611 """__gt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7612 return _IMP_algebra.ExtendedGridIndex2D___gt__(self, o)
7615 def __ge__(self, o):
7616 """__ge__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7617 return _IMP_algebra.ExtendedGridIndex2D___ge__(self, o)
7620 def __le__(self, o):
7621 """__le__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
7622 return _IMP_algebra.ExtendedGridIndex2D___le__(self, o)
7625 def __setitem__(self, i, v):
7626 """__setitem__(ExtendedGridIndex2D self, unsigned int i, int const & v)"""
7627 return _IMP_algebra.ExtendedGridIndex2D___setitem__(self, i, v)
7630 def __getitem__(self, i):
7631 """__getitem__(ExtendedGridIndex2D self, unsigned int i) -> int const &"""
7632 return _IMP_algebra.ExtendedGridIndex2D___getitem__(self, i)
7635 def show(self, *args):
7637 show(ExtendedGridIndex2D self, _ostream out)
7638 show(ExtendedGridIndex2D self)
7640 return _IMP_algebra.ExtendedGridIndex2D_show(self, *args)
7644 """__len__(ExtendedGridIndex2D self) -> unsigned int"""
7645 return _IMP_algebra.ExtendedGridIndex2D___len__(self)
7649 """__hash__(ExtendedGridIndex2D self) -> std::size_t"""
7650 return _IMP_algebra.ExtendedGridIndex2D___hash__(self)
7653 def get_uniform_offset(self, ii):
7654 """get_uniform_offset(ExtendedGridIndex2D self, int ii) -> ExtendedGridIndex2D"""
7655 return _IMP_algebra.ExtendedGridIndex2D_get_uniform_offset(self, ii)
7658 def get_offset(self, i, j, k):
7659 """get_offset(ExtendedGridIndex2D self, int i, int j, int k) -> ExtendedGridIndex2D"""
7660 return _IMP_algebra.ExtendedGridIndex2D_get_offset(self, i, j, k)
7664 """__str__(ExtendedGridIndex2D self) -> std::string"""
7665 return _IMP_algebra.ExtendedGridIndex2D___str__(self)
7669 """__repr__(ExtendedGridIndex2D self) -> std::string"""
7670 return _IMP_algebra.ExtendedGridIndex2D___repr__(self)
7672 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex2D
7673 __del__ =
lambda self:
None
7674 ExtendedGridIndex2D_swigregister = _IMP_algebra.ExtendedGridIndex2D_swigregister
7675 ExtendedGridIndex2D_swigregister(ExtendedGridIndex2D)
7677 class ExtendedGridIndex3D(IMP._Value):
7678 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(3)> class"""
7679 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7681 def __init__(self, *args):
7683 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, IMP::Ints vals) -> ExtendedGridIndex3D
7684 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x) -> ExtendedGridIndex3D
7685 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y) -> ExtendedGridIndex3D
7686 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y, int z) -> ExtendedGridIndex3D
7687 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l) -> ExtendedGridIndex3D
7688 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex3D
7689 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex3D
7690 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self) -> ExtendedGridIndex3D
7692 this = _IMP_algebra.new_ExtendedGridIndex3D(*args)
7694 self.this.append(this)
7698 def get_dimension(self):
7699 """get_dimension(ExtendedGridIndex3D self) -> unsigned int"""
7700 return _IMP_algebra.ExtendedGridIndex3D_get_dimension(self)
7703 def __cmp__(self, o):
7704 """__cmp__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> int"""
7705 return _IMP_algebra.ExtendedGridIndex3D___cmp__(self, o)
7708 def __eq__(self, o):
7709 """__eq__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7710 return _IMP_algebra.ExtendedGridIndex3D___eq__(self, o)
7713 def __ne__(self, o):
7714 """__ne__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7715 return _IMP_algebra.ExtendedGridIndex3D___ne__(self, o)
7718 def __lt__(self, o):
7719 """__lt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7720 return _IMP_algebra.ExtendedGridIndex3D___lt__(self, o)
7723 def __gt__(self, o):
7724 """__gt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7725 return _IMP_algebra.ExtendedGridIndex3D___gt__(self, o)
7728 def __ge__(self, o):
7729 """__ge__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7730 return _IMP_algebra.ExtendedGridIndex3D___ge__(self, o)
7733 def __le__(self, o):
7734 """__le__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7735 return _IMP_algebra.ExtendedGridIndex3D___le__(self, o)
7738 def __setitem__(self, i, v):
7739 """__setitem__(ExtendedGridIndex3D self, unsigned int i, int const & v)"""
7740 return _IMP_algebra.ExtendedGridIndex3D___setitem__(self, i, v)
7743 def __getitem__(self, i):
7744 """__getitem__(ExtendedGridIndex3D self, unsigned int i) -> int const &"""
7745 return _IMP_algebra.ExtendedGridIndex3D___getitem__(self, i)
7748 def show(self, *args):
7750 show(ExtendedGridIndex3D self, _ostream out)
7751 show(ExtendedGridIndex3D self)
7753 return _IMP_algebra.ExtendedGridIndex3D_show(self, *args)
7757 """__len__(ExtendedGridIndex3D self) -> unsigned int"""
7758 return _IMP_algebra.ExtendedGridIndex3D___len__(self)
7762 """__hash__(ExtendedGridIndex3D self) -> std::size_t"""
7763 return _IMP_algebra.ExtendedGridIndex3D___hash__(self)
7766 def get_uniform_offset(self, ii):
7767 """get_uniform_offset(ExtendedGridIndex3D self, int ii) -> ExtendedGridIndex3D"""
7768 return _IMP_algebra.ExtendedGridIndex3D_get_uniform_offset(self, ii)
7771 def get_offset(self, i, j, k):
7772 """get_offset(ExtendedGridIndex3D self, int i, int j, int k) -> ExtendedGridIndex3D"""
7773 return _IMP_algebra.ExtendedGridIndex3D_get_offset(self, i, j, k)
7777 """__str__(ExtendedGridIndex3D self) -> std::string"""
7778 return _IMP_algebra.ExtendedGridIndex3D___str__(self)
7782 """__repr__(ExtendedGridIndex3D self) -> std::string"""
7783 return _IMP_algebra.ExtendedGridIndex3D___repr__(self)
7785 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex3D
7786 __del__ =
lambda self:
None
7787 ExtendedGridIndex3D_swigregister = _IMP_algebra.ExtendedGridIndex3D_swigregister
7788 ExtendedGridIndex3D_swigregister(ExtendedGridIndex3D)
7790 class ExtendedGridIndex4D(IMP._Value):
7791 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(4)> class"""
7792 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7794 def __init__(self, *args):
7796 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, IMP::Ints vals) -> ExtendedGridIndex4D
7797 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x) -> ExtendedGridIndex4D
7798 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y) -> ExtendedGridIndex4D
7799 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y, int z) -> ExtendedGridIndex4D
7800 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l) -> ExtendedGridIndex4D
7801 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex4D
7802 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex4D
7803 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self) -> ExtendedGridIndex4D
7805 this = _IMP_algebra.new_ExtendedGridIndex4D(*args)
7807 self.this.append(this)
7811 def get_dimension(self):
7812 """get_dimension(ExtendedGridIndex4D self) -> unsigned int"""
7813 return _IMP_algebra.ExtendedGridIndex4D_get_dimension(self)
7816 def __cmp__(self, o):
7817 """__cmp__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> int"""
7818 return _IMP_algebra.ExtendedGridIndex4D___cmp__(self, o)
7821 def __eq__(self, o):
7822 """__eq__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7823 return _IMP_algebra.ExtendedGridIndex4D___eq__(self, o)
7826 def __ne__(self, o):
7827 """__ne__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7828 return _IMP_algebra.ExtendedGridIndex4D___ne__(self, o)
7831 def __lt__(self, o):
7832 """__lt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7833 return _IMP_algebra.ExtendedGridIndex4D___lt__(self, o)
7836 def __gt__(self, o):
7837 """__gt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7838 return _IMP_algebra.ExtendedGridIndex4D___gt__(self, o)
7841 def __ge__(self, o):
7842 """__ge__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7843 return _IMP_algebra.ExtendedGridIndex4D___ge__(self, o)
7846 def __le__(self, o):
7847 """__le__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7848 return _IMP_algebra.ExtendedGridIndex4D___le__(self, o)
7851 def __setitem__(self, i, v):
7852 """__setitem__(ExtendedGridIndex4D self, unsigned int i, int const & v)"""
7853 return _IMP_algebra.ExtendedGridIndex4D___setitem__(self, i, v)
7856 def __getitem__(self, i):
7857 """__getitem__(ExtendedGridIndex4D self, unsigned int i) -> int const &"""
7858 return _IMP_algebra.ExtendedGridIndex4D___getitem__(self, i)
7861 def show(self, *args):
7863 show(ExtendedGridIndex4D self, _ostream out)
7864 show(ExtendedGridIndex4D self)
7866 return _IMP_algebra.ExtendedGridIndex4D_show(self, *args)
7870 """__len__(ExtendedGridIndex4D self) -> unsigned int"""
7871 return _IMP_algebra.ExtendedGridIndex4D___len__(self)
7875 """__hash__(ExtendedGridIndex4D self) -> std::size_t"""
7876 return _IMP_algebra.ExtendedGridIndex4D___hash__(self)
7879 def get_uniform_offset(self, ii):
7880 """get_uniform_offset(ExtendedGridIndex4D self, int ii) -> ExtendedGridIndex4D"""
7881 return _IMP_algebra.ExtendedGridIndex4D_get_uniform_offset(self, ii)
7884 def get_offset(self, i, j, k):
7885 """get_offset(ExtendedGridIndex4D self, int i, int j, int k) -> ExtendedGridIndex4D"""
7886 return _IMP_algebra.ExtendedGridIndex4D_get_offset(self, i, j, k)
7890 """__str__(ExtendedGridIndex4D self) -> std::string"""
7891 return _IMP_algebra.ExtendedGridIndex4D___str__(self)
7895 """__repr__(ExtendedGridIndex4D self) -> std::string"""
7896 return _IMP_algebra.ExtendedGridIndex4D___repr__(self)
7898 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex4D
7899 __del__ =
lambda self:
None
7900 ExtendedGridIndex4D_swigregister = _IMP_algebra.ExtendedGridIndex4D_swigregister
7901 ExtendedGridIndex4D_swigregister(ExtendedGridIndex4D)
7903 class ExtendedGridIndex5D(IMP._Value):
7904 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(5)> class"""
7905 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7907 def __init__(self, *args):
7909 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, IMP::Ints vals) -> ExtendedGridIndex5D
7910 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x) -> ExtendedGridIndex5D
7911 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y) -> ExtendedGridIndex5D
7912 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y, int z) -> ExtendedGridIndex5D
7913 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l) -> ExtendedGridIndex5D
7914 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex5D
7915 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex5D
7916 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self) -> ExtendedGridIndex5D
7918 this = _IMP_algebra.new_ExtendedGridIndex5D(*args)
7920 self.this.append(this)
7924 def get_dimension(self):
7925 """get_dimension(ExtendedGridIndex5D self) -> unsigned int"""
7926 return _IMP_algebra.ExtendedGridIndex5D_get_dimension(self)
7929 def __cmp__(self, o):
7930 """__cmp__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> int"""
7931 return _IMP_algebra.ExtendedGridIndex5D___cmp__(self, o)
7934 def __eq__(self, o):
7935 """__eq__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7936 return _IMP_algebra.ExtendedGridIndex5D___eq__(self, o)
7939 def __ne__(self, o):
7940 """__ne__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7941 return _IMP_algebra.ExtendedGridIndex5D___ne__(self, o)
7944 def __lt__(self, o):
7945 """__lt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7946 return _IMP_algebra.ExtendedGridIndex5D___lt__(self, o)
7949 def __gt__(self, o):
7950 """__gt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7951 return _IMP_algebra.ExtendedGridIndex5D___gt__(self, o)
7954 def __ge__(self, o):
7955 """__ge__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7956 return _IMP_algebra.ExtendedGridIndex5D___ge__(self, o)
7959 def __le__(self, o):
7960 """__le__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7961 return _IMP_algebra.ExtendedGridIndex5D___le__(self, o)
7964 def __setitem__(self, i, v):
7965 """__setitem__(ExtendedGridIndex5D self, unsigned int i, int const & v)"""
7966 return _IMP_algebra.ExtendedGridIndex5D___setitem__(self, i, v)
7969 def __getitem__(self, i):
7970 """__getitem__(ExtendedGridIndex5D self, unsigned int i) -> int const &"""
7971 return _IMP_algebra.ExtendedGridIndex5D___getitem__(self, i)
7974 def show(self, *args):
7976 show(ExtendedGridIndex5D self, _ostream out)
7977 show(ExtendedGridIndex5D self)
7979 return _IMP_algebra.ExtendedGridIndex5D_show(self, *args)
7983 """__len__(ExtendedGridIndex5D self) -> unsigned int"""
7984 return _IMP_algebra.ExtendedGridIndex5D___len__(self)
7988 """__hash__(ExtendedGridIndex5D self) -> std::size_t"""
7989 return _IMP_algebra.ExtendedGridIndex5D___hash__(self)
7992 def get_uniform_offset(self, ii):
7993 """get_uniform_offset(ExtendedGridIndex5D self, int ii) -> ExtendedGridIndex5D"""
7994 return _IMP_algebra.ExtendedGridIndex5D_get_uniform_offset(self, ii)
7997 def get_offset(self, i, j, k):
7998 """get_offset(ExtendedGridIndex5D self, int i, int j, int k) -> ExtendedGridIndex5D"""
7999 return _IMP_algebra.ExtendedGridIndex5D_get_offset(self, i, j, k)
8003 """__str__(ExtendedGridIndex5D self) -> std::string"""
8004 return _IMP_algebra.ExtendedGridIndex5D___str__(self)
8008 """__repr__(ExtendedGridIndex5D self) -> std::string"""
8009 return _IMP_algebra.ExtendedGridIndex5D___repr__(self)
8011 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex5D
8012 __del__ =
lambda self:
None
8013 ExtendedGridIndex5D_swigregister = _IMP_algebra.ExtendedGridIndex5D_swigregister
8014 ExtendedGridIndex5D_swigregister(ExtendedGridIndex5D)
8016 class ExtendedGridIndex6D(IMP._Value):
8017 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(6)> class"""
8018 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8020 def __init__(self, *args):
8022 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, IMP::Ints vals) -> ExtendedGridIndex6D
8023 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x) -> ExtendedGridIndex6D
8024 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y) -> ExtendedGridIndex6D
8025 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y, int z) -> ExtendedGridIndex6D
8026 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l) -> ExtendedGridIndex6D
8027 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex6D
8028 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex6D
8029 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self) -> ExtendedGridIndex6D
8031 this = _IMP_algebra.new_ExtendedGridIndex6D(*args)
8033 self.this.append(this)
8037 def get_dimension(self):
8038 """get_dimension(ExtendedGridIndex6D self) -> unsigned int"""
8039 return _IMP_algebra.ExtendedGridIndex6D_get_dimension(self)
8042 def __cmp__(self, o):
8043 """__cmp__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> int"""
8044 return _IMP_algebra.ExtendedGridIndex6D___cmp__(self, o)
8047 def __eq__(self, o):
8048 """__eq__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8049 return _IMP_algebra.ExtendedGridIndex6D___eq__(self, o)
8052 def __ne__(self, o):
8053 """__ne__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8054 return _IMP_algebra.ExtendedGridIndex6D___ne__(self, o)
8057 def __lt__(self, o):
8058 """__lt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8059 return _IMP_algebra.ExtendedGridIndex6D___lt__(self, o)
8062 def __gt__(self, o):
8063 """__gt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8064 return _IMP_algebra.ExtendedGridIndex6D___gt__(self, o)
8067 def __ge__(self, o):
8068 """__ge__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8069 return _IMP_algebra.ExtendedGridIndex6D___ge__(self, o)
8072 def __le__(self, o):
8073 """__le__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
8074 return _IMP_algebra.ExtendedGridIndex6D___le__(self, o)
8077 def __setitem__(self, i, v):
8078 """__setitem__(ExtendedGridIndex6D self, unsigned int i, int const & v)"""
8079 return _IMP_algebra.ExtendedGridIndex6D___setitem__(self, i, v)
8082 def __getitem__(self, i):
8083 """__getitem__(ExtendedGridIndex6D self, unsigned int i) -> int const &"""
8084 return _IMP_algebra.ExtendedGridIndex6D___getitem__(self, i)
8087 def show(self, *args):
8089 show(ExtendedGridIndex6D self, _ostream out)
8090 show(ExtendedGridIndex6D self)
8092 return _IMP_algebra.ExtendedGridIndex6D_show(self, *args)
8096 """__len__(ExtendedGridIndex6D self) -> unsigned int"""
8097 return _IMP_algebra.ExtendedGridIndex6D___len__(self)
8101 """__hash__(ExtendedGridIndex6D self) -> std::size_t"""
8102 return _IMP_algebra.ExtendedGridIndex6D___hash__(self)
8105 def get_uniform_offset(self, ii):
8106 """get_uniform_offset(ExtendedGridIndex6D self, int ii) -> ExtendedGridIndex6D"""
8107 return _IMP_algebra.ExtendedGridIndex6D_get_uniform_offset(self, ii)
8110 def get_offset(self, i, j, k):
8111 """get_offset(ExtendedGridIndex6D self, int i, int j, int k) -> ExtendedGridIndex6D"""
8112 return _IMP_algebra.ExtendedGridIndex6D_get_offset(self, i, j, k)
8116 """__str__(ExtendedGridIndex6D self) -> std::string"""
8117 return _IMP_algebra.ExtendedGridIndex6D___str__(self)
8121 """__repr__(ExtendedGridIndex6D self) -> std::string"""
8122 return _IMP_algebra.ExtendedGridIndex6D___repr__(self)
8124 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex6D
8125 __del__ =
lambda self:
None
8126 ExtendedGridIndex6D_swigregister = _IMP_algebra.ExtendedGridIndex6D_swigregister
8127 ExtendedGridIndex6D_swigregister(ExtendedGridIndex6D)
8129 class ExtendedGridIndexKD(IMP._Value):
8130 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(-1)> class"""
8131 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8133 def __init__(self, *args):
8135 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, IMP::Ints vals) -> ExtendedGridIndexKD
8136 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x) -> ExtendedGridIndexKD
8137 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y) -> ExtendedGridIndexKD
8138 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y, int z) -> ExtendedGridIndexKD
8139 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l) -> ExtendedGridIndexKD
8140 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndexKD
8141 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndexKD
8142 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self) -> ExtendedGridIndexKD
8144 this = _IMP_algebra.new_ExtendedGridIndexKD(*args)
8146 self.this.append(this)
8150 def get_dimension(self):
8151 """get_dimension(ExtendedGridIndexKD self) -> unsigned int"""
8152 return _IMP_algebra.ExtendedGridIndexKD_get_dimension(self)
8155 def __cmp__(self, o):
8156 """__cmp__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> int"""
8157 return _IMP_algebra.ExtendedGridIndexKD___cmp__(self, o)
8160 def __eq__(self, o):
8161 """__eq__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8162 return _IMP_algebra.ExtendedGridIndexKD___eq__(self, o)
8165 def __ne__(self, o):
8166 """__ne__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8167 return _IMP_algebra.ExtendedGridIndexKD___ne__(self, o)
8170 def __lt__(self, o):
8171 """__lt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8172 return _IMP_algebra.ExtendedGridIndexKD___lt__(self, o)
8175 def __gt__(self, o):
8176 """__gt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8177 return _IMP_algebra.ExtendedGridIndexKD___gt__(self, o)
8180 def __ge__(self, o):
8181 """__ge__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8182 return _IMP_algebra.ExtendedGridIndexKD___ge__(self, o)
8185 def __le__(self, o):
8186 """__le__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
8187 return _IMP_algebra.ExtendedGridIndexKD___le__(self, o)
8190 def __setitem__(self, i, v):
8191 """__setitem__(ExtendedGridIndexKD self, unsigned int i, int const & v)"""
8192 return _IMP_algebra.ExtendedGridIndexKD___setitem__(self, i, v)
8195 def __getitem__(self, i):
8196 """__getitem__(ExtendedGridIndexKD self, unsigned int i) -> int const &"""
8197 return _IMP_algebra.ExtendedGridIndexKD___getitem__(self, i)
8200 def show(self, *args):
8202 show(ExtendedGridIndexKD self, _ostream out)
8203 show(ExtendedGridIndexKD self)
8205 return _IMP_algebra.ExtendedGridIndexKD_show(self, *args)
8209 """__len__(ExtendedGridIndexKD self) -> unsigned int"""
8210 return _IMP_algebra.ExtendedGridIndexKD___len__(self)
8214 """__hash__(ExtendedGridIndexKD self) -> std::size_t"""
8215 return _IMP_algebra.ExtendedGridIndexKD___hash__(self)
8218 def get_uniform_offset(self, ii):
8219 """get_uniform_offset(ExtendedGridIndexKD self, int ii) -> ExtendedGridIndexKD"""
8220 return _IMP_algebra.ExtendedGridIndexKD_get_uniform_offset(self, ii)
8223 def get_offset(self, i, j, k):
8224 """get_offset(ExtendedGridIndexKD self, int i, int j, int k) -> ExtendedGridIndexKD"""
8225 return _IMP_algebra.ExtendedGridIndexKD_get_offset(self, i, j, k)
8229 """__str__(ExtendedGridIndexKD self) -> std::string"""
8230 return _IMP_algebra.ExtendedGridIndexKD___str__(self)
8234 """__repr__(ExtendedGridIndexKD self) -> std::string"""
8235 return _IMP_algebra.ExtendedGridIndexKD___repr__(self)
8237 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndexKD
8238 __del__ =
lambda self:
None
8239 ExtendedGridIndexKD_swigregister = _IMP_algebra.ExtendedGridIndexKD_swigregister
8240 ExtendedGridIndexKD_swigregister(ExtendedGridIndexKD)
8242 class BoundedGridRange1D(object):
8243 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(1)> class"""
8244 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8246 def get_is_bounded():
8247 """get_is_bounded() -> bool"""
8248 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
8250 get_is_bounded = staticmethod(get_is_bounded)
8252 def __init__(self, *args):
8254 __init__(IMP::algebra::BoundedGridRangeD<(1)> self) -> BoundedGridRange1D
8255 __init__(IMP::algebra::BoundedGridRangeD<(1)> self, IMP::Ints const & counts) -> BoundedGridRange1D
8257 this = _IMP_algebra.new_BoundedGridRange1D(*args)
8259 self.this.append(this)
8263 def get_number_of_voxels(self, *args):
8265 get_number_of_voxels(BoundedGridRange1D self, unsigned int i) -> unsigned int
8266 get_number_of_voxels(BoundedGridRange1D self) -> unsigned int
8268 return _IMP_algebra.BoundedGridRange1D_get_number_of_voxels(self, *args)
8271 def get_end_index(self):
8272 """get_end_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
8273 return _IMP_algebra.BoundedGridRange1D_get_end_index(self)
8276 def show(self, *args):
8278 show(BoundedGridRange1D self, _ostream out)
8279 show(BoundedGridRange1D self)
8281 return _IMP_algebra.BoundedGridRange1D_show(self, *args)
8284 def get_all_indexes(self):
8285 """get_all_indexes(BoundedGridRange1D self) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
8286 return _IMP_algebra.BoundedGridRange1D_get_all_indexes(self)
8290 """get_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
8291 return _IMP_algebra.BoundedGridRange1D_get_indexes(self, lb, ub)
8294 def get_extended_indexes(self, lb, ub):
8295 """get_extended_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
8296 return _IMP_algebra.BoundedGridRange1D_get_extended_indexes(self, lb, ub)
8300 """get_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> GridIndex1D"""
8301 return _IMP_algebra.BoundedGridRange1D_get_index(self, v)
8304 def get_has_index(self, v):
8305 """get_has_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> bool"""
8306 return _IMP_algebra.BoundedGridRange1D_get_has_index(self, v)
8309 def get_minimum_extended_index(self):
8310 """get_minimum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
8311 return _IMP_algebra.BoundedGridRange1D_get_minimum_extended_index(self)
8314 def get_maximum_extended_index(self):
8315 """get_maximum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
8316 return _IMP_algebra.BoundedGridRange1D_get_maximum_extended_index(self)
8320 """__str__(BoundedGridRange1D self) -> std::string"""
8321 return _IMP_algebra.BoundedGridRange1D___str__(self)
8325 """__repr__(BoundedGridRange1D self) -> std::string"""
8326 return _IMP_algebra.BoundedGridRange1D___repr__(self)
8329 def __cmp__(self, arg2):
8330 """__cmp__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> int"""
8331 return _IMP_algebra.BoundedGridRange1D___cmp__(self, arg2)
8334 def __eq__(self, arg2):
8335 """__eq__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> bool"""
8336 return _IMP_algebra.BoundedGridRange1D___eq__(self, arg2)
8338 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange1D
8339 __del__ =
lambda self:
None
8340 BoundedGridRange1D_swigregister = _IMP_algebra.BoundedGridRange1D_swigregister
8341 BoundedGridRange1D_swigregister(BoundedGridRange1D)
8343 def BoundedGridRange1D_get_is_bounded():
8344 """BoundedGridRange1D_get_is_bounded() -> bool"""
8345 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
8347 class BoundedGridRange2D(object):
8348 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(2)> class"""
8349 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8351 def get_is_bounded():
8352 """get_is_bounded() -> bool"""
8353 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
8355 get_is_bounded = staticmethod(get_is_bounded)
8357 def __init__(self, *args):
8359 __init__(IMP::algebra::BoundedGridRangeD<(2)> self) -> BoundedGridRange2D
8360 __init__(IMP::algebra::BoundedGridRangeD<(2)> self, IMP::Ints const & counts) -> BoundedGridRange2D
8362 this = _IMP_algebra.new_BoundedGridRange2D(*args)
8364 self.this.append(this)
8368 def get_number_of_voxels(self, *args):
8370 get_number_of_voxels(BoundedGridRange2D self, unsigned int i) -> unsigned int
8371 get_number_of_voxels(BoundedGridRange2D self) -> unsigned int
8373 return _IMP_algebra.BoundedGridRange2D_get_number_of_voxels(self, *args)
8376 def get_end_index(self):
8377 """get_end_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
8378 return _IMP_algebra.BoundedGridRange2D_get_end_index(self)
8381 def show(self, *args):
8383 show(BoundedGridRange2D self, _ostream out)
8384 show(BoundedGridRange2D self)
8386 return _IMP_algebra.BoundedGridRange2D_show(self, *args)
8389 def get_all_indexes(self):
8390 """get_all_indexes(BoundedGridRange2D self) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
8391 return _IMP_algebra.BoundedGridRange2D_get_all_indexes(self)
8395 """get_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
8396 return _IMP_algebra.BoundedGridRange2D_get_indexes(self, lb, ub)
8399 def get_extended_indexes(self, lb, ub):
8400 """get_extended_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
8401 return _IMP_algebra.BoundedGridRange2D_get_extended_indexes(self, lb, ub)
8405 """get_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> GridIndex2D"""
8406 return _IMP_algebra.BoundedGridRange2D_get_index(self, v)
8409 def get_has_index(self, v):
8410 """get_has_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> bool"""
8411 return _IMP_algebra.BoundedGridRange2D_get_has_index(self, v)
8414 def get_minimum_extended_index(self):
8415 """get_minimum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
8416 return _IMP_algebra.BoundedGridRange2D_get_minimum_extended_index(self)
8419 def get_maximum_extended_index(self):
8420 """get_maximum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
8421 return _IMP_algebra.BoundedGridRange2D_get_maximum_extended_index(self)
8425 """__str__(BoundedGridRange2D self) -> std::string"""
8426 return _IMP_algebra.BoundedGridRange2D___str__(self)
8430 """__repr__(BoundedGridRange2D self) -> std::string"""
8431 return _IMP_algebra.BoundedGridRange2D___repr__(self)
8434 def __cmp__(self, arg2):
8435 """__cmp__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> int"""
8436 return _IMP_algebra.BoundedGridRange2D___cmp__(self, arg2)
8439 def __eq__(self, arg2):
8440 """__eq__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> bool"""
8441 return _IMP_algebra.BoundedGridRange2D___eq__(self, arg2)
8443 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange2D
8444 __del__ =
lambda self:
None
8445 BoundedGridRange2D_swigregister = _IMP_algebra.BoundedGridRange2D_swigregister
8446 BoundedGridRange2D_swigregister(BoundedGridRange2D)
8448 def BoundedGridRange2D_get_is_bounded():
8449 """BoundedGridRange2D_get_is_bounded() -> bool"""
8450 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
8452 class BoundedGridRange3D(object):
8453 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(3)> class"""
8454 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8456 def get_is_bounded():
8457 """get_is_bounded() -> bool"""
8458 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
8460 get_is_bounded = staticmethod(get_is_bounded)
8462 def __init__(self, *args):
8464 __init__(IMP::algebra::BoundedGridRangeD<(3)> self) -> BoundedGridRange3D
8465 __init__(IMP::algebra::BoundedGridRangeD<(3)> self, IMP::Ints const & counts) -> BoundedGridRange3D
8467 this = _IMP_algebra.new_BoundedGridRange3D(*args)
8469 self.this.append(this)
8473 def get_number_of_voxels(self, *args):
8475 get_number_of_voxels(BoundedGridRange3D self, unsigned int i) -> unsigned int
8476 get_number_of_voxels(BoundedGridRange3D self) -> unsigned int
8478 return _IMP_algebra.BoundedGridRange3D_get_number_of_voxels(self, *args)
8481 def get_end_index(self):
8482 """get_end_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
8483 return _IMP_algebra.BoundedGridRange3D_get_end_index(self)
8486 def show(self, *args):
8488 show(BoundedGridRange3D self, _ostream out)
8489 show(BoundedGridRange3D self)
8491 return _IMP_algebra.BoundedGridRange3D_show(self, *args)
8494 def get_all_indexes(self):
8495 """get_all_indexes(BoundedGridRange3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
8496 return _IMP_algebra.BoundedGridRange3D_get_all_indexes(self)
8500 """get_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
8501 return _IMP_algebra.BoundedGridRange3D_get_indexes(self, lb, ub)
8504 def get_extended_indexes(self, lb, ub):
8505 """get_extended_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
8506 return _IMP_algebra.BoundedGridRange3D_get_extended_indexes(self, lb, ub)
8510 """get_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
8511 return _IMP_algebra.BoundedGridRange3D_get_index(self, v)
8514 def get_has_index(self, v):
8515 """get_has_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> bool"""
8516 return _IMP_algebra.BoundedGridRange3D_get_has_index(self, v)
8519 def get_minimum_extended_index(self):
8520 """get_minimum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
8521 return _IMP_algebra.BoundedGridRange3D_get_minimum_extended_index(self)
8524 def get_maximum_extended_index(self):
8525 """get_maximum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
8526 return _IMP_algebra.BoundedGridRange3D_get_maximum_extended_index(self)
8530 """__str__(BoundedGridRange3D self) -> std::string"""
8531 return _IMP_algebra.BoundedGridRange3D___str__(self)
8535 """__repr__(BoundedGridRange3D self) -> std::string"""
8536 return _IMP_algebra.BoundedGridRange3D___repr__(self)
8539 def __cmp__(self, arg2):
8540 """__cmp__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> int"""
8541 return _IMP_algebra.BoundedGridRange3D___cmp__(self, arg2)
8544 def __eq__(self, arg2):
8545 """__eq__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> bool"""
8546 return _IMP_algebra.BoundedGridRange3D___eq__(self, arg2)
8548 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange3D
8549 __del__ =
lambda self:
None
8550 BoundedGridRange3D_swigregister = _IMP_algebra.BoundedGridRange3D_swigregister
8551 BoundedGridRange3D_swigregister(BoundedGridRange3D)
8553 def BoundedGridRange3D_get_is_bounded():
8554 """BoundedGridRange3D_get_is_bounded() -> bool"""
8555 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
8557 class BoundedGridRange4D(object):
8558 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(4)> class"""
8559 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8561 def get_is_bounded():
8562 """get_is_bounded() -> bool"""
8563 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
8565 get_is_bounded = staticmethod(get_is_bounded)
8567 def __init__(self, *args):
8569 __init__(IMP::algebra::BoundedGridRangeD<(4)> self) -> BoundedGridRange4D
8570 __init__(IMP::algebra::BoundedGridRangeD<(4)> self, IMP::Ints const & counts) -> BoundedGridRange4D
8572 this = _IMP_algebra.new_BoundedGridRange4D(*args)
8574 self.this.append(this)
8578 def get_number_of_voxels(self, *args):
8580 get_number_of_voxels(BoundedGridRange4D self, unsigned int i) -> unsigned int
8581 get_number_of_voxels(BoundedGridRange4D self) -> unsigned int
8583 return _IMP_algebra.BoundedGridRange4D_get_number_of_voxels(self, *args)
8586 def get_end_index(self):
8587 """get_end_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8588 return _IMP_algebra.BoundedGridRange4D_get_end_index(self)
8591 def show(self, *args):
8593 show(BoundedGridRange4D self, _ostream out)
8594 show(BoundedGridRange4D self)
8596 return _IMP_algebra.BoundedGridRange4D_show(self, *args)
8599 def get_all_indexes(self):
8600 """get_all_indexes(BoundedGridRange4D self) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
8601 return _IMP_algebra.BoundedGridRange4D_get_all_indexes(self)
8605 """get_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
8606 return _IMP_algebra.BoundedGridRange4D_get_indexes(self, lb, ub)
8609 def get_extended_indexes(self, lb, ub):
8610 """get_extended_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
8611 return _IMP_algebra.BoundedGridRange4D_get_extended_indexes(self, lb, ub)
8615 """get_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> GridIndex4D"""
8616 return _IMP_algebra.BoundedGridRange4D_get_index(self, v)
8619 def get_has_index(self, v):
8620 """get_has_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> bool"""
8621 return _IMP_algebra.BoundedGridRange4D_get_has_index(self, v)
8624 def get_minimum_extended_index(self):
8625 """get_minimum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8626 return _IMP_algebra.BoundedGridRange4D_get_minimum_extended_index(self)
8629 def get_maximum_extended_index(self):
8630 """get_maximum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8631 return _IMP_algebra.BoundedGridRange4D_get_maximum_extended_index(self)
8635 """__str__(BoundedGridRange4D self) -> std::string"""
8636 return _IMP_algebra.BoundedGridRange4D___str__(self)
8640 """__repr__(BoundedGridRange4D self) -> std::string"""
8641 return _IMP_algebra.BoundedGridRange4D___repr__(self)
8644 def __cmp__(self, arg2):
8645 """__cmp__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> int"""
8646 return _IMP_algebra.BoundedGridRange4D___cmp__(self, arg2)
8649 def __eq__(self, arg2):
8650 """__eq__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> bool"""
8651 return _IMP_algebra.BoundedGridRange4D___eq__(self, arg2)
8653 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange4D
8654 __del__ =
lambda self:
None
8655 BoundedGridRange4D_swigregister = _IMP_algebra.BoundedGridRange4D_swigregister
8656 BoundedGridRange4D_swigregister(BoundedGridRange4D)
8658 def BoundedGridRange4D_get_is_bounded():
8659 """BoundedGridRange4D_get_is_bounded() -> bool"""
8660 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
8662 class BoundedGridRange5D(object):
8663 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(5)> class"""
8664 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8666 def get_is_bounded():
8667 """get_is_bounded() -> bool"""
8668 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8670 get_is_bounded = staticmethod(get_is_bounded)
8672 def __init__(self, *args):
8674 __init__(IMP::algebra::BoundedGridRangeD<(5)> self) -> BoundedGridRange5D
8675 __init__(IMP::algebra::BoundedGridRangeD<(5)> self, IMP::Ints const & counts) -> BoundedGridRange5D
8677 this = _IMP_algebra.new_BoundedGridRange5D(*args)
8679 self.this.append(this)
8683 def get_number_of_voxels(self, *args):
8685 get_number_of_voxels(BoundedGridRange5D self, unsigned int i) -> unsigned int
8686 get_number_of_voxels(BoundedGridRange5D self) -> unsigned int
8688 return _IMP_algebra.BoundedGridRange5D_get_number_of_voxels(self, *args)
8691 def get_end_index(self):
8692 """get_end_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8693 return _IMP_algebra.BoundedGridRange5D_get_end_index(self)
8696 def show(self, *args):
8698 show(BoundedGridRange5D self, _ostream out)
8699 show(BoundedGridRange5D self)
8701 return _IMP_algebra.BoundedGridRange5D_show(self, *args)
8704 def get_all_indexes(self):
8705 """get_all_indexes(BoundedGridRange5D self) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8706 return _IMP_algebra.BoundedGridRange5D_get_all_indexes(self)
8710 """get_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8711 return _IMP_algebra.BoundedGridRange5D_get_indexes(self, lb, ub)
8714 def get_extended_indexes(self, lb, ub):
8715 """get_extended_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
8716 return _IMP_algebra.BoundedGridRange5D_get_extended_indexes(self, lb, ub)
8720 """get_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> GridIndex5D"""
8721 return _IMP_algebra.BoundedGridRange5D_get_index(self, v)
8724 def get_has_index(self, v):
8725 """get_has_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> bool"""
8726 return _IMP_algebra.BoundedGridRange5D_get_has_index(self, v)
8729 def get_minimum_extended_index(self):
8730 """get_minimum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8731 return _IMP_algebra.BoundedGridRange5D_get_minimum_extended_index(self)
8734 def get_maximum_extended_index(self):
8735 """get_maximum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8736 return _IMP_algebra.BoundedGridRange5D_get_maximum_extended_index(self)
8740 """__str__(BoundedGridRange5D self) -> std::string"""
8741 return _IMP_algebra.BoundedGridRange5D___str__(self)
8745 """__repr__(BoundedGridRange5D self) -> std::string"""
8746 return _IMP_algebra.BoundedGridRange5D___repr__(self)
8749 def __cmp__(self, arg2):
8750 """__cmp__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> int"""
8751 return _IMP_algebra.BoundedGridRange5D___cmp__(self, arg2)
8754 def __eq__(self, arg2):
8755 """__eq__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> bool"""
8756 return _IMP_algebra.BoundedGridRange5D___eq__(self, arg2)
8758 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange5D
8759 __del__ =
lambda self:
None
8760 BoundedGridRange5D_swigregister = _IMP_algebra.BoundedGridRange5D_swigregister
8761 BoundedGridRange5D_swigregister(BoundedGridRange5D)
8763 def BoundedGridRange5D_get_is_bounded():
8764 """BoundedGridRange5D_get_is_bounded() -> bool"""
8765 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8767 class BoundedGridRange6D(object):
8768 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(6)> class"""
8769 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8771 def get_is_bounded():
8772 """get_is_bounded() -> bool"""
8773 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8775 get_is_bounded = staticmethod(get_is_bounded)
8777 def __init__(self, *args):
8779 __init__(IMP::algebra::BoundedGridRangeD<(6)> self) -> BoundedGridRange6D
8780 __init__(IMP::algebra::BoundedGridRangeD<(6)> self, IMP::Ints const & counts) -> BoundedGridRange6D
8782 this = _IMP_algebra.new_BoundedGridRange6D(*args)
8784 self.this.append(this)
8788 def get_number_of_voxels(self, *args):
8790 get_number_of_voxels(BoundedGridRange6D self, unsigned int i) -> unsigned int
8791 get_number_of_voxels(BoundedGridRange6D self) -> unsigned int
8793 return _IMP_algebra.BoundedGridRange6D_get_number_of_voxels(self, *args)
8796 def get_end_index(self):
8797 """get_end_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8798 return _IMP_algebra.BoundedGridRange6D_get_end_index(self)
8801 def show(self, *args):
8803 show(BoundedGridRange6D self, _ostream out)
8804 show(BoundedGridRange6D self)
8806 return _IMP_algebra.BoundedGridRange6D_show(self, *args)
8809 def get_all_indexes(self):
8810 """get_all_indexes(BoundedGridRange6D self) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8811 return _IMP_algebra.BoundedGridRange6D_get_all_indexes(self)
8815 """get_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8816 return _IMP_algebra.BoundedGridRange6D_get_indexes(self, lb, ub)
8819 def get_extended_indexes(self, lb, ub):
8820 """get_extended_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
8821 return _IMP_algebra.BoundedGridRange6D_get_extended_indexes(self, lb, ub)
8825 """get_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> GridIndex6D"""
8826 return _IMP_algebra.BoundedGridRange6D_get_index(self, v)
8829 def get_has_index(self, v):
8830 """get_has_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> bool"""
8831 return _IMP_algebra.BoundedGridRange6D_get_has_index(self, v)
8834 def get_minimum_extended_index(self):
8835 """get_minimum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8836 return _IMP_algebra.BoundedGridRange6D_get_minimum_extended_index(self)
8839 def get_maximum_extended_index(self):
8840 """get_maximum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8841 return _IMP_algebra.BoundedGridRange6D_get_maximum_extended_index(self)
8845 """__str__(BoundedGridRange6D self) -> std::string"""
8846 return _IMP_algebra.BoundedGridRange6D___str__(self)
8850 """__repr__(BoundedGridRange6D self) -> std::string"""
8851 return _IMP_algebra.BoundedGridRange6D___repr__(self)
8854 def __cmp__(self, arg2):
8855 """__cmp__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> int"""
8856 return _IMP_algebra.BoundedGridRange6D___cmp__(self, arg2)
8859 def __eq__(self, arg2):
8860 """__eq__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> bool"""
8861 return _IMP_algebra.BoundedGridRange6D___eq__(self, arg2)
8863 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange6D
8864 __del__ =
lambda self:
None
8865 BoundedGridRange6D_swigregister = _IMP_algebra.BoundedGridRange6D_swigregister
8866 BoundedGridRange6D_swigregister(BoundedGridRange6D)
8868 def BoundedGridRange6D_get_is_bounded():
8869 """BoundedGridRange6D_get_is_bounded() -> bool"""
8870 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8872 class BoundedGridRangeKD(object):
8873 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(-1)> class"""
8874 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8876 def get_is_bounded():
8877 """get_is_bounded() -> bool"""
8878 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8880 get_is_bounded = staticmethod(get_is_bounded)
8882 def __init__(self, *args):
8884 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self) -> BoundedGridRangeKD
8885 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self, IMP::Ints const & counts) -> BoundedGridRangeKD
8887 this = _IMP_algebra.new_BoundedGridRangeKD(*args)
8889 self.this.append(this)
8893 def get_number_of_voxels(self, *args):
8895 get_number_of_voxels(BoundedGridRangeKD self, unsigned int i) -> unsigned int
8896 get_number_of_voxels(BoundedGridRangeKD self) -> unsigned int
8898 return _IMP_algebra.BoundedGridRangeKD_get_number_of_voxels(self, *args)
8901 def get_end_index(self):
8902 """get_end_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8903 return _IMP_algebra.BoundedGridRangeKD_get_end_index(self)
8906 def show(self, *args):
8908 show(BoundedGridRangeKD self, _ostream out)
8909 show(BoundedGridRangeKD self)
8911 return _IMP_algebra.BoundedGridRangeKD_show(self, *args)
8914 def get_all_indexes(self):
8915 """get_all_indexes(BoundedGridRangeKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8916 return _IMP_algebra.BoundedGridRangeKD_get_all_indexes(self)
8920 """get_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8921 return _IMP_algebra.BoundedGridRangeKD_get_indexes(self, lb, ub)
8924 def get_extended_indexes(self, lb, ub):
8925 """get_extended_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
8926 return _IMP_algebra.BoundedGridRangeKD_get_extended_indexes(self, lb, ub)
8930 """get_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
8931 return _IMP_algebra.BoundedGridRangeKD_get_index(self, v)
8934 def get_has_index(self, v):
8935 """get_has_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> bool"""
8936 return _IMP_algebra.BoundedGridRangeKD_get_has_index(self, v)
8939 def get_minimum_extended_index(self):
8940 """get_minimum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8941 return _IMP_algebra.BoundedGridRangeKD_get_minimum_extended_index(self)
8944 def get_maximum_extended_index(self):
8945 """get_maximum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8946 return _IMP_algebra.BoundedGridRangeKD_get_maximum_extended_index(self)
8950 """__str__(BoundedGridRangeKD self) -> std::string"""
8951 return _IMP_algebra.BoundedGridRangeKD___str__(self)
8955 """__repr__(BoundedGridRangeKD self) -> std::string"""
8956 return _IMP_algebra.BoundedGridRangeKD___repr__(self)
8959 def __cmp__(self, arg2):
8960 """__cmp__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> int"""
8961 return _IMP_algebra.BoundedGridRangeKD___cmp__(self, arg2)
8964 def __eq__(self, arg2):
8965 """__eq__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> bool"""
8966 return _IMP_algebra.BoundedGridRangeKD___eq__(self, arg2)
8968 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRangeKD
8969 __del__ =
lambda self:
None
8970 BoundedGridRangeKD_swigregister = _IMP_algebra.BoundedGridRangeKD_swigregister
8971 BoundedGridRangeKD_swigregister(BoundedGridRangeKD)
8973 def BoundedGridRangeKD_get_is_bounded():
8974 """BoundedGridRangeKD_get_is_bounded() -> bool"""
8975 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8977 class UnboundedGridRange1D(object):
8978 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(1)> class"""
8979 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8981 def __init__(self, *args):
8983 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self) -> UnboundedGridRange1D
8984 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self, IMP::Ints const & arg2) -> UnboundedGridRange1D
8986 this = _IMP_algebra.new_UnboundedGridRange1D(*args)
8988 self.this.append(this)
8992 def set_number_of_voxels(self, arg2):
8993 """set_number_of_voxels(UnboundedGridRange1D self, IMP::Ints arg2)"""
8994 return _IMP_algebra.UnboundedGridRange1D_set_number_of_voxels(self, arg2)
8997 def get_number_of_voxels(self, arg2):
8998 """get_number_of_voxels(UnboundedGridRange1D self, int arg2) -> unsigned int"""
8999 return _IMP_algebra.UnboundedGridRange1D_get_number_of_voxels(self, arg2)
9002 def get_is_bounded():
9003 """get_is_bounded() -> bool"""
9004 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
9006 get_is_bounded = staticmethod(get_is_bounded)
9008 def get_has_index(self, arg2):
9009 """get_has_index(UnboundedGridRange1D self, ExtendedGridIndex1D arg2) -> bool"""
9010 return _IMP_algebra.UnboundedGridRange1D_get_has_index(self, arg2)
9013 def show(self, *args):
9015 show(UnboundedGridRange1D self, _ostream out)
9016 show(UnboundedGridRange1D self)
9018 return _IMP_algebra.UnboundedGridRange1D_show(self, *args)
9021 def get_extended_indexes(self, lb, ub):
9022 """get_extended_indexes(UnboundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
9023 return _IMP_algebra.UnboundedGridRange1D_get_extended_indexes(self, lb, ub)
9027 """__str__(UnboundedGridRange1D self) -> std::string"""
9028 return _IMP_algebra.UnboundedGridRange1D___str__(self)
9032 """__repr__(UnboundedGridRange1D self) -> std::string"""
9033 return _IMP_algebra.UnboundedGridRange1D___repr__(self)
9036 def __cmp__(self, arg2):
9037 """__cmp__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> int"""
9038 return _IMP_algebra.UnboundedGridRange1D___cmp__(self, arg2)
9041 def __eq__(self, arg2):
9042 """__eq__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> bool"""
9043 return _IMP_algebra.UnboundedGridRange1D___eq__(self, arg2)
9045 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange1D
9046 __del__ =
lambda self:
None
9047 UnboundedGridRange1D_swigregister = _IMP_algebra.UnboundedGridRange1D_swigregister
9048 UnboundedGridRange1D_swigregister(UnboundedGridRange1D)
9050 def UnboundedGridRange1D_get_is_bounded():
9051 """UnboundedGridRange1D_get_is_bounded() -> bool"""
9052 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
9054 class UnboundedGridRange2D(object):
9055 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(2)> class"""
9056 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9058 def __init__(self, *args):
9060 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self) -> UnboundedGridRange2D
9061 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self, IMP::Ints const & arg2) -> UnboundedGridRange2D
9063 this = _IMP_algebra.new_UnboundedGridRange2D(*args)
9065 self.this.append(this)
9069 def set_number_of_voxels(self, arg2):
9070 """set_number_of_voxels(UnboundedGridRange2D self, IMP::Ints arg2)"""
9071 return _IMP_algebra.UnboundedGridRange2D_set_number_of_voxels(self, arg2)
9074 def get_number_of_voxels(self, arg2):
9075 """get_number_of_voxels(UnboundedGridRange2D self, int arg2) -> unsigned int"""
9076 return _IMP_algebra.UnboundedGridRange2D_get_number_of_voxels(self, arg2)
9079 def get_is_bounded():
9080 """get_is_bounded() -> bool"""
9081 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
9083 get_is_bounded = staticmethod(get_is_bounded)
9085 def get_has_index(self, arg2):
9086 """get_has_index(UnboundedGridRange2D self, ExtendedGridIndex2D arg2) -> bool"""
9087 return _IMP_algebra.UnboundedGridRange2D_get_has_index(self, arg2)
9090 def show(self, *args):
9092 show(UnboundedGridRange2D self, _ostream out)
9093 show(UnboundedGridRange2D self)
9095 return _IMP_algebra.UnboundedGridRange2D_show(self, *args)
9098 def get_extended_indexes(self, lb, ub):
9099 """get_extended_indexes(UnboundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
9100 return _IMP_algebra.UnboundedGridRange2D_get_extended_indexes(self, lb, ub)
9104 """__str__(UnboundedGridRange2D self) -> std::string"""
9105 return _IMP_algebra.UnboundedGridRange2D___str__(self)
9109 """__repr__(UnboundedGridRange2D self) -> std::string"""
9110 return _IMP_algebra.UnboundedGridRange2D___repr__(self)
9113 def __cmp__(self, arg2):
9114 """__cmp__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> int"""
9115 return _IMP_algebra.UnboundedGridRange2D___cmp__(self, arg2)
9118 def __eq__(self, arg2):
9119 """__eq__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> bool"""
9120 return _IMP_algebra.UnboundedGridRange2D___eq__(self, arg2)
9122 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange2D
9123 __del__ =
lambda self:
None
9124 UnboundedGridRange2D_swigregister = _IMP_algebra.UnboundedGridRange2D_swigregister
9125 UnboundedGridRange2D_swigregister(UnboundedGridRange2D)
9127 def UnboundedGridRange2D_get_is_bounded():
9128 """UnboundedGridRange2D_get_is_bounded() -> bool"""
9129 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
9131 class UnboundedGridRange3D(object):
9132 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(3)> class"""
9133 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9135 def __init__(self, *args):
9137 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self) -> UnboundedGridRange3D
9138 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self, IMP::Ints const & arg2) -> UnboundedGridRange3D
9140 this = _IMP_algebra.new_UnboundedGridRange3D(*args)
9142 self.this.append(this)
9146 def set_number_of_voxels(self, arg2):
9147 """set_number_of_voxels(UnboundedGridRange3D self, IMP::Ints arg2)"""
9148 return _IMP_algebra.UnboundedGridRange3D_set_number_of_voxels(self, arg2)
9151 def get_number_of_voxels(self, arg2):
9152 """get_number_of_voxels(UnboundedGridRange3D self, int arg2) -> unsigned int"""
9153 return _IMP_algebra.UnboundedGridRange3D_get_number_of_voxels(self, arg2)
9156 def get_is_bounded():
9157 """get_is_bounded() -> bool"""
9158 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
9160 get_is_bounded = staticmethod(get_is_bounded)
9162 def get_has_index(self, arg2):
9163 """get_has_index(UnboundedGridRange3D self, ExtendedGridIndex3D arg2) -> bool"""
9164 return _IMP_algebra.UnboundedGridRange3D_get_has_index(self, arg2)
9167 def show(self, *args):
9169 show(UnboundedGridRange3D self, _ostream out)
9170 show(UnboundedGridRange3D self)
9172 return _IMP_algebra.UnboundedGridRange3D_show(self, *args)
9175 def get_extended_indexes(self, lb, ub):
9176 """get_extended_indexes(UnboundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
9177 return _IMP_algebra.UnboundedGridRange3D_get_extended_indexes(self, lb, ub)
9181 """__str__(UnboundedGridRange3D self) -> std::string"""
9182 return _IMP_algebra.UnboundedGridRange3D___str__(self)
9186 """__repr__(UnboundedGridRange3D self) -> std::string"""
9187 return _IMP_algebra.UnboundedGridRange3D___repr__(self)
9190 def __cmp__(self, arg2):
9191 """__cmp__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> int"""
9192 return _IMP_algebra.UnboundedGridRange3D___cmp__(self, arg2)
9195 def __eq__(self, arg2):
9196 """__eq__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> bool"""
9197 return _IMP_algebra.UnboundedGridRange3D___eq__(self, arg2)
9199 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange3D
9200 __del__ =
lambda self:
None
9201 UnboundedGridRange3D_swigregister = _IMP_algebra.UnboundedGridRange3D_swigregister
9202 UnboundedGridRange3D_swigregister(UnboundedGridRange3D)
9204 def UnboundedGridRange3D_get_is_bounded():
9205 """UnboundedGridRange3D_get_is_bounded() -> bool"""
9206 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
9208 class UnboundedGridRange4D(object):
9209 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(4)> class"""
9210 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9212 def __init__(self, *args):
9214 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self) -> UnboundedGridRange4D
9215 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self, IMP::Ints const & arg2) -> UnboundedGridRange4D
9217 this = _IMP_algebra.new_UnboundedGridRange4D(*args)
9219 self.this.append(this)
9223 def set_number_of_voxels(self, arg2):
9224 """set_number_of_voxels(UnboundedGridRange4D self, IMP::Ints arg2)"""
9225 return _IMP_algebra.UnboundedGridRange4D_set_number_of_voxels(self, arg2)
9228 def get_number_of_voxels(self, arg2):
9229 """get_number_of_voxels(UnboundedGridRange4D self, int arg2) -> unsigned int"""
9230 return _IMP_algebra.UnboundedGridRange4D_get_number_of_voxels(self, arg2)
9233 def get_is_bounded():
9234 """get_is_bounded() -> bool"""
9235 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
9237 get_is_bounded = staticmethod(get_is_bounded)
9239 def get_has_index(self, arg2):
9240 """get_has_index(UnboundedGridRange4D self, ExtendedGridIndex4D arg2) -> bool"""
9241 return _IMP_algebra.UnboundedGridRange4D_get_has_index(self, arg2)
9244 def show(self, *args):
9246 show(UnboundedGridRange4D self, _ostream out)
9247 show(UnboundedGridRange4D self)
9249 return _IMP_algebra.UnboundedGridRange4D_show(self, *args)
9252 def get_extended_indexes(self, lb, ub):
9253 """get_extended_indexes(UnboundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
9254 return _IMP_algebra.UnboundedGridRange4D_get_extended_indexes(self, lb, ub)
9258 """__str__(UnboundedGridRange4D self) -> std::string"""
9259 return _IMP_algebra.UnboundedGridRange4D___str__(self)
9263 """__repr__(UnboundedGridRange4D self) -> std::string"""
9264 return _IMP_algebra.UnboundedGridRange4D___repr__(self)
9267 def __cmp__(self, arg2):
9268 """__cmp__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> int"""
9269 return _IMP_algebra.UnboundedGridRange4D___cmp__(self, arg2)
9272 def __eq__(self, arg2):
9273 """__eq__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> bool"""
9274 return _IMP_algebra.UnboundedGridRange4D___eq__(self, arg2)
9276 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange4D
9277 __del__ =
lambda self:
None
9278 UnboundedGridRange4D_swigregister = _IMP_algebra.UnboundedGridRange4D_swigregister
9279 UnboundedGridRange4D_swigregister(UnboundedGridRange4D)
9281 def UnboundedGridRange4D_get_is_bounded():
9282 """UnboundedGridRange4D_get_is_bounded() -> bool"""
9283 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
9285 class UnboundedGridRange5D(object):
9286 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(5)> class"""
9287 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9289 def __init__(self, *args):
9291 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self) -> UnboundedGridRange5D
9292 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self, IMP::Ints const & arg2) -> UnboundedGridRange5D
9294 this = _IMP_algebra.new_UnboundedGridRange5D(*args)
9296 self.this.append(this)
9300 def set_number_of_voxels(self, arg2):
9301 """set_number_of_voxels(UnboundedGridRange5D self, IMP::Ints arg2)"""
9302 return _IMP_algebra.UnboundedGridRange5D_set_number_of_voxels(self, arg2)
9305 def get_number_of_voxels(self, arg2):
9306 """get_number_of_voxels(UnboundedGridRange5D self, int arg2) -> unsigned int"""
9307 return _IMP_algebra.UnboundedGridRange5D_get_number_of_voxels(self, arg2)
9310 def get_is_bounded():
9311 """get_is_bounded() -> bool"""
9312 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
9314 get_is_bounded = staticmethod(get_is_bounded)
9316 def get_has_index(self, arg2):
9317 """get_has_index(UnboundedGridRange5D self, ExtendedGridIndex5D arg2) -> bool"""
9318 return _IMP_algebra.UnboundedGridRange5D_get_has_index(self, arg2)
9321 def show(self, *args):
9323 show(UnboundedGridRange5D self, _ostream out)
9324 show(UnboundedGridRange5D self)
9326 return _IMP_algebra.UnboundedGridRange5D_show(self, *args)
9329 def get_extended_indexes(self, lb, ub):
9330 """get_extended_indexes(UnboundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
9331 return _IMP_algebra.UnboundedGridRange5D_get_extended_indexes(self, lb, ub)
9335 """__str__(UnboundedGridRange5D self) -> std::string"""
9336 return _IMP_algebra.UnboundedGridRange5D___str__(self)
9340 """__repr__(UnboundedGridRange5D self) -> std::string"""
9341 return _IMP_algebra.UnboundedGridRange5D___repr__(self)
9344 def __cmp__(self, arg2):
9345 """__cmp__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> int"""
9346 return _IMP_algebra.UnboundedGridRange5D___cmp__(self, arg2)
9349 def __eq__(self, arg2):
9350 """__eq__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> bool"""
9351 return _IMP_algebra.UnboundedGridRange5D___eq__(self, arg2)
9353 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange5D
9354 __del__ =
lambda self:
None
9355 UnboundedGridRange5D_swigregister = _IMP_algebra.UnboundedGridRange5D_swigregister
9356 UnboundedGridRange5D_swigregister(UnboundedGridRange5D)
9358 def UnboundedGridRange5D_get_is_bounded():
9359 """UnboundedGridRange5D_get_is_bounded() -> bool"""
9360 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
9362 class UnboundedGridRange6D(object):
9363 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(6)> class"""
9364 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9366 def __init__(self, *args):
9368 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self) -> UnboundedGridRange6D
9369 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self, IMP::Ints const & arg2) -> UnboundedGridRange6D
9371 this = _IMP_algebra.new_UnboundedGridRange6D(*args)
9373 self.this.append(this)
9377 def set_number_of_voxels(self, arg2):
9378 """set_number_of_voxels(UnboundedGridRange6D self, IMP::Ints arg2)"""
9379 return _IMP_algebra.UnboundedGridRange6D_set_number_of_voxels(self, arg2)
9382 def get_number_of_voxels(self, arg2):
9383 """get_number_of_voxels(UnboundedGridRange6D self, int arg2) -> unsigned int"""
9384 return _IMP_algebra.UnboundedGridRange6D_get_number_of_voxels(self, arg2)
9387 def get_is_bounded():
9388 """get_is_bounded() -> bool"""
9389 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
9391 get_is_bounded = staticmethod(get_is_bounded)
9393 def get_has_index(self, arg2):
9394 """get_has_index(UnboundedGridRange6D self, ExtendedGridIndex6D arg2) -> bool"""
9395 return _IMP_algebra.UnboundedGridRange6D_get_has_index(self, arg2)
9398 def show(self, *args):
9400 show(UnboundedGridRange6D self, _ostream out)
9401 show(UnboundedGridRange6D self)
9403 return _IMP_algebra.UnboundedGridRange6D_show(self, *args)
9406 def get_extended_indexes(self, lb, ub):
9407 """get_extended_indexes(UnboundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
9408 return _IMP_algebra.UnboundedGridRange6D_get_extended_indexes(self, lb, ub)
9412 """__str__(UnboundedGridRange6D self) -> std::string"""
9413 return _IMP_algebra.UnboundedGridRange6D___str__(self)
9417 """__repr__(UnboundedGridRange6D self) -> std::string"""
9418 return _IMP_algebra.UnboundedGridRange6D___repr__(self)
9421 def __cmp__(self, arg2):
9422 """__cmp__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> int"""
9423 return _IMP_algebra.UnboundedGridRange6D___cmp__(self, arg2)
9426 def __eq__(self, arg2):
9427 """__eq__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> bool"""
9428 return _IMP_algebra.UnboundedGridRange6D___eq__(self, arg2)
9430 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange6D
9431 __del__ =
lambda self:
None
9432 UnboundedGridRange6D_swigregister = _IMP_algebra.UnboundedGridRange6D_swigregister
9433 UnboundedGridRange6D_swigregister(UnboundedGridRange6D)
9435 def UnboundedGridRange6D_get_is_bounded():
9436 """UnboundedGridRange6D_get_is_bounded() -> bool"""
9437 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
9439 class UnboundedGridRangeKD(object):
9440 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(-1)> class"""
9441 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9443 def __init__(self, *args):
9445 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self) -> UnboundedGridRangeKD
9446 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self, IMP::Ints const & arg2) -> UnboundedGridRangeKD
9448 this = _IMP_algebra.new_UnboundedGridRangeKD(*args)
9450 self.this.append(this)
9454 def set_number_of_voxels(self, arg2):
9455 """set_number_of_voxels(UnboundedGridRangeKD self, IMP::Ints arg2)"""
9456 return _IMP_algebra.UnboundedGridRangeKD_set_number_of_voxels(self, arg2)
9459 def get_number_of_voxels(self, arg2):
9460 """get_number_of_voxels(UnboundedGridRangeKD self, int arg2) -> unsigned int"""
9461 return _IMP_algebra.UnboundedGridRangeKD_get_number_of_voxels(self, arg2)
9464 def get_is_bounded():
9465 """get_is_bounded() -> bool"""
9466 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
9468 get_is_bounded = staticmethod(get_is_bounded)
9470 def get_has_index(self, arg2):
9471 """get_has_index(UnboundedGridRangeKD self, ExtendedGridIndexKD arg2) -> bool"""
9472 return _IMP_algebra.UnboundedGridRangeKD_get_has_index(self, arg2)
9475 def show(self, *args):
9477 show(UnboundedGridRangeKD self, _ostream out)
9478 show(UnboundedGridRangeKD self)
9480 return _IMP_algebra.UnboundedGridRangeKD_show(self, *args)
9483 def get_extended_indexes(self, lb, ub):
9484 """get_extended_indexes(UnboundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
9485 return _IMP_algebra.UnboundedGridRangeKD_get_extended_indexes(self, lb, ub)
9489 """__str__(UnboundedGridRangeKD self) -> std::string"""
9490 return _IMP_algebra.UnboundedGridRangeKD___str__(self)
9494 """__repr__(UnboundedGridRangeKD self) -> std::string"""
9495 return _IMP_algebra.UnboundedGridRangeKD___repr__(self)
9498 def __cmp__(self, arg2):
9499 """__cmp__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> int"""
9500 return _IMP_algebra.UnboundedGridRangeKD___cmp__(self, arg2)
9503 def __eq__(self, arg2):
9504 """__eq__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> bool"""
9505 return _IMP_algebra.UnboundedGridRangeKD___eq__(self, arg2)
9507 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRangeKD
9508 __del__ =
lambda self:
None
9509 UnboundedGridRangeKD_swigregister = _IMP_algebra.UnboundedGridRangeKD_swigregister
9510 UnboundedGridRangeKD_swigregister(UnboundedGridRangeKD)
9512 def UnboundedGridRangeKD_get_is_bounded():
9513 """UnboundedGridRangeKD_get_is_bounded() -> bool"""
9514 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
9516 class DefaultEmbedding1D(object):
9517 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(1)> class"""
9518 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9520 def __init__(self, *args):
9522 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self, Vector1D origin, Vector1D cell) -> DefaultEmbedding1D
9523 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self) -> DefaultEmbedding1D
9525 this = _IMP_algebra.new_DefaultEmbedding1D(*args)
9527 self.this.append(this)
9531 def set_origin(self, o):
9532 """set_origin(DefaultEmbedding1D self, Vector1D o)"""
9533 return _IMP_algebra.DefaultEmbedding1D_set_origin(self, o)
9536 def get_origin(self):
9537 """get_origin(DefaultEmbedding1D self) -> Vector1D"""
9538 return _IMP_algebra.DefaultEmbedding1D_get_origin(self)
9541 def get_dimension(self):
9542 """get_dimension(DefaultEmbedding1D self) -> unsigned int"""
9543 return _IMP_algebra.DefaultEmbedding1D_get_dimension(self)
9546 def set_unit_cell(self, o):
9547 """set_unit_cell(DefaultEmbedding1D self, Vector1D o)"""
9548 return _IMP_algebra.DefaultEmbedding1D_set_unit_cell(self, o)
9551 def get_inverse_unit_cell(self):
9552 """get_inverse_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
9553 return _IMP_algebra.DefaultEmbedding1D_get_inverse_unit_cell(self)
9556 def get_unit_cell(self):
9557 """get_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
9558 return _IMP_algebra.DefaultEmbedding1D_get_unit_cell(self)
9561 def get_extended_index(self, o):
9562 """get_extended_index(DefaultEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
9563 return _IMP_algebra.DefaultEmbedding1D_get_extended_index(self, o)
9567 """get_index(DefaultEmbedding1D self, Vector1D o) -> GridIndex1D"""
9568 return _IMP_algebra.DefaultEmbedding1D_get_index(self, o)
9571 def get_center(self, *args):
9573 get_center(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
9574 get_center(DefaultEmbedding1D self, GridIndex1D ei) -> Vector1D
9576 return _IMP_algebra.DefaultEmbedding1D_get_center(self, *args)
9579 def get_bounding_box(self, *args):
9581 get_bounding_box(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
9582 get_bounding_box(DefaultEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
9584 return _IMP_algebra.DefaultEmbedding1D_get_bounding_box(self, *args)
9587 def show(self, *args):
9589 show(DefaultEmbedding1D self, _ostream out)
9590 show(DefaultEmbedding1D self)
9592 return _IMP_algebra.DefaultEmbedding1D_show(self, *args)
9596 """__str__(DefaultEmbedding1D self) -> std::string"""
9597 return _IMP_algebra.DefaultEmbedding1D___str__(self)
9601 """__repr__(DefaultEmbedding1D self) -> std::string"""
9602 return _IMP_algebra.DefaultEmbedding1D___repr__(self)
9605 def __cmp__(self, arg2):
9606 """__cmp__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> int"""
9607 return _IMP_algebra.DefaultEmbedding1D___cmp__(self, arg2)
9610 def __eq__(self, arg2):
9611 """__eq__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> bool"""
9612 return _IMP_algebra.DefaultEmbedding1D___eq__(self, arg2)
9614 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding1D
9615 __del__ =
lambda self:
None
9616 DefaultEmbedding1D_swigregister = _IMP_algebra.DefaultEmbedding1D_swigregister
9617 DefaultEmbedding1D_swigregister(DefaultEmbedding1D)
9619 class DefaultEmbedding2D(object):
9620 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(2)> class"""
9621 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9623 def __init__(self, *args):
9625 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self, Vector2D origin, Vector2D cell) -> DefaultEmbedding2D
9626 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self) -> DefaultEmbedding2D
9628 this = _IMP_algebra.new_DefaultEmbedding2D(*args)
9630 self.this.append(this)
9634 def set_origin(self, o):
9635 """set_origin(DefaultEmbedding2D self, Vector2D o)"""
9636 return _IMP_algebra.DefaultEmbedding2D_set_origin(self, o)
9639 def get_origin(self):
9640 """get_origin(DefaultEmbedding2D self) -> Vector2D"""
9641 return _IMP_algebra.DefaultEmbedding2D_get_origin(self)
9644 def get_dimension(self):
9645 """get_dimension(DefaultEmbedding2D self) -> unsigned int"""
9646 return _IMP_algebra.DefaultEmbedding2D_get_dimension(self)
9649 def set_unit_cell(self, o):
9650 """set_unit_cell(DefaultEmbedding2D self, Vector2D o)"""
9651 return _IMP_algebra.DefaultEmbedding2D_set_unit_cell(self, o)
9654 def get_inverse_unit_cell(self):
9655 """get_inverse_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9656 return _IMP_algebra.DefaultEmbedding2D_get_inverse_unit_cell(self)
9659 def get_unit_cell(self):
9660 """get_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9661 return _IMP_algebra.DefaultEmbedding2D_get_unit_cell(self)
9664 def get_extended_index(self, o):
9665 """get_extended_index(DefaultEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
9666 return _IMP_algebra.DefaultEmbedding2D_get_extended_index(self, o)
9670 """get_index(DefaultEmbedding2D self, Vector2D o) -> GridIndex2D"""
9671 return _IMP_algebra.DefaultEmbedding2D_get_index(self, o)
9674 def get_center(self, *args):
9676 get_center(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
9677 get_center(DefaultEmbedding2D self, GridIndex2D ei) -> Vector2D
9679 return _IMP_algebra.DefaultEmbedding2D_get_center(self, *args)
9682 def get_bounding_box(self, *args):
9684 get_bounding_box(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
9685 get_bounding_box(DefaultEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
9687 return _IMP_algebra.DefaultEmbedding2D_get_bounding_box(self, *args)
9690 def show(self, *args):
9692 show(DefaultEmbedding2D self, _ostream out)
9693 show(DefaultEmbedding2D self)
9695 return _IMP_algebra.DefaultEmbedding2D_show(self, *args)
9699 """__str__(DefaultEmbedding2D self) -> std::string"""
9700 return _IMP_algebra.DefaultEmbedding2D___str__(self)
9704 """__repr__(DefaultEmbedding2D self) -> std::string"""
9705 return _IMP_algebra.DefaultEmbedding2D___repr__(self)
9708 def __cmp__(self, arg2):
9709 """__cmp__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> int"""
9710 return _IMP_algebra.DefaultEmbedding2D___cmp__(self, arg2)
9713 def __eq__(self, arg2):
9714 """__eq__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> bool"""
9715 return _IMP_algebra.DefaultEmbedding2D___eq__(self, arg2)
9717 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding2D
9718 __del__ =
lambda self:
None
9719 DefaultEmbedding2D_swigregister = _IMP_algebra.DefaultEmbedding2D_swigregister
9720 DefaultEmbedding2D_swigregister(DefaultEmbedding2D)
9722 class DefaultEmbedding3D(object):
9723 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(3)> class"""
9724 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9726 def __init__(self, *args):
9728 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self, Vector3D origin, Vector3D cell) -> DefaultEmbedding3D
9729 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self) -> DefaultEmbedding3D
9731 this = _IMP_algebra.new_DefaultEmbedding3D(*args)
9733 self.this.append(this)
9737 def set_origin(self, o):
9738 """set_origin(DefaultEmbedding3D self, Vector3D o)"""
9739 return _IMP_algebra.DefaultEmbedding3D_set_origin(self, o)
9742 def get_origin(self):
9743 """get_origin(DefaultEmbedding3D self) -> Vector3D"""
9744 return _IMP_algebra.DefaultEmbedding3D_get_origin(self)
9747 def get_dimension(self):
9748 """get_dimension(DefaultEmbedding3D self) -> unsigned int"""
9749 return _IMP_algebra.DefaultEmbedding3D_get_dimension(self)
9752 def set_unit_cell(self, o):
9753 """set_unit_cell(DefaultEmbedding3D self, Vector3D o)"""
9754 return _IMP_algebra.DefaultEmbedding3D_set_unit_cell(self, o)
9757 def get_inverse_unit_cell(self):
9758 """get_inverse_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9759 return _IMP_algebra.DefaultEmbedding3D_get_inverse_unit_cell(self)
9762 def get_unit_cell(self):
9763 """get_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9764 return _IMP_algebra.DefaultEmbedding3D_get_unit_cell(self)
9767 def get_extended_index(self, o):
9768 """get_extended_index(DefaultEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
9769 return _IMP_algebra.DefaultEmbedding3D_get_extended_index(self, o)
9773 """get_index(DefaultEmbedding3D self, Vector3D o) -> GridIndex3D"""
9774 return _IMP_algebra.DefaultEmbedding3D_get_index(self, o)
9777 def get_center(self, *args):
9779 get_center(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
9780 get_center(DefaultEmbedding3D self, GridIndex3D ei) -> Vector3D
9782 return _IMP_algebra.DefaultEmbedding3D_get_center(self, *args)
9785 def get_bounding_box(self, *args):
9787 get_bounding_box(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
9788 get_bounding_box(DefaultEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
9790 return _IMP_algebra.DefaultEmbedding3D_get_bounding_box(self, *args)
9793 def show(self, *args):
9795 show(DefaultEmbedding3D self, _ostream out)
9796 show(DefaultEmbedding3D self)
9798 return _IMP_algebra.DefaultEmbedding3D_show(self, *args)
9802 """__str__(DefaultEmbedding3D self) -> std::string"""
9803 return _IMP_algebra.DefaultEmbedding3D___str__(self)
9807 """__repr__(DefaultEmbedding3D self) -> std::string"""
9808 return _IMP_algebra.DefaultEmbedding3D___repr__(self)
9811 def __cmp__(self, arg2):
9812 """__cmp__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> int"""
9813 return _IMP_algebra.DefaultEmbedding3D___cmp__(self, arg2)
9816 def __eq__(self, arg2):
9817 """__eq__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> bool"""
9818 return _IMP_algebra.DefaultEmbedding3D___eq__(self, arg2)
9820 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding3D
9821 __del__ =
lambda self:
None
9822 DefaultEmbedding3D_swigregister = _IMP_algebra.DefaultEmbedding3D_swigregister
9823 DefaultEmbedding3D_swigregister(DefaultEmbedding3D)
9825 class DefaultEmbedding4D(object):
9826 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(4)> class"""
9827 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9829 def __init__(self, *args):
9831 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self, Vector4D origin, Vector4D cell) -> DefaultEmbedding4D
9832 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self) -> DefaultEmbedding4D
9834 this = _IMP_algebra.new_DefaultEmbedding4D(*args)
9836 self.this.append(this)
9840 def set_origin(self, o):
9841 """set_origin(DefaultEmbedding4D self, Vector4D o)"""
9842 return _IMP_algebra.DefaultEmbedding4D_set_origin(self, o)
9845 def get_origin(self):
9846 """get_origin(DefaultEmbedding4D self) -> Vector4D"""
9847 return _IMP_algebra.DefaultEmbedding4D_get_origin(self)
9850 def get_dimension(self):
9851 """get_dimension(DefaultEmbedding4D self) -> unsigned int"""
9852 return _IMP_algebra.DefaultEmbedding4D_get_dimension(self)
9855 def set_unit_cell(self, o):
9856 """set_unit_cell(DefaultEmbedding4D self, Vector4D o)"""
9857 return _IMP_algebra.DefaultEmbedding4D_set_unit_cell(self, o)
9860 def get_inverse_unit_cell(self):
9861 """get_inverse_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9862 return _IMP_algebra.DefaultEmbedding4D_get_inverse_unit_cell(self)
9865 def get_unit_cell(self):
9866 """get_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9867 return _IMP_algebra.DefaultEmbedding4D_get_unit_cell(self)
9870 def get_extended_index(self, o):
9871 """get_extended_index(DefaultEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
9872 return _IMP_algebra.DefaultEmbedding4D_get_extended_index(self, o)
9876 """get_index(DefaultEmbedding4D self, Vector4D o) -> GridIndex4D"""
9877 return _IMP_algebra.DefaultEmbedding4D_get_index(self, o)
9880 def get_center(self, *args):
9882 get_center(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
9883 get_center(DefaultEmbedding4D self, GridIndex4D ei) -> Vector4D
9885 return _IMP_algebra.DefaultEmbedding4D_get_center(self, *args)
9888 def get_bounding_box(self, *args):
9890 get_bounding_box(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
9891 get_bounding_box(DefaultEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
9893 return _IMP_algebra.DefaultEmbedding4D_get_bounding_box(self, *args)
9896 def show(self, *args):
9898 show(DefaultEmbedding4D self, _ostream out)
9899 show(DefaultEmbedding4D self)
9901 return _IMP_algebra.DefaultEmbedding4D_show(self, *args)
9905 """__str__(DefaultEmbedding4D self) -> std::string"""
9906 return _IMP_algebra.DefaultEmbedding4D___str__(self)
9910 """__repr__(DefaultEmbedding4D self) -> std::string"""
9911 return _IMP_algebra.DefaultEmbedding4D___repr__(self)
9914 def __cmp__(self, arg2):
9915 """__cmp__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> int"""
9916 return _IMP_algebra.DefaultEmbedding4D___cmp__(self, arg2)
9919 def __eq__(self, arg2):
9920 """__eq__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> bool"""
9921 return _IMP_algebra.DefaultEmbedding4D___eq__(self, arg2)
9923 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding4D
9924 __del__ =
lambda self:
None
9925 DefaultEmbedding4D_swigregister = _IMP_algebra.DefaultEmbedding4D_swigregister
9926 DefaultEmbedding4D_swigregister(DefaultEmbedding4D)
9928 class DefaultEmbedding5D(object):
9929 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(5)> class"""
9930 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9932 def __init__(self, *args):
9934 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self, Vector5D origin, Vector5D cell) -> DefaultEmbedding5D
9935 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self) -> DefaultEmbedding5D
9937 this = _IMP_algebra.new_DefaultEmbedding5D(*args)
9939 self.this.append(this)
9943 def set_origin(self, o):
9944 """set_origin(DefaultEmbedding5D self, Vector5D o)"""
9945 return _IMP_algebra.DefaultEmbedding5D_set_origin(self, o)
9948 def get_origin(self):
9949 """get_origin(DefaultEmbedding5D self) -> Vector5D"""
9950 return _IMP_algebra.DefaultEmbedding5D_get_origin(self)
9953 def get_dimension(self):
9954 """get_dimension(DefaultEmbedding5D self) -> unsigned int"""
9955 return _IMP_algebra.DefaultEmbedding5D_get_dimension(self)
9958 def set_unit_cell(self, o):
9959 """set_unit_cell(DefaultEmbedding5D self, Vector5D o)"""
9960 return _IMP_algebra.DefaultEmbedding5D_set_unit_cell(self, o)
9963 def get_inverse_unit_cell(self):
9964 """get_inverse_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9965 return _IMP_algebra.DefaultEmbedding5D_get_inverse_unit_cell(self)
9968 def get_unit_cell(self):
9969 """get_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9970 return _IMP_algebra.DefaultEmbedding5D_get_unit_cell(self)
9973 def get_extended_index(self, o):
9974 """get_extended_index(DefaultEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
9975 return _IMP_algebra.DefaultEmbedding5D_get_extended_index(self, o)
9979 """get_index(DefaultEmbedding5D self, Vector5D o) -> GridIndex5D"""
9980 return _IMP_algebra.DefaultEmbedding5D_get_index(self, o)
9983 def get_center(self, *args):
9985 get_center(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
9986 get_center(DefaultEmbedding5D self, GridIndex5D ei) -> Vector5D
9988 return _IMP_algebra.DefaultEmbedding5D_get_center(self, *args)
9991 def get_bounding_box(self, *args):
9993 get_bounding_box(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
9994 get_bounding_box(DefaultEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
9996 return _IMP_algebra.DefaultEmbedding5D_get_bounding_box(self, *args)
9999 def show(self, *args):
10001 show(DefaultEmbedding5D self, _ostream out)
10002 show(DefaultEmbedding5D self)
10004 return _IMP_algebra.DefaultEmbedding5D_show(self, *args)
10008 """__str__(DefaultEmbedding5D self) -> std::string"""
10009 return _IMP_algebra.DefaultEmbedding5D___str__(self)
10012 def __repr__(self):
10013 """__repr__(DefaultEmbedding5D self) -> std::string"""
10014 return _IMP_algebra.DefaultEmbedding5D___repr__(self)
10017 def __cmp__(self, arg2):
10018 """__cmp__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> int"""
10019 return _IMP_algebra.DefaultEmbedding5D___cmp__(self, arg2)
10022 def __eq__(self, arg2):
10023 """__eq__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> bool"""
10024 return _IMP_algebra.DefaultEmbedding5D___eq__(self, arg2)
10026 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding5D
10027 __del__ =
lambda self:
None
10028 DefaultEmbedding5D_swigregister = _IMP_algebra.DefaultEmbedding5D_swigregister
10029 DefaultEmbedding5D_swigregister(DefaultEmbedding5D)
10031 class DefaultEmbedding6D(object):
10032 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(6)> class"""
10033 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10035 def __init__(self, *args):
10037 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self, Vector6D origin, Vector6D cell) -> DefaultEmbedding6D
10038 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self) -> DefaultEmbedding6D
10040 this = _IMP_algebra.new_DefaultEmbedding6D(*args)
10042 self.this.append(this)
10046 def set_origin(self, o):
10047 """set_origin(DefaultEmbedding6D self, Vector6D o)"""
10048 return _IMP_algebra.DefaultEmbedding6D_set_origin(self, o)
10051 def get_origin(self):
10052 """get_origin(DefaultEmbedding6D self) -> Vector6D"""
10053 return _IMP_algebra.DefaultEmbedding6D_get_origin(self)
10056 def get_dimension(self):
10057 """get_dimension(DefaultEmbedding6D self) -> unsigned int"""
10058 return _IMP_algebra.DefaultEmbedding6D_get_dimension(self)
10061 def set_unit_cell(self, o):
10062 """set_unit_cell(DefaultEmbedding6D self, Vector6D o)"""
10063 return _IMP_algebra.DefaultEmbedding6D_set_unit_cell(self, o)
10066 def get_inverse_unit_cell(self):
10067 """get_inverse_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
10068 return _IMP_algebra.DefaultEmbedding6D_get_inverse_unit_cell(self)
10071 def get_unit_cell(self):
10072 """get_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
10073 return _IMP_algebra.DefaultEmbedding6D_get_unit_cell(self)
10076 def get_extended_index(self, o):
10077 """get_extended_index(DefaultEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
10078 return _IMP_algebra.DefaultEmbedding6D_get_extended_index(self, o)
10082 """get_index(DefaultEmbedding6D self, Vector6D o) -> GridIndex6D"""
10083 return _IMP_algebra.DefaultEmbedding6D_get_index(self, o)
10086 def get_center(self, *args):
10088 get_center(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
10089 get_center(DefaultEmbedding6D self, GridIndex6D ei) -> Vector6D
10091 return _IMP_algebra.DefaultEmbedding6D_get_center(self, *args)
10094 def get_bounding_box(self, *args):
10096 get_bounding_box(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
10097 get_bounding_box(DefaultEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
10099 return _IMP_algebra.DefaultEmbedding6D_get_bounding_box(self, *args)
10102 def show(self, *args):
10104 show(DefaultEmbedding6D self, _ostream out)
10105 show(DefaultEmbedding6D self)
10107 return _IMP_algebra.DefaultEmbedding6D_show(self, *args)
10111 """__str__(DefaultEmbedding6D self) -> std::string"""
10112 return _IMP_algebra.DefaultEmbedding6D___str__(self)
10115 def __repr__(self):
10116 """__repr__(DefaultEmbedding6D self) -> std::string"""
10117 return _IMP_algebra.DefaultEmbedding6D___repr__(self)
10120 def __cmp__(self, arg2):
10121 """__cmp__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> int"""
10122 return _IMP_algebra.DefaultEmbedding6D___cmp__(self, arg2)
10125 def __eq__(self, arg2):
10126 """__eq__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> bool"""
10127 return _IMP_algebra.DefaultEmbedding6D___eq__(self, arg2)
10129 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding6D
10130 __del__ =
lambda self:
None
10131 DefaultEmbedding6D_swigregister = _IMP_algebra.DefaultEmbedding6D_swigregister
10132 DefaultEmbedding6D_swigregister(DefaultEmbedding6D)
10134 class DefaultEmbeddingKD(object):
10135 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(-1)> class"""
10136 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10138 def __init__(self, *args):
10140 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell) -> DefaultEmbeddingKD
10141 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self) -> DefaultEmbeddingKD
10143 this = _IMP_algebra.new_DefaultEmbeddingKD(*args)
10145 self.this.append(this)
10149 def set_origin(self, o):
10150 """set_origin(DefaultEmbeddingKD self, VectorKD o)"""
10151 return _IMP_algebra.DefaultEmbeddingKD_set_origin(self, o)
10154 def get_origin(self):
10155 """get_origin(DefaultEmbeddingKD self) -> VectorKD"""
10156 return _IMP_algebra.DefaultEmbeddingKD_get_origin(self)
10159 def get_dimension(self):
10160 """get_dimension(DefaultEmbeddingKD self) -> unsigned int"""
10161 return _IMP_algebra.DefaultEmbeddingKD_get_dimension(self)
10164 def set_unit_cell(self, o):
10165 """set_unit_cell(DefaultEmbeddingKD self, VectorKD o)"""
10166 return _IMP_algebra.DefaultEmbeddingKD_set_unit_cell(self, o)
10169 def get_inverse_unit_cell(self):
10170 """get_inverse_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
10171 return _IMP_algebra.DefaultEmbeddingKD_get_inverse_unit_cell(self)
10174 def get_unit_cell(self):
10175 """get_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
10176 return _IMP_algebra.DefaultEmbeddingKD_get_unit_cell(self)
10179 def get_extended_index(self, o):
10180 """get_extended_index(DefaultEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
10181 return _IMP_algebra.DefaultEmbeddingKD_get_extended_index(self, o)
10185 """get_index(DefaultEmbeddingKD self, VectorKD o) -> GridIndexKD"""
10186 return _IMP_algebra.DefaultEmbeddingKD_get_index(self, o)
10189 def get_center(self, *args):
10191 get_center(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
10192 get_center(DefaultEmbeddingKD self, GridIndexKD ei) -> VectorKD
10194 return _IMP_algebra.DefaultEmbeddingKD_get_center(self, *args)
10197 def get_bounding_box(self, *args):
10199 get_bounding_box(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
10200 get_bounding_box(DefaultEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
10202 return _IMP_algebra.DefaultEmbeddingKD_get_bounding_box(self, *args)
10205 def show(self, *args):
10207 show(DefaultEmbeddingKD self, _ostream out)
10208 show(DefaultEmbeddingKD self)
10210 return _IMP_algebra.DefaultEmbeddingKD_show(self, *args)
10214 """__str__(DefaultEmbeddingKD self) -> std::string"""
10215 return _IMP_algebra.DefaultEmbeddingKD___str__(self)
10218 def __repr__(self):
10219 """__repr__(DefaultEmbeddingKD self) -> std::string"""
10220 return _IMP_algebra.DefaultEmbeddingKD___repr__(self)
10223 def __cmp__(self, arg2):
10224 """__cmp__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> int"""
10225 return _IMP_algebra.DefaultEmbeddingKD___cmp__(self, arg2)
10228 def __eq__(self, arg2):
10229 """__eq__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> bool"""
10230 return _IMP_algebra.DefaultEmbeddingKD___eq__(self, arg2)
10232 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbeddingKD
10233 __del__ =
lambda self:
None
10234 DefaultEmbeddingKD_swigregister = _IMP_algebra.DefaultEmbeddingKD_swigregister
10235 DefaultEmbeddingKD_swigregister(DefaultEmbeddingKD)
10237 class LogEmbedding1D(object):
10238 """Proxy of C++ IMP::algebra::LogEmbeddingD<(1)> class"""
10239 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10241 def __init__(self, *args):
10243 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D origin, Vector1D cell, Vector1D base) -> LogEmbedding1D
10244 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding1D
10245 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts) -> LogEmbedding1D
10246 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D arg2, Vector1D arg3) -> LogEmbedding1D
10247 __init__(IMP::algebra::LogEmbeddingD<(1)> self) -> LogEmbedding1D
10249 this = _IMP_algebra.new_LogEmbedding1D(*args)
10251 self.this.append(this)
10255 def set_origin(self, o):
10256 """set_origin(LogEmbedding1D self, Vector1D o)"""
10257 return _IMP_algebra.LogEmbedding1D_set_origin(self, o)
10260 def get_origin(self):
10261 """get_origin(LogEmbedding1D self) -> Vector1D"""
10262 return _IMP_algebra.LogEmbedding1D_get_origin(self)
10265 def get_dimension(self):
10266 """get_dimension(LogEmbedding1D self) -> unsigned int"""
10267 return _IMP_algebra.LogEmbedding1D_get_dimension(self)
10270 def set_unit_cell(self, *args):
10272 set_unit_cell(LogEmbedding1D self, Vector1D o, Vector1D base)
10273 set_unit_cell(LogEmbedding1D self, Vector1D o)
10275 return _IMP_algebra.LogEmbedding1D_set_unit_cell(self, *args)
10278 def get_unit_cell(self):
10279 """get_unit_cell(LogEmbedding1D self) -> Vector1D"""
10280 return _IMP_algebra.LogEmbedding1D_get_unit_cell(self)
10283 def get_extended_index(self, o):
10284 """get_extended_index(LogEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
10285 return _IMP_algebra.LogEmbedding1D_get_extended_index(self, o)
10289 """get_index(LogEmbedding1D self, Vector1D o) -> GridIndex1D"""
10290 return _IMP_algebra.LogEmbedding1D_get_index(self, o)
10293 def get_center(self, *args):
10295 get_center(LogEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
10296 get_center(LogEmbedding1D self, GridIndex1D ei) -> Vector1D
10298 return _IMP_algebra.LogEmbedding1D_get_center(self, *args)
10301 def get_bounding_box(self, *args):
10303 get_bounding_box(LogEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
10304 get_bounding_box(LogEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
10306 return _IMP_algebra.LogEmbedding1D_get_bounding_box(self, *args)
10309 def show(self, *args):
10311 show(LogEmbedding1D self, _ostream out)
10312 show(LogEmbedding1D self)
10314 return _IMP_algebra.LogEmbedding1D_show(self, *args)
10318 """__str__(LogEmbedding1D self) -> std::string"""
10319 return _IMP_algebra.LogEmbedding1D___str__(self)
10322 def __repr__(self):
10323 """__repr__(LogEmbedding1D self) -> std::string"""
10324 return _IMP_algebra.LogEmbedding1D___repr__(self)
10327 def __cmp__(self, arg2):
10328 """__cmp__(LogEmbedding1D self, LogEmbedding1D arg2) -> int"""
10329 return _IMP_algebra.LogEmbedding1D___cmp__(self, arg2)
10332 def __eq__(self, arg2):
10333 """__eq__(LogEmbedding1D self, LogEmbedding1D arg2) -> bool"""
10334 return _IMP_algebra.LogEmbedding1D___eq__(self, arg2)
10336 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding1D
10337 __del__ =
lambda self:
None
10338 LogEmbedding1D_swigregister = _IMP_algebra.LogEmbedding1D_swigregister
10339 LogEmbedding1D_swigregister(LogEmbedding1D)
10341 class LogEmbedding2D(object):
10342 """Proxy of C++ IMP::algebra::LogEmbeddingD<(2)> class"""
10343 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10345 def __init__(self, *args):
10347 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D origin, Vector2D cell, Vector2D base) -> LogEmbedding2D
10348 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding2D
10349 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts) -> LogEmbedding2D
10350 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D arg2, Vector2D arg3) -> LogEmbedding2D
10351 __init__(IMP::algebra::LogEmbeddingD<(2)> self) -> LogEmbedding2D
10353 this = _IMP_algebra.new_LogEmbedding2D(*args)
10355 self.this.append(this)
10359 def set_origin(self, o):
10360 """set_origin(LogEmbedding2D self, Vector2D o)"""
10361 return _IMP_algebra.LogEmbedding2D_set_origin(self, o)
10364 def get_origin(self):
10365 """get_origin(LogEmbedding2D self) -> Vector2D"""
10366 return _IMP_algebra.LogEmbedding2D_get_origin(self)
10369 def get_dimension(self):
10370 """get_dimension(LogEmbedding2D self) -> unsigned int"""
10371 return _IMP_algebra.LogEmbedding2D_get_dimension(self)
10374 def set_unit_cell(self, *args):
10376 set_unit_cell(LogEmbedding2D self, Vector2D o, Vector2D base)
10377 set_unit_cell(LogEmbedding2D self, Vector2D o)
10379 return _IMP_algebra.LogEmbedding2D_set_unit_cell(self, *args)
10382 def get_unit_cell(self):
10383 """get_unit_cell(LogEmbedding2D self) -> Vector2D"""
10384 return _IMP_algebra.LogEmbedding2D_get_unit_cell(self)
10387 def get_extended_index(self, o):
10388 """get_extended_index(LogEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
10389 return _IMP_algebra.LogEmbedding2D_get_extended_index(self, o)
10393 """get_index(LogEmbedding2D self, Vector2D o) -> GridIndex2D"""
10394 return _IMP_algebra.LogEmbedding2D_get_index(self, o)
10397 def get_center(self, *args):
10399 get_center(LogEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
10400 get_center(LogEmbedding2D self, GridIndex2D ei) -> Vector2D
10402 return _IMP_algebra.LogEmbedding2D_get_center(self, *args)
10405 def get_bounding_box(self, *args):
10407 get_bounding_box(LogEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
10408 get_bounding_box(LogEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
10410 return _IMP_algebra.LogEmbedding2D_get_bounding_box(self, *args)
10413 def show(self, *args):
10415 show(LogEmbedding2D self, _ostream out)
10416 show(LogEmbedding2D self)
10418 return _IMP_algebra.LogEmbedding2D_show(self, *args)
10422 """__str__(LogEmbedding2D self) -> std::string"""
10423 return _IMP_algebra.LogEmbedding2D___str__(self)
10426 def __repr__(self):
10427 """__repr__(LogEmbedding2D self) -> std::string"""
10428 return _IMP_algebra.LogEmbedding2D___repr__(self)
10431 def __cmp__(self, arg2):
10432 """__cmp__(LogEmbedding2D self, LogEmbedding2D arg2) -> int"""
10433 return _IMP_algebra.LogEmbedding2D___cmp__(self, arg2)
10436 def __eq__(self, arg2):
10437 """__eq__(LogEmbedding2D self, LogEmbedding2D arg2) -> bool"""
10438 return _IMP_algebra.LogEmbedding2D___eq__(self, arg2)
10440 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding2D
10441 __del__ =
lambda self:
None
10442 LogEmbedding2D_swigregister = _IMP_algebra.LogEmbedding2D_swigregister
10443 LogEmbedding2D_swigregister(LogEmbedding2D)
10445 class LogEmbedding4D(object):
10446 """Proxy of C++ IMP::algebra::LogEmbeddingD<(4)> class"""
10447 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10449 def __init__(self, *args):
10451 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D origin, Vector4D cell, Vector4D base) -> LogEmbedding4D
10452 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding4D
10453 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts) -> LogEmbedding4D
10454 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D arg2, Vector4D arg3) -> LogEmbedding4D
10455 __init__(IMP::algebra::LogEmbeddingD<(4)> self) -> LogEmbedding4D
10457 this = _IMP_algebra.new_LogEmbedding4D(*args)
10459 self.this.append(this)
10463 def set_origin(self, o):
10464 """set_origin(LogEmbedding4D self, Vector4D o)"""
10465 return _IMP_algebra.LogEmbedding4D_set_origin(self, o)
10468 def get_origin(self):
10469 """get_origin(LogEmbedding4D self) -> Vector4D"""
10470 return _IMP_algebra.LogEmbedding4D_get_origin(self)
10473 def get_dimension(self):
10474 """get_dimension(LogEmbedding4D self) -> unsigned int"""
10475 return _IMP_algebra.LogEmbedding4D_get_dimension(self)
10478 def set_unit_cell(self, *args):
10480 set_unit_cell(LogEmbedding4D self, Vector4D o, Vector4D base)
10481 set_unit_cell(LogEmbedding4D self, Vector4D o)
10483 return _IMP_algebra.LogEmbedding4D_set_unit_cell(self, *args)
10486 def get_unit_cell(self):
10487 """get_unit_cell(LogEmbedding4D self) -> Vector4D"""
10488 return _IMP_algebra.LogEmbedding4D_get_unit_cell(self)
10491 def get_extended_index(self, o):
10492 """get_extended_index(LogEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
10493 return _IMP_algebra.LogEmbedding4D_get_extended_index(self, o)
10497 """get_index(LogEmbedding4D self, Vector4D o) -> GridIndex4D"""
10498 return _IMP_algebra.LogEmbedding4D_get_index(self, o)
10501 def get_center(self, *args):
10503 get_center(LogEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
10504 get_center(LogEmbedding4D self, GridIndex4D ei) -> Vector4D
10506 return _IMP_algebra.LogEmbedding4D_get_center(self, *args)
10509 def get_bounding_box(self, *args):
10511 get_bounding_box(LogEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
10512 get_bounding_box(LogEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
10514 return _IMP_algebra.LogEmbedding4D_get_bounding_box(self, *args)
10517 def show(self, *args):
10519 show(LogEmbedding4D self, _ostream out)
10520 show(LogEmbedding4D self)
10522 return _IMP_algebra.LogEmbedding4D_show(self, *args)
10526 """__str__(LogEmbedding4D self) -> std::string"""
10527 return _IMP_algebra.LogEmbedding4D___str__(self)
10530 def __repr__(self):
10531 """__repr__(LogEmbedding4D self) -> std::string"""
10532 return _IMP_algebra.LogEmbedding4D___repr__(self)
10535 def __cmp__(self, arg2):
10536 """__cmp__(LogEmbedding4D self, LogEmbedding4D arg2) -> int"""
10537 return _IMP_algebra.LogEmbedding4D___cmp__(self, arg2)
10540 def __eq__(self, arg2):
10541 """__eq__(LogEmbedding4D self, LogEmbedding4D arg2) -> bool"""
10542 return _IMP_algebra.LogEmbedding4D___eq__(self, arg2)
10544 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding4D
10545 __del__ =
lambda self:
None
10546 LogEmbedding4D_swigregister = _IMP_algebra.LogEmbedding4D_swigregister
10547 LogEmbedding4D_swigregister(LogEmbedding4D)
10549 class LogEmbedding5D(object):
10550 """Proxy of C++ IMP::algebra::LogEmbeddingD<(5)> class"""
10551 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10553 def __init__(self, *args):
10555 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D origin, Vector5D cell, Vector5D base) -> LogEmbedding5D
10556 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding5D
10557 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts) -> LogEmbedding5D
10558 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D arg2, Vector5D arg3) -> LogEmbedding5D
10559 __init__(IMP::algebra::LogEmbeddingD<(5)> self) -> LogEmbedding5D
10561 this = _IMP_algebra.new_LogEmbedding5D(*args)
10563 self.this.append(this)
10567 def set_origin(self, o):
10568 """set_origin(LogEmbedding5D self, Vector5D o)"""
10569 return _IMP_algebra.LogEmbedding5D_set_origin(self, o)
10572 def get_origin(self):
10573 """get_origin(LogEmbedding5D self) -> Vector5D"""
10574 return _IMP_algebra.LogEmbedding5D_get_origin(self)
10577 def get_dimension(self):
10578 """get_dimension(LogEmbedding5D self) -> unsigned int"""
10579 return _IMP_algebra.LogEmbedding5D_get_dimension(self)
10582 def set_unit_cell(self, *args):
10584 set_unit_cell(LogEmbedding5D self, Vector5D o, Vector5D base)
10585 set_unit_cell(LogEmbedding5D self, Vector5D o)
10587 return _IMP_algebra.LogEmbedding5D_set_unit_cell(self, *args)
10590 def get_unit_cell(self):
10591 """get_unit_cell(LogEmbedding5D self) -> Vector5D"""
10592 return _IMP_algebra.LogEmbedding5D_get_unit_cell(self)
10595 def get_extended_index(self, o):
10596 """get_extended_index(LogEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
10597 return _IMP_algebra.LogEmbedding5D_get_extended_index(self, o)
10601 """get_index(LogEmbedding5D self, Vector5D o) -> GridIndex5D"""
10602 return _IMP_algebra.LogEmbedding5D_get_index(self, o)
10605 def get_center(self, *args):
10607 get_center(LogEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
10608 get_center(LogEmbedding5D self, GridIndex5D ei) -> Vector5D
10610 return _IMP_algebra.LogEmbedding5D_get_center(self, *args)
10613 def get_bounding_box(self, *args):
10615 get_bounding_box(LogEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
10616 get_bounding_box(LogEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
10618 return _IMP_algebra.LogEmbedding5D_get_bounding_box(self, *args)
10621 def show(self, *args):
10623 show(LogEmbedding5D self, _ostream out)
10624 show(LogEmbedding5D self)
10626 return _IMP_algebra.LogEmbedding5D_show(self, *args)
10630 """__str__(LogEmbedding5D self) -> std::string"""
10631 return _IMP_algebra.LogEmbedding5D___str__(self)
10634 def __repr__(self):
10635 """__repr__(LogEmbedding5D self) -> std::string"""
10636 return _IMP_algebra.LogEmbedding5D___repr__(self)
10639 def __cmp__(self, arg2):
10640 """__cmp__(LogEmbedding5D self, LogEmbedding5D arg2) -> int"""
10641 return _IMP_algebra.LogEmbedding5D___cmp__(self, arg2)
10644 def __eq__(self, arg2):
10645 """__eq__(LogEmbedding5D self, LogEmbedding5D arg2) -> bool"""
10646 return _IMP_algebra.LogEmbedding5D___eq__(self, arg2)
10648 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding5D
10649 __del__ =
lambda self:
None
10650 LogEmbedding5D_swigregister = _IMP_algebra.LogEmbedding5D_swigregister
10651 LogEmbedding5D_swigregister(LogEmbedding5D)
10653 class LogEmbedding6D(object):
10654 """Proxy of C++ IMP::algebra::LogEmbeddingD<(6)> class"""
10655 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10657 def __init__(self, *args):
10659 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D origin, Vector6D cell, Vector6D base) -> LogEmbedding6D
10660 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding6D
10661 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts) -> LogEmbedding6D
10662 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D arg2, Vector6D arg3) -> LogEmbedding6D
10663 __init__(IMP::algebra::LogEmbeddingD<(6)> self) -> LogEmbedding6D
10665 this = _IMP_algebra.new_LogEmbedding6D(*args)
10667 self.this.append(this)
10671 def set_origin(self, o):
10672 """set_origin(LogEmbedding6D self, Vector6D o)"""
10673 return _IMP_algebra.LogEmbedding6D_set_origin(self, o)
10676 def get_origin(self):
10677 """get_origin(LogEmbedding6D self) -> Vector6D"""
10678 return _IMP_algebra.LogEmbedding6D_get_origin(self)
10681 def get_dimension(self):
10682 """get_dimension(LogEmbedding6D self) -> unsigned int"""
10683 return _IMP_algebra.LogEmbedding6D_get_dimension(self)
10686 def set_unit_cell(self, *args):
10688 set_unit_cell(LogEmbedding6D self, Vector6D o, Vector6D base)
10689 set_unit_cell(LogEmbedding6D self, Vector6D o)
10691 return _IMP_algebra.LogEmbedding6D_set_unit_cell(self, *args)
10694 def get_unit_cell(self):
10695 """get_unit_cell(LogEmbedding6D self) -> Vector6D"""
10696 return _IMP_algebra.LogEmbedding6D_get_unit_cell(self)
10699 def get_extended_index(self, o):
10700 """get_extended_index(LogEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
10701 return _IMP_algebra.LogEmbedding6D_get_extended_index(self, o)
10705 """get_index(LogEmbedding6D self, Vector6D o) -> GridIndex6D"""
10706 return _IMP_algebra.LogEmbedding6D_get_index(self, o)
10709 def get_center(self, *args):
10711 get_center(LogEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
10712 get_center(LogEmbedding6D self, GridIndex6D ei) -> Vector6D
10714 return _IMP_algebra.LogEmbedding6D_get_center(self, *args)
10717 def get_bounding_box(self, *args):
10719 get_bounding_box(LogEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
10720 get_bounding_box(LogEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
10722 return _IMP_algebra.LogEmbedding6D_get_bounding_box(self, *args)
10725 def show(self, *args):
10727 show(LogEmbedding6D self, _ostream out)
10728 show(LogEmbedding6D self)
10730 return _IMP_algebra.LogEmbedding6D_show(self, *args)
10734 """__str__(LogEmbedding6D self) -> std::string"""
10735 return _IMP_algebra.LogEmbedding6D___str__(self)
10738 def __repr__(self):
10739 """__repr__(LogEmbedding6D self) -> std::string"""
10740 return _IMP_algebra.LogEmbedding6D___repr__(self)
10743 def __cmp__(self, arg2):
10744 """__cmp__(LogEmbedding6D self, LogEmbedding6D arg2) -> int"""
10745 return _IMP_algebra.LogEmbedding6D___cmp__(self, arg2)
10748 def __eq__(self, arg2):
10749 """__eq__(LogEmbedding6D self, LogEmbedding6D arg2) -> bool"""
10750 return _IMP_algebra.LogEmbedding6D___eq__(self, arg2)
10752 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding6D
10753 __del__ =
lambda self:
None
10754 LogEmbedding6D_swigregister = _IMP_algebra.LogEmbedding6D_swigregister
10755 LogEmbedding6D_swigregister(LogEmbedding6D)
10757 class SpherePatch3D(_GeometricPrimitive3D):
10758 """Proxy of C++ IMP::algebra::SpherePatch3D class"""
10759 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10761 def __init__(self, *args):
10763 __init__(IMP::algebra::SpherePatch3D self) -> SpherePatch3D
10764 __init__(IMP::algebra::SpherePatch3D self, Sphere3D sph, Plane3D crossing_plane) -> SpherePatch3D
10766 this = _IMP_algebra.new_SpherePatch3D(*args)
10768 self.this.append(this)
10772 def get_contains(self, p):
10773 """get_contains(SpherePatch3D self, Vector3D p) -> bool"""
10774 return _IMP_algebra.SpherePatch3D_get_contains(self, p)
10777 def get_plane(self):
10778 """get_plane(SpherePatch3D self) -> Plane3D"""
10779 return _IMP_algebra.SpherePatch3D_get_plane(self)
10782 def get_sphere(self):
10783 """get_sphere(SpherePatch3D self) -> Sphere3D"""
10784 return _IMP_algebra.SpherePatch3D_get_sphere(self)
10787 def show(self, *args):
10789 show(SpherePatch3D self, _ostream out)
10790 show(SpherePatch3D self)
10792 return _IMP_algebra.SpherePatch3D_show(self, *args)
10795 def get_boundary_point(self):
10796 """get_boundary_point(SpherePatch3D self) -> Vector3D"""
10797 return _IMP_algebra.SpherePatch3D_get_boundary_point(self)
10801 """__str__(SpherePatch3D self) -> std::string"""
10802 return _IMP_algebra.SpherePatch3D___str__(self)
10805 def __repr__(self):
10806 """__repr__(SpherePatch3D self) -> std::string"""
10807 return _IMP_algebra.SpherePatch3D___repr__(self)
10809 __swig_destroy__ = _IMP_algebra.delete_SpherePatch3D
10810 __del__ =
lambda self:
None
10811 SpherePatch3D_swigregister = _IMP_algebra.SpherePatch3D_swigregister
10812 SpherePatch3D_swigregister(SpherePatch3D)
10817 get_area(Plane3D g) -> double
10818 get_area(SpherePatch3D g) -> double
10820 return _IMP_algebra.get_area(*args)
10822 def get_sphere_patch_3d_geometry(g):
10823 """get_sphere_patch_3d_geometry(SpherePatch3D g) -> SpherePatch3D"""
10824 return _IMP_algebra.get_sphere_patch_3d_geometry(g)
10825 class Cone3D(_GeometricPrimitive3D):
10826 """Proxy of C++ IMP::algebra::Cone3D class"""
10827 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10829 def __init__(self, *args):
10831 __init__(IMP::algebra::Cone3D self) -> Cone3D
10832 __init__(IMP::algebra::Cone3D self, Segment3D s, double radius) -> Cone3D
10834 this = _IMP_algebra.new_Cone3D(*args)
10836 self.this.append(this)
10841 """get_tip(Cone3D self) -> Vector3D"""
10842 return _IMP_algebra.Cone3D_get_tip(self)
10845 def get_direction(self):
10846 """get_direction(Cone3D self) -> Vector3D"""
10847 return _IMP_algebra.Cone3D_get_direction(self)
10851 """get_height(Cone3D self) -> double"""
10852 return _IMP_algebra.Cone3D_get_height(self)
10856 """get_angle(Cone3D self) -> double"""
10857 return _IMP_algebra.Cone3D_get_angle(self)
10860 def get_radius(self):
10861 """get_radius(Cone3D self) -> double"""
10862 return _IMP_algebra.Cone3D_get_radius(self)
10865 def get_contains(self, v):
10866 """get_contains(Cone3D self, Vector3D v) -> bool"""
10867 return _IMP_algebra.Cone3D_get_contains(self, v)
10870 def get_base_plane(self):
10871 """get_base_plane(Cone3D self) -> Plane3D"""
10872 return _IMP_algebra.Cone3D_get_base_plane(self)
10875 def show(self, *args):
10877 show(Cone3D self, _ostream out)
10880 return _IMP_algebra.Cone3D_show(self, *args)
10884 """__str__(Cone3D self) -> std::string"""
10885 return _IMP_algebra.Cone3D___str__(self)
10888 def __repr__(self):
10889 """__repr__(Cone3D self) -> std::string"""
10890 return _IMP_algebra.Cone3D___repr__(self)
10892 __swig_destroy__ = _IMP_algebra.delete_Cone3D
10893 __del__ =
lambda self:
None
10894 Cone3D_swigregister = _IMP_algebra.Cone3D_swigregister
10895 Cone3D_swigregister(Cone3D)
10900 get_surface_area(BoundingBox3D g) -> double
10901 get_surface_area(Sphere3D g) -> double
10902 get_surface_area(Cylinder3D g) -> double
10903 get_surface_area(Ellipsoid3D g) -> double
10904 get_surface_area(Cone3D g) -> double
10906 return _IMP_algebra.get_surface_area(*args)
10910 get_volume(BoundingBox3D g) -> double
10911 get_volume(Sphere3D g) -> double
10912 get_volume(Cylinder3D g) -> double
10913 get_volume(Ellipsoid3D g) -> double
10914 get_volume(Cone3D g) -> double
10916 return _IMP_algebra.get_volume(*args)
10918 def get_cone_3d_geometry(g):
10919 """get_cone_3d_geometry(Cone3D g) -> Cone3D"""
10920 return _IMP_algebra.get_cone_3d_geometry(g)
10923 """write_pts(IMP::algebra::Vector3Ds const & vs, TextOutput out)"""
10924 return _IMP_algebra.write_pts(vs, out)
10927 """read_pts(TextInput input) -> IMP::algebra::Vector3Ds"""
10928 return _IMP_algebra.read_pts(input)
10931 """write_spheres(IMP::algebra::Sphere3Ds const & vs, TextOutput out)"""
10932 return _IMP_algebra.write_spheres(vs, out)
10935 """read_spheres(TextInput input) -> IMP::algebra::Sphere3Ds"""
10936 return _IMP_algebra.read_spheres(input)
10939 """get_random_vector_on_unit_sphere() -> Vector3D"""
10940 return _IMP_algebra.get_random_vector_on_unit_sphere()
10943 """get_grid_surface_cover(Cylinder3D cyl, int number_of_cycles, int number_of_points_on_cycle) -> IMP::algebra::Vector3Ds"""
10944 return _IMP_algebra.get_grid_surface_cover(cyl, number_of_cycles, number_of_points_on_cycle)
10948 get_random_chain(unsigned int n, double r, Vector3D start, IMP::algebra::Sphere3Ds const & obstacles) -> IMP::algebra::Vector3Ds
10949 get_random_chain(unsigned int n, double r, Vector3D start) -> IMP::algebra::Vector3Ds
10950 get_random_chain(unsigned int n, double r) -> IMP::algebra::Vector3Ds
10952 return _IMP_algebra.get_random_chain(*args)
10955 """reversed_read(void * dest, size_t size, size_t nitems, std::ifstream & f, bool reverse)"""
10956 return _IMP_algebra.reversed_read(dest, size, nitems, f, reverse)
10960 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f, bool reverse=False)
10961 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f)
10963 return _IMP_algebra.reversed_write(src, size, nitems, f, reverse)
10966 """get_is_big_endian() -> bool"""
10967 return _IMP_algebra.get_is_big_endian()
10970 """get_is_little_endian() -> bool"""
10971 return _IMP_algebra.get_is_little_endian()
10975 get_shortest_segment(Segment3D s, Vector3D p) -> Segment3D
10976 get_shortest_segment(Segment3D sa, Segment3D sb) -> Segment3D
10978 return _IMP_algebra.get_shortest_segment(*args)
10980 """Proxy of C++ IMP::algebra::DynamicNearestNeighbor3D class"""
10981 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10983 def __init__(self, vs, query_estimate=1):
10985 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs, double query_estimate=1) -> DynamicNearestNeighbor3D
10986 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs) -> DynamicNearestNeighbor3D
10988 this = _IMP_algebra.new_DynamicNearestNeighbor3D(vs, query_estimate)
10990 self.this.append(this)
10994 def get_in_ball(self, id, distance):
10995 """get_in_ball(DynamicNearestNeighbor3D self, int id, double distance) -> IMP::Ints"""
10996 return _IMP_algebra.DynamicNearestNeighbor3D_get_in_ball(self, id, distance)
10999 def set_coordinates(self, id, nc):
11000 """set_coordinates(DynamicNearestNeighbor3D self, int id, Vector3D nc)"""
11001 return _IMP_algebra.DynamicNearestNeighbor3D_set_coordinates(self, id, nc)
11004 def get_version_info(self):
11005 """get_version_info(DynamicNearestNeighbor3D self) -> VersionInfo"""
11006 return _IMP_algebra.DynamicNearestNeighbor3D_get_version_info(self)
11010 """__str__(DynamicNearestNeighbor3D self) -> std::string"""
11011 return _IMP_algebra.DynamicNearestNeighbor3D___str__(self)
11014 def __repr__(self):
11015 """__repr__(DynamicNearestNeighbor3D self) -> std::string"""
11016 return _IMP_algebra.DynamicNearestNeighbor3D___repr__(self)
11021 return _object_cast_to_DynamicNearestNeighbor3D(o)
11023 DynamicNearestNeighbor3D_swigregister = _IMP_algebra.DynamicNearestNeighbor3D_swigregister
11024 DynamicNearestNeighbor3D_swigregister(DynamicNearestNeighbor3D)
11027 """Proxy of C++ IMP::algebra::VectorKDMetric class"""
11028 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11030 def __init__(self, name):
11031 """__init__(IMP::algebra::VectorKDMetric self, std::string name) -> VectorKDMetric"""
11032 if self.__class__ == VectorKDMetric:
11036 this = _IMP_algebra.new_VectorKDMetric(_self, name)
11038 self.this.append(this)
11042 if self.__class__ != VectorKDMetric:
11043 _director_objects.register(self)
11049 """get_distance(VectorKDMetric self, VectorKD a, VectorKD b) -> double"""
11050 return _IMP_algebra.VectorKDMetric_get_distance(self, a, b)
11054 """get_centroid(VectorKDMetric self, IMP::algebra::VectorKDs const & vs) -> VectorKD"""
11055 return _IMP_algebra.VectorKDMetric_get_centroid(self, vs)
11059 """__str__(VectorKDMetric self) -> std::string"""
11060 return _IMP_algebra.VectorKDMetric___str__(self)
11063 def __repr__(self):
11064 """__repr__(VectorKDMetric self) -> std::string"""
11065 return _IMP_algebra.VectorKDMetric___repr__(self)
11070 return _object_cast_to_VectorKDMetric(o)
11073 def get_type_name(self):
11074 return self.__class__.__name__
11075 def do_show(self, out):
11077 def get_version_info(self):
11078 if"IMP::algebra" ==
"IMP":
11079 return VersionInfo(self.__module__,
11086 return _object_cast_to_VectorKDMetric(o)
11088 __swig_destroy__ = _IMP_algebra.delete_VectorKDMetric
11089 __del__ =
lambda self:
None
11090 def __disown__(self):
11092 _IMP_algebra.disown_VectorKDMetric(self)
11093 return weakref_proxy(self)
11095 def do_destroy(self):
11096 """do_destroy(VectorKDMetric self)"""
11097 return _IMP_algebra.VectorKDMetric_do_destroy(self)
11099 VectorKDMetric_swigregister = _IMP_algebra.VectorKDMetric_swigregister
11100 VectorKDMetric_swigregister(VectorKDMetric)
11102 class EuclideanVectorKDMetric(VectorKDMetric):
11103 """Proxy of C++ IMP::algebra::EuclideanVectorKDMetric class"""
11104 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11106 def __init__(self, *args):
11108 __init__(IMP::algebra::EuclideanVectorKDMetric self, std::string name) -> EuclideanVectorKDMetric
11109 __init__(IMP::algebra::EuclideanVectorKDMetric self) -> EuclideanVectorKDMetric
11111 this = _IMP_algebra.new_EuclideanVectorKDMetric(*args)
11113 self.this.append(this)
11117 def get_version_info(self):
11118 """get_version_info(EuclideanVectorKDMetric self) -> VersionInfo"""
11119 return _IMP_algebra.EuclideanVectorKDMetric_get_version_info(self)
11123 """__str__(EuclideanVectorKDMetric self) -> std::string"""
11124 return _IMP_algebra.EuclideanVectorKDMetric___str__(self)
11127 def __repr__(self):
11128 """__repr__(EuclideanVectorKDMetric self) -> std::string"""
11129 return _IMP_algebra.EuclideanVectorKDMetric___repr__(self)
11134 return _object_cast_to_EuclideanVectorKDMetric(o)
11136 EuclideanVectorKDMetric_swigregister = _IMP_algebra.EuclideanVectorKDMetric_swigregister
11137 EuclideanVectorKDMetric_swigregister(EuclideanVectorKDMetric)
11139 class MaxVectorKDMetric(VectorKDMetric):
11140 """Proxy of C++ IMP::algebra::MaxVectorKDMetric class"""
11141 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11143 def __init__(self, *args):
11145 __init__(IMP::algebra::MaxVectorKDMetric self, std::string name) -> MaxVectorKDMetric
11146 __init__(IMP::algebra::MaxVectorKDMetric self) -> MaxVectorKDMetric
11148 this = _IMP_algebra.new_MaxVectorKDMetric(*args)
11150 self.this.append(this)
11154 def get_version_info(self):
11155 """get_version_info(MaxVectorKDMetric self) -> VersionInfo"""
11156 return _IMP_algebra.MaxVectorKDMetric_get_version_info(self)
11160 """__str__(MaxVectorKDMetric self) -> std::string"""
11161 return _IMP_algebra.MaxVectorKDMetric___str__(self)
11164 def __repr__(self):
11165 """__repr__(MaxVectorKDMetric self) -> std::string"""
11166 return _IMP_algebra.MaxVectorKDMetric___repr__(self)
11171 return _object_cast_to_MaxVectorKDMetric(o)
11173 MaxVectorKDMetric_swigregister = _IMP_algebra.MaxVectorKDMetric_swigregister
11174 MaxVectorKDMetric_swigregister(MaxVectorKDMetric)
11176 class Gaussian3D(_GeometricPrimitive3D):
11177 """Proxy of C++ IMP::algebra::Gaussian3D class"""
11178 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11180 def __init__(self, *args):
11182 __init__(IMP::algebra::Gaussian3D self) -> Gaussian3D
11183 __init__(IMP::algebra::Gaussian3D self, ReferenceFrame3D tr, Vector3D variances) -> Gaussian3D
11185 this = _IMP_algebra.new_Gaussian3D(*args)
11187 self.this.append(this)
11191 def get_reference_frame(self):
11192 """get_reference_frame(Gaussian3D self) -> ReferenceFrame3D"""
11193 return _IMP_algebra.Gaussian3D_get_reference_frame(self)
11196 def get_variances(self):
11197 """get_variances(Gaussian3D self) -> Vector3D"""
11198 return _IMP_algebra.Gaussian3D_get_variances(self)
11201 def get_center(self):
11202 """get_center(Gaussian3D self) -> Vector3D"""
11203 return _IMP_algebra.Gaussian3D_get_center(self)
11206 def show(self, *args):
11208 show(Gaussian3D self, _ostream out)
11209 show(Gaussian3D self)
11211 return _IMP_algebra.Gaussian3D_show(self, *args)
11215 """__str__(Gaussian3D self) -> std::string"""
11216 return _IMP_algebra.Gaussian3D___str__(self)
11219 def __repr__(self):
11220 """__repr__(Gaussian3D self) -> std::string"""
11221 return _IMP_algebra.Gaussian3D___repr__(self)
11223 __swig_destroy__ = _IMP_algebra.delete_Gaussian3D
11224 __del__ =
lambda self:
None
11225 Gaussian3D_swigregister = _IMP_algebra.Gaussian3D_swigregister
11226 Gaussian3D_swigregister(Gaussian3D)
11230 """get_covariance(Gaussian3D g) -> Eigen::Matrix3d"""
11231 return _IMP_algebra.get_covariance(g)
11234 """get_gaussian_from_covariance(Eigen::Matrix3d const & covariance, Vector3D center) -> Gaussian3D"""
11235 return _IMP_algebra.get_gaussian_from_covariance(covariance, center)
11238 """get_rasterized(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D"""
11239 return _IMP_algebra.get_rasterized(gmm, weights, cell_width, bb)
11243 get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb, double factor=2.5) -> DenseDoubleGrid3D
11244 get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D
11246 return _IMP_algebra.get_rasterized_fast(gmm, weights, cell_width, bb, factor)
11248 def _pass_matrix_xf(m):
11249 """_pass_matrix_xf(Eigen::MatrixXf const & m) -> Eigen::MatrixXf"""
11250 return _IMP_algebra._pass_matrix_xf(m)
11252 def _pass_matrix_xd(m):
11253 """_pass_matrix_xd(Eigen::MatrixXd const & m) -> Eigen::MatrixXd"""
11254 return _IMP_algebra._pass_matrix_xd(m)
11256 def _pass_matrix_3d(m):
11257 """_pass_matrix_3d(Eigen::Matrix3d const & m) -> Eigen::Matrix3d"""
11258 return _IMP_algebra._pass_matrix_3d(m)
11260 def _pass_array_xd(m):
11261 """_pass_array_xd(Eigen::ArrayXXd const & m) -> Eigen::ArrayXXd"""
11262 return _IMP_algebra._pass_array_xd(m)
11264 def _pass_vector_xd(m):
11265 """_pass_vector_xd(Eigen::VectorXd const & m) -> Eigen::VectorXd"""
11266 return _IMP_algebra._pass_vector_xd(m)
11268 """Proxy of C++ IMP::algebra::NearestNeighborD<(1)> class"""
11269 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11271 def __init__(self, *args):
11273 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs, double epsilon=0) -> NearestNeighbor1D
11274 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs) -> NearestNeighbor1D
11276 this = _IMP_algebra.new_NearestNeighbor1D(*args)
11278 self.this.append(this)
11282 def set_query_log(self, fname):
11283 """set_query_log(NearestNeighbor1D self, std::string fname)"""
11284 return _IMP_algebra.NearestNeighbor1D_set_query_log(self, fname)
11287 def get_nearest_neighbor(self, *args):
11289 get_nearest_neighbor(NearestNeighbor1D self, Vector1D q) -> unsigned int
11290 get_nearest_neighbor(NearestNeighbor1D self, unsigned int i) -> unsigned int
11292 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbor(self, *args)
11295 def get_nearest_neighbors(self, *args):
11297 get_nearest_neighbors(NearestNeighbor1D self, unsigned int i, unsigned int k) -> IMP::Ints
11298 get_nearest_neighbors(NearestNeighbor1D self, Vector1D v, unsigned int k) -> IMP::Ints
11300 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbors(self, *args)
11303 def get_in_ball(self, *args):
11305 get_in_ball(NearestNeighbor1D self, unsigned int i, double distance) -> IMP::Ints
11306 get_in_ball(NearestNeighbor1D self, Vector1D pt, double distance) -> IMP::Ints
11308 return _IMP_algebra.NearestNeighbor1D_get_in_ball(self, *args)
11311 def get_version_info(self):
11312 """get_version_info(NearestNeighbor1D self) -> VersionInfo"""
11313 return _IMP_algebra.NearestNeighbor1D_get_version_info(self)
11317 """__str__(NearestNeighbor1D self) -> std::string"""
11318 return _IMP_algebra.NearestNeighbor1D___str__(self)
11321 def __repr__(self):
11322 """__repr__(NearestNeighbor1D self) -> std::string"""
11323 return _IMP_algebra.NearestNeighbor1D___repr__(self)
11328 return _object_cast_to_NearestNeighborD(o)
11330 NearestNeighbor1D_swigregister = _IMP_algebra.NearestNeighbor1D_swigregister
11331 NearestNeighbor1D_swigregister(NearestNeighbor1D)
11334 """Proxy of C++ IMP::algebra::NearestNeighborD<(2)> class"""
11335 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11337 def __init__(self, *args):
11339 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs, double epsilon=0) -> NearestNeighbor2D
11340 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs) -> NearestNeighbor2D
11342 this = _IMP_algebra.new_NearestNeighbor2D(*args)
11344 self.this.append(this)
11348 def set_query_log(self, fname):
11349 """set_query_log(NearestNeighbor2D self, std::string fname)"""
11350 return _IMP_algebra.NearestNeighbor2D_set_query_log(self, fname)
11353 def get_nearest_neighbor(self, *args):
11355 get_nearest_neighbor(NearestNeighbor2D self, Vector2D q) -> unsigned int
11356 get_nearest_neighbor(NearestNeighbor2D self, unsigned int i) -> unsigned int
11358 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbor(self, *args)
11361 def get_nearest_neighbors(self, *args):
11363 get_nearest_neighbors(NearestNeighbor2D self, unsigned int i, unsigned int k) -> IMP::Ints
11364 get_nearest_neighbors(NearestNeighbor2D self, Vector2D v, unsigned int k) -> IMP::Ints
11366 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbors(self, *args)
11369 def get_in_ball(self, *args):
11371 get_in_ball(NearestNeighbor2D self, unsigned int i, double distance) -> IMP::Ints
11372 get_in_ball(NearestNeighbor2D self, Vector2D pt, double distance) -> IMP::Ints
11374 return _IMP_algebra.NearestNeighbor2D_get_in_ball(self, *args)
11377 def get_version_info(self):
11378 """get_version_info(NearestNeighbor2D self) -> VersionInfo"""
11379 return _IMP_algebra.NearestNeighbor2D_get_version_info(self)
11383 """__str__(NearestNeighbor2D self) -> std::string"""
11384 return _IMP_algebra.NearestNeighbor2D___str__(self)
11387 def __repr__(self):
11388 """__repr__(NearestNeighbor2D self) -> std::string"""
11389 return _IMP_algebra.NearestNeighbor2D___repr__(self)
11394 return _object_cast_to_NearestNeighborD(o)
11396 NearestNeighbor2D_swigregister = _IMP_algebra.NearestNeighbor2D_swigregister
11397 NearestNeighbor2D_swigregister(NearestNeighbor2D)
11400 """Proxy of C++ IMP::algebra::NearestNeighborD<(3)> class"""
11401 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11403 def __init__(self, *args):
11405 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs, double epsilon=0) -> NearestNeighbor3D
11406 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs) -> NearestNeighbor3D
11408 this = _IMP_algebra.new_NearestNeighbor3D(*args)
11410 self.this.append(this)
11414 def set_query_log(self, fname):
11415 """set_query_log(NearestNeighbor3D self, std::string fname)"""
11416 return _IMP_algebra.NearestNeighbor3D_set_query_log(self, fname)
11419 def get_nearest_neighbor(self, *args):
11421 get_nearest_neighbor(NearestNeighbor3D self, Vector3D q) -> unsigned int
11422 get_nearest_neighbor(NearestNeighbor3D self, unsigned int i) -> unsigned int
11424 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbor(self, *args)
11427 def get_nearest_neighbors(self, *args):
11429 get_nearest_neighbors(NearestNeighbor3D self, unsigned int i, unsigned int k) -> IMP::Ints
11430 get_nearest_neighbors(NearestNeighbor3D self, Vector3D v, unsigned int k) -> IMP::Ints
11432 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbors(self, *args)
11435 def get_in_ball(self, *args):
11437 get_in_ball(NearestNeighbor3D self, unsigned int i, double distance) -> IMP::Ints
11438 get_in_ball(NearestNeighbor3D self, Vector3D pt, double distance) -> IMP::Ints
11440 return _IMP_algebra.NearestNeighbor3D_get_in_ball(self, *args)
11443 def get_version_info(self):
11444 """get_version_info(NearestNeighbor3D self) -> VersionInfo"""
11445 return _IMP_algebra.NearestNeighbor3D_get_version_info(self)
11449 """__str__(NearestNeighbor3D self) -> std::string"""
11450 return _IMP_algebra.NearestNeighbor3D___str__(self)
11453 def __repr__(self):
11454 """__repr__(NearestNeighbor3D self) -> std::string"""
11455 return _IMP_algebra.NearestNeighbor3D___repr__(self)
11460 return _object_cast_to_NearestNeighborD(o)
11462 NearestNeighbor3D_swigregister = _IMP_algebra.NearestNeighbor3D_swigregister
11463 NearestNeighbor3D_swigregister(NearestNeighbor3D)
11466 """Proxy of C++ IMP::algebra::NearestNeighborD<(4)> class"""
11467 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11469 def __init__(self, *args):
11471 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs, double epsilon=0) -> NearestNeighbor4D
11472 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs) -> NearestNeighbor4D
11474 this = _IMP_algebra.new_NearestNeighbor4D(*args)
11476 self.this.append(this)
11480 def set_query_log(self, fname):
11481 """set_query_log(NearestNeighbor4D self, std::string fname)"""
11482 return _IMP_algebra.NearestNeighbor4D_set_query_log(self, fname)
11485 def get_nearest_neighbor(self, *args):
11487 get_nearest_neighbor(NearestNeighbor4D self, Vector4D q) -> unsigned int
11488 get_nearest_neighbor(NearestNeighbor4D self, unsigned int i) -> unsigned int
11490 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbor(self, *args)
11493 def get_nearest_neighbors(self, *args):
11495 get_nearest_neighbors(NearestNeighbor4D self, unsigned int i, unsigned int k) -> IMP::Ints
11496 get_nearest_neighbors(NearestNeighbor4D self, Vector4D v, unsigned int k) -> IMP::Ints
11498 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbors(self, *args)
11501 def get_in_ball(self, *args):
11503 get_in_ball(NearestNeighbor4D self, unsigned int i, double distance) -> IMP::Ints
11504 get_in_ball(NearestNeighbor4D self, Vector4D pt, double distance) -> IMP::Ints
11506 return _IMP_algebra.NearestNeighbor4D_get_in_ball(self, *args)
11509 def get_version_info(self):
11510 """get_version_info(NearestNeighbor4D self) -> VersionInfo"""
11511 return _IMP_algebra.NearestNeighbor4D_get_version_info(self)
11515 """__str__(NearestNeighbor4D self) -> std::string"""
11516 return _IMP_algebra.NearestNeighbor4D___str__(self)
11519 def __repr__(self):
11520 """__repr__(NearestNeighbor4D self) -> std::string"""
11521 return _IMP_algebra.NearestNeighbor4D___repr__(self)
11526 return _object_cast_to_NearestNeighborD(o)
11528 NearestNeighbor4D_swigregister = _IMP_algebra.NearestNeighbor4D_swigregister
11529 NearestNeighbor4D_swigregister(NearestNeighbor4D)
11532 """Proxy of C++ IMP::algebra::NearestNeighborD<(5)> class"""
11533 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11535 def __init__(self, *args):
11537 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs, double epsilon=0) -> NearestNeighbor5D
11538 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs) -> NearestNeighbor5D
11540 this = _IMP_algebra.new_NearestNeighbor5D(*args)
11542 self.this.append(this)
11546 def set_query_log(self, fname):
11547 """set_query_log(NearestNeighbor5D self, std::string fname)"""
11548 return _IMP_algebra.NearestNeighbor5D_set_query_log(self, fname)
11551 def get_nearest_neighbor(self, *args):
11553 get_nearest_neighbor(NearestNeighbor5D self, Vector5D q) -> unsigned int
11554 get_nearest_neighbor(NearestNeighbor5D self, unsigned int i) -> unsigned int
11556 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbor(self, *args)
11559 def get_nearest_neighbors(self, *args):
11561 get_nearest_neighbors(NearestNeighbor5D self, unsigned int i, unsigned int k) -> IMP::Ints
11562 get_nearest_neighbors(NearestNeighbor5D self, Vector5D v, unsigned int k) -> IMP::Ints
11564 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbors(self, *args)
11567 def get_in_ball(self, *args):
11569 get_in_ball(NearestNeighbor5D self, unsigned int i, double distance) -> IMP::Ints
11570 get_in_ball(NearestNeighbor5D self, Vector5D pt, double distance) -> IMP::Ints
11572 return _IMP_algebra.NearestNeighbor5D_get_in_ball(self, *args)
11575 def get_version_info(self):
11576 """get_version_info(NearestNeighbor5D self) -> VersionInfo"""
11577 return _IMP_algebra.NearestNeighbor5D_get_version_info(self)
11581 """__str__(NearestNeighbor5D self) -> std::string"""
11582 return _IMP_algebra.NearestNeighbor5D___str__(self)
11585 def __repr__(self):
11586 """__repr__(NearestNeighbor5D self) -> std::string"""
11587 return _IMP_algebra.NearestNeighbor5D___repr__(self)
11592 return _object_cast_to_NearestNeighborD(o)
11594 NearestNeighbor5D_swigregister = _IMP_algebra.NearestNeighbor5D_swigregister
11595 NearestNeighbor5D_swigregister(NearestNeighbor5D)
11598 """Proxy of C++ IMP::algebra::NearestNeighborD<(6)> class"""
11599 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11601 def __init__(self, *args):
11603 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs, double epsilon=0) -> NearestNeighbor6D
11604 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs) -> NearestNeighbor6D
11606 this = _IMP_algebra.new_NearestNeighbor6D(*args)
11608 self.this.append(this)
11612 def set_query_log(self, fname):
11613 """set_query_log(NearestNeighbor6D self, std::string fname)"""
11614 return _IMP_algebra.NearestNeighbor6D_set_query_log(self, fname)
11617 def get_nearest_neighbor(self, *args):
11619 get_nearest_neighbor(NearestNeighbor6D self, Vector6D q) -> unsigned int
11620 get_nearest_neighbor(NearestNeighbor6D self, unsigned int i) -> unsigned int
11622 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbor(self, *args)
11625 def get_nearest_neighbors(self, *args):
11627 get_nearest_neighbors(NearestNeighbor6D self, unsigned int i, unsigned int k) -> IMP::Ints
11628 get_nearest_neighbors(NearestNeighbor6D self, Vector6D v, unsigned int k) -> IMP::Ints
11630 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbors(self, *args)
11633 def get_in_ball(self, *args):
11635 get_in_ball(NearestNeighbor6D self, unsigned int i, double distance) -> IMP::Ints
11636 get_in_ball(NearestNeighbor6D self, Vector6D pt, double distance) -> IMP::Ints
11638 return _IMP_algebra.NearestNeighbor6D_get_in_ball(self, *args)
11641 def get_version_info(self):
11642 """get_version_info(NearestNeighbor6D self) -> VersionInfo"""
11643 return _IMP_algebra.NearestNeighbor6D_get_version_info(self)
11647 """__str__(NearestNeighbor6D self) -> std::string"""
11648 return _IMP_algebra.NearestNeighbor6D___str__(self)
11651 def __repr__(self):
11652 """__repr__(NearestNeighbor6D self) -> std::string"""
11653 return _IMP_algebra.NearestNeighbor6D___repr__(self)
11658 return _object_cast_to_NearestNeighborD(o)
11660 NearestNeighbor6D_swigregister = _IMP_algebra.NearestNeighbor6D_swigregister
11661 NearestNeighbor6D_swigregister(NearestNeighbor6D)
11664 """Proxy of C++ IMP::algebra::NearestNeighborD<(-1)> class"""
11665 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11667 def __init__(self, *args):
11669 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs, double epsilon=0) -> NearestNeighborKD
11670 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs) -> NearestNeighborKD
11672 this = _IMP_algebra.new_NearestNeighborKD(*args)
11674 self.this.append(this)
11678 def set_query_log(self, fname):
11679 """set_query_log(NearestNeighborKD self, std::string fname)"""
11680 return _IMP_algebra.NearestNeighborKD_set_query_log(self, fname)
11683 def get_nearest_neighbor(self, *args):
11685 get_nearest_neighbor(NearestNeighborKD self, VectorKD q) -> unsigned int
11686 get_nearest_neighbor(NearestNeighborKD self, unsigned int i) -> unsigned int
11688 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbor(self, *args)
11691 def get_nearest_neighbors(self, *args):
11693 get_nearest_neighbors(NearestNeighborKD self, unsigned int i, unsigned int k) -> IMP::Ints
11694 get_nearest_neighbors(NearestNeighborKD self, VectorKD v, unsigned int k) -> IMP::Ints
11696 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbors(self, *args)
11699 def get_in_ball(self, *args):
11701 get_in_ball(NearestNeighborKD self, unsigned int i, double distance) -> IMP::Ints
11702 get_in_ball(NearestNeighborKD self, VectorKD pt, double distance) -> IMP::Ints
11704 return _IMP_algebra.NearestNeighborKD_get_in_ball(self, *args)
11707 def get_version_info(self):
11708 """get_version_info(NearestNeighborKD self) -> VersionInfo"""
11709 return _IMP_algebra.NearestNeighborKD_get_version_info(self)
11713 """__str__(NearestNeighborKD self) -> std::string"""
11714 return _IMP_algebra.NearestNeighborKD___str__(self)
11717 def __repr__(self):
11718 """__repr__(NearestNeighborKD self) -> std::string"""
11719 return _IMP_algebra.NearestNeighborKD___repr__(self)
11724 return _object_cast_to_NearestNeighborD(o)
11726 NearestNeighborKD_swigregister = _IMP_algebra.NearestNeighborKD_swigregister
11727 NearestNeighborKD_swigregister(NearestNeighborKD)
11731 """get_transformation_aligning_pair(IMP::algebra::Vector2Ds const & set_from, IMP::algebra::Vector2Ds const & set_to) -> Transformation2D"""
11732 return _IMP_algebra.get_transformation_aligning_pair(set_from, set_to)
11733 class PrincipalComponentAnalysis1D(_GeometricPrimitive1D):
11734 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(1)> class"""
11735 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11737 def __init__(self, *args):
11739 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self) -> PrincipalComponentAnalysis1D
11740 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & pcs, Vector1D values, Vector1D centroid) -> PrincipalComponentAnalysis1D
11742 this = _IMP_algebra.new_PrincipalComponentAnalysis1D(*args)
11744 self.this.append(this)
11749 """get_principal_components(PrincipalComponentAnalysis1D self) -> IMP::Vector< IMP::algebra::VectorD< 1 > >"""
11750 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_components(self)
11753 def get_principal_component(self, i):
11754 """get_principal_component(PrincipalComponentAnalysis1D self, unsigned int i) -> Vector1D"""
11755 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_component(self, i)
11758 def get_principal_values(self):
11759 """get_principal_values(PrincipalComponentAnalysis1D self) -> Vector1D"""
11760 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_values(self)
11763 def get_principal_value(self, i):
11764 """get_principal_value(PrincipalComponentAnalysis1D self, unsigned int i) -> double"""
11765 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_value(self, i)
11769 """get_centroid(PrincipalComponentAnalysis1D self) -> Vector1D"""
11770 return _IMP_algebra.PrincipalComponentAnalysis1D_get_centroid(self)
11773 def set_centroid(self, cntr):
11774 """set_centroid(PrincipalComponentAnalysis1D self, Vector1D cntr)"""
11775 return _IMP_algebra.PrincipalComponentAnalysis1D_set_centroid(self, cntr)
11778 def show(self, *args):
11780 show(PrincipalComponentAnalysis1D self, _ostream out)
11781 show(PrincipalComponentAnalysis1D self)
11783 return _IMP_algebra.PrincipalComponentAnalysis1D_show(self, *args)
11786 def __cmp__(self, o):
11787 """__cmp__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> int"""
11788 return _IMP_algebra.PrincipalComponentAnalysis1D___cmp__(self, o)
11791 def __eq__(self, o):
11792 """__eq__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11793 return _IMP_algebra.PrincipalComponentAnalysis1D___eq__(self, o)
11796 def __ne__(self, o):
11797 """__ne__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11798 return _IMP_algebra.PrincipalComponentAnalysis1D___ne__(self, o)
11801 def __lt__(self, o):
11802 """__lt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11803 return _IMP_algebra.PrincipalComponentAnalysis1D___lt__(self, o)
11806 def __gt__(self, o):
11807 """__gt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11808 return _IMP_algebra.PrincipalComponentAnalysis1D___gt__(self, o)
11811 def __ge__(self, o):
11812 """__ge__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11813 return _IMP_algebra.PrincipalComponentAnalysis1D___ge__(self, o)
11816 def __le__(self, o):
11817 """__le__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11818 return _IMP_algebra.PrincipalComponentAnalysis1D___le__(self, o)
11822 """__str__(PrincipalComponentAnalysis1D self) -> std::string"""
11823 return _IMP_algebra.PrincipalComponentAnalysis1D___str__(self)
11826 def __repr__(self):
11827 """__repr__(PrincipalComponentAnalysis1D self) -> std::string"""
11828 return _IMP_algebra.PrincipalComponentAnalysis1D___repr__(self)
11830 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis1D
11831 __del__ =
lambda self:
None
11832 PrincipalComponentAnalysis1D_swigregister = _IMP_algebra.PrincipalComponentAnalysis1D_swigregister
11833 PrincipalComponentAnalysis1D_swigregister(PrincipalComponentAnalysis1D)
11835 class PrincipalComponentAnalysis2D(_GeometricPrimitive2D):
11836 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(2)> class"""
11837 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11839 def __init__(self, *args):
11841 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self) -> PrincipalComponentAnalysis2D
11842 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & pcs, Vector2D values, Vector2D centroid) -> PrincipalComponentAnalysis2D
11844 this = _IMP_algebra.new_PrincipalComponentAnalysis2D(*args)
11846 self.this.append(this)
11851 """get_principal_components(PrincipalComponentAnalysis2D self) -> IMP::Vector< IMP::algebra::VectorD< 2 > >"""
11852 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_components(self)
11855 def get_principal_component(self, i):
11856 """get_principal_component(PrincipalComponentAnalysis2D self, unsigned int i) -> Vector2D"""
11857 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_component(self, i)
11860 def get_principal_values(self):
11861 """get_principal_values(PrincipalComponentAnalysis2D self) -> Vector2D"""
11862 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_values(self)
11865 def get_principal_value(self, i):
11866 """get_principal_value(PrincipalComponentAnalysis2D self, unsigned int i) -> double"""
11867 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_value(self, i)
11871 """get_centroid(PrincipalComponentAnalysis2D self) -> Vector2D"""
11872 return _IMP_algebra.PrincipalComponentAnalysis2D_get_centroid(self)
11875 def set_centroid(self, cntr):
11876 """set_centroid(PrincipalComponentAnalysis2D self, Vector2D cntr)"""
11877 return _IMP_algebra.PrincipalComponentAnalysis2D_set_centroid(self, cntr)
11880 def show(self, *args):
11882 show(PrincipalComponentAnalysis2D self, _ostream out)
11883 show(PrincipalComponentAnalysis2D self)
11885 return _IMP_algebra.PrincipalComponentAnalysis2D_show(self, *args)
11888 def __cmp__(self, o):
11889 """__cmp__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> int"""
11890 return _IMP_algebra.PrincipalComponentAnalysis2D___cmp__(self, o)
11893 def __eq__(self, o):
11894 """__eq__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11895 return _IMP_algebra.PrincipalComponentAnalysis2D___eq__(self, o)
11898 def __ne__(self, o):
11899 """__ne__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11900 return _IMP_algebra.PrincipalComponentAnalysis2D___ne__(self, o)
11903 def __lt__(self, o):
11904 """__lt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11905 return _IMP_algebra.PrincipalComponentAnalysis2D___lt__(self, o)
11908 def __gt__(self, o):
11909 """__gt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11910 return _IMP_algebra.PrincipalComponentAnalysis2D___gt__(self, o)
11913 def __ge__(self, o):
11914 """__ge__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11915 return _IMP_algebra.PrincipalComponentAnalysis2D___ge__(self, o)
11918 def __le__(self, o):
11919 """__le__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11920 return _IMP_algebra.PrincipalComponentAnalysis2D___le__(self, o)
11924 """__str__(PrincipalComponentAnalysis2D self) -> std::string"""
11925 return _IMP_algebra.PrincipalComponentAnalysis2D___str__(self)
11928 def __repr__(self):
11929 """__repr__(PrincipalComponentAnalysis2D self) -> std::string"""
11930 return _IMP_algebra.PrincipalComponentAnalysis2D___repr__(self)
11932 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis2D
11933 __del__ =
lambda self:
None
11934 PrincipalComponentAnalysis2D_swigregister = _IMP_algebra.PrincipalComponentAnalysis2D_swigregister
11935 PrincipalComponentAnalysis2D_swigregister(PrincipalComponentAnalysis2D)
11937 class PrincipalComponentAnalysis3D(_GeometricPrimitive3D):
11938 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(3)> class"""
11939 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11941 def __init__(self, *args):
11943 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self) -> PrincipalComponentAnalysis3D
11944 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & pcs, Vector3D values, Vector3D centroid) -> PrincipalComponentAnalysis3D
11946 this = _IMP_algebra.new_PrincipalComponentAnalysis3D(*args)
11948 self.this.append(this)
11953 """get_principal_components(PrincipalComponentAnalysis3D self) -> IMP::Vector< IMP::algebra::VectorD< 3 > >"""
11954 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_components(self)
11957 def get_principal_component(self, i):
11958 """get_principal_component(PrincipalComponentAnalysis3D self, unsigned int i) -> Vector3D"""
11959 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_component(self, i)
11962 def get_principal_values(self):
11963 """get_principal_values(PrincipalComponentAnalysis3D self) -> Vector3D"""
11964 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_values(self)
11967 def get_principal_value(self, i):
11968 """get_principal_value(PrincipalComponentAnalysis3D self, unsigned int i) -> double"""
11969 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_value(self, i)
11973 """get_centroid(PrincipalComponentAnalysis3D self) -> Vector3D"""
11974 return _IMP_algebra.PrincipalComponentAnalysis3D_get_centroid(self)
11977 def set_centroid(self, cntr):
11978 """set_centroid(PrincipalComponentAnalysis3D self, Vector3D cntr)"""
11979 return _IMP_algebra.PrincipalComponentAnalysis3D_set_centroid(self, cntr)
11982 def show(self, *args):
11984 show(PrincipalComponentAnalysis3D self, _ostream out)
11985 show(PrincipalComponentAnalysis3D self)
11987 return _IMP_algebra.PrincipalComponentAnalysis3D_show(self, *args)
11990 def __cmp__(self, o):
11991 """__cmp__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> int"""
11992 return _IMP_algebra.PrincipalComponentAnalysis3D___cmp__(self, o)
11995 def __eq__(self, o):
11996 """__eq__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11997 return _IMP_algebra.PrincipalComponentAnalysis3D___eq__(self, o)
12000 def __ne__(self, o):
12001 """__ne__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12002 return _IMP_algebra.PrincipalComponentAnalysis3D___ne__(self, o)
12005 def __lt__(self, o):
12006 """__lt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12007 return _IMP_algebra.PrincipalComponentAnalysis3D___lt__(self, o)
12010 def __gt__(self, o):
12011 """__gt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12012 return _IMP_algebra.PrincipalComponentAnalysis3D___gt__(self, o)
12015 def __ge__(self, o):
12016 """__ge__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12017 return _IMP_algebra.PrincipalComponentAnalysis3D___ge__(self, o)
12020 def __le__(self, o):
12021 """__le__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
12022 return _IMP_algebra.PrincipalComponentAnalysis3D___le__(self, o)
12026 """__str__(PrincipalComponentAnalysis3D self) -> std::string"""
12027 return _IMP_algebra.PrincipalComponentAnalysis3D___str__(self)
12030 def __repr__(self):
12031 """__repr__(PrincipalComponentAnalysis3D self) -> std::string"""
12032 return _IMP_algebra.PrincipalComponentAnalysis3D___repr__(self)
12034 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis3D
12035 __del__ =
lambda self:
None
12036 PrincipalComponentAnalysis3D_swigregister = _IMP_algebra.PrincipalComponentAnalysis3D_swigregister
12037 PrincipalComponentAnalysis3D_swigregister(PrincipalComponentAnalysis3D)
12039 class PrincipalComponentAnalysis4D(_GeometricPrimitive4D):
12040 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(4)> class"""
12041 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12043 def __init__(self, *args):
12045 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self) -> PrincipalComponentAnalysis4D
12046 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & pcs, Vector4D values, Vector4D centroid) -> PrincipalComponentAnalysis4D
12048 this = _IMP_algebra.new_PrincipalComponentAnalysis4D(*args)
12050 self.this.append(this)
12055 """get_principal_components(PrincipalComponentAnalysis4D self) -> IMP::Vector< IMP::algebra::VectorD< 4 > >"""
12056 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_components(self)
12059 def get_principal_component(self, i):
12060 """get_principal_component(PrincipalComponentAnalysis4D self, unsigned int i) -> Vector4D"""
12061 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_component(self, i)
12064 def get_principal_values(self):
12065 """get_principal_values(PrincipalComponentAnalysis4D self) -> Vector4D"""
12066 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_values(self)
12069 def get_principal_value(self, i):
12070 """get_principal_value(PrincipalComponentAnalysis4D self, unsigned int i) -> double"""
12071 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_value(self, i)
12075 """get_centroid(PrincipalComponentAnalysis4D self) -> Vector4D"""
12076 return _IMP_algebra.PrincipalComponentAnalysis4D_get_centroid(self)
12079 def set_centroid(self, cntr):
12080 """set_centroid(PrincipalComponentAnalysis4D self, Vector4D cntr)"""
12081 return _IMP_algebra.PrincipalComponentAnalysis4D_set_centroid(self, cntr)
12084 def show(self, *args):
12086 show(PrincipalComponentAnalysis4D self, _ostream out)
12087 show(PrincipalComponentAnalysis4D self)
12089 return _IMP_algebra.PrincipalComponentAnalysis4D_show(self, *args)
12092 def __cmp__(self, o):
12093 """__cmp__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> int"""
12094 return _IMP_algebra.PrincipalComponentAnalysis4D___cmp__(self, o)
12097 def __eq__(self, o):
12098 """__eq__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12099 return _IMP_algebra.PrincipalComponentAnalysis4D___eq__(self, o)
12102 def __ne__(self, o):
12103 """__ne__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12104 return _IMP_algebra.PrincipalComponentAnalysis4D___ne__(self, o)
12107 def __lt__(self, o):
12108 """__lt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12109 return _IMP_algebra.PrincipalComponentAnalysis4D___lt__(self, o)
12112 def __gt__(self, o):
12113 """__gt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12114 return _IMP_algebra.PrincipalComponentAnalysis4D___gt__(self, o)
12117 def __ge__(self, o):
12118 """__ge__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12119 return _IMP_algebra.PrincipalComponentAnalysis4D___ge__(self, o)
12122 def __le__(self, o):
12123 """__le__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
12124 return _IMP_algebra.PrincipalComponentAnalysis4D___le__(self, o)
12128 """__str__(PrincipalComponentAnalysis4D self) -> std::string"""
12129 return _IMP_algebra.PrincipalComponentAnalysis4D___str__(self)
12132 def __repr__(self):
12133 """__repr__(PrincipalComponentAnalysis4D self) -> std::string"""
12134 return _IMP_algebra.PrincipalComponentAnalysis4D___repr__(self)
12136 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis4D
12137 __del__ =
lambda self:
None
12138 PrincipalComponentAnalysis4D_swigregister = _IMP_algebra.PrincipalComponentAnalysis4D_swigregister
12139 PrincipalComponentAnalysis4D_swigregister(PrincipalComponentAnalysis4D)
12141 class PrincipalComponentAnalysis5D(_GeometricPrimitive5D):
12142 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(5)> class"""
12143 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12145 def __init__(self, *args):
12147 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self) -> PrincipalComponentAnalysis5D
12148 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & pcs, Vector5D values, Vector5D centroid) -> PrincipalComponentAnalysis5D
12150 this = _IMP_algebra.new_PrincipalComponentAnalysis5D(*args)
12152 self.this.append(this)
12157 """get_principal_components(PrincipalComponentAnalysis5D self) -> IMP::Vector< IMP::algebra::VectorD< 5 > >"""
12158 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_components(self)
12161 def get_principal_component(self, i):
12162 """get_principal_component(PrincipalComponentAnalysis5D self, unsigned int i) -> Vector5D"""
12163 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_component(self, i)
12166 def get_principal_values(self):
12167 """get_principal_values(PrincipalComponentAnalysis5D self) -> Vector5D"""
12168 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_values(self)
12171 def get_principal_value(self, i):
12172 """get_principal_value(PrincipalComponentAnalysis5D self, unsigned int i) -> double"""
12173 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_value(self, i)
12177 """get_centroid(PrincipalComponentAnalysis5D self) -> Vector5D"""
12178 return _IMP_algebra.PrincipalComponentAnalysis5D_get_centroid(self)
12181 def set_centroid(self, cntr):
12182 """set_centroid(PrincipalComponentAnalysis5D self, Vector5D cntr)"""
12183 return _IMP_algebra.PrincipalComponentAnalysis5D_set_centroid(self, cntr)
12186 def show(self, *args):
12188 show(PrincipalComponentAnalysis5D self, _ostream out)
12189 show(PrincipalComponentAnalysis5D self)
12191 return _IMP_algebra.PrincipalComponentAnalysis5D_show(self, *args)
12194 def __cmp__(self, o):
12195 """__cmp__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> int"""
12196 return _IMP_algebra.PrincipalComponentAnalysis5D___cmp__(self, o)
12199 def __eq__(self, o):
12200 """__eq__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12201 return _IMP_algebra.PrincipalComponentAnalysis5D___eq__(self, o)
12204 def __ne__(self, o):
12205 """__ne__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12206 return _IMP_algebra.PrincipalComponentAnalysis5D___ne__(self, o)
12209 def __lt__(self, o):
12210 """__lt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12211 return _IMP_algebra.PrincipalComponentAnalysis5D___lt__(self, o)
12214 def __gt__(self, o):
12215 """__gt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12216 return _IMP_algebra.PrincipalComponentAnalysis5D___gt__(self, o)
12219 def __ge__(self, o):
12220 """__ge__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12221 return _IMP_algebra.PrincipalComponentAnalysis5D___ge__(self, o)
12224 def __le__(self, o):
12225 """__le__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
12226 return _IMP_algebra.PrincipalComponentAnalysis5D___le__(self, o)
12230 """__str__(PrincipalComponentAnalysis5D self) -> std::string"""
12231 return _IMP_algebra.PrincipalComponentAnalysis5D___str__(self)
12234 def __repr__(self):
12235 """__repr__(PrincipalComponentAnalysis5D self) -> std::string"""
12236 return _IMP_algebra.PrincipalComponentAnalysis5D___repr__(self)
12238 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis5D
12239 __del__ =
lambda self:
None
12240 PrincipalComponentAnalysis5D_swigregister = _IMP_algebra.PrincipalComponentAnalysis5D_swigregister
12241 PrincipalComponentAnalysis5D_swigregister(PrincipalComponentAnalysis5D)
12243 class PrincipalComponentAnalysis6D(_GeometricPrimitive6D):
12244 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(6)> class"""
12245 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12247 def __init__(self, *args):
12249 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self) -> PrincipalComponentAnalysis6D
12250 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & pcs, Vector6D values, Vector6D centroid) -> PrincipalComponentAnalysis6D
12252 this = _IMP_algebra.new_PrincipalComponentAnalysis6D(*args)
12254 self.this.append(this)
12259 """get_principal_components(PrincipalComponentAnalysis6D self) -> IMP::Vector< IMP::algebra::VectorD< 6 > >"""
12260 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_components(self)
12263 def get_principal_component(self, i):
12264 """get_principal_component(PrincipalComponentAnalysis6D self, unsigned int i) -> Vector6D"""
12265 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_component(self, i)
12268 def get_principal_values(self):
12269 """get_principal_values(PrincipalComponentAnalysis6D self) -> Vector6D"""
12270 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_values(self)
12273 def get_principal_value(self, i):
12274 """get_principal_value(PrincipalComponentAnalysis6D self, unsigned int i) -> double"""
12275 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_value(self, i)
12279 """get_centroid(PrincipalComponentAnalysis6D self) -> Vector6D"""
12280 return _IMP_algebra.PrincipalComponentAnalysis6D_get_centroid(self)
12283 def set_centroid(self, cntr):
12284 """set_centroid(PrincipalComponentAnalysis6D self, Vector6D cntr)"""
12285 return _IMP_algebra.PrincipalComponentAnalysis6D_set_centroid(self, cntr)
12288 def show(self, *args):
12290 show(PrincipalComponentAnalysis6D self, _ostream out)
12291 show(PrincipalComponentAnalysis6D self)
12293 return _IMP_algebra.PrincipalComponentAnalysis6D_show(self, *args)
12296 def __cmp__(self, o):
12297 """__cmp__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> int"""
12298 return _IMP_algebra.PrincipalComponentAnalysis6D___cmp__(self, o)
12301 def __eq__(self, o):
12302 """__eq__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12303 return _IMP_algebra.PrincipalComponentAnalysis6D___eq__(self, o)
12306 def __ne__(self, o):
12307 """__ne__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12308 return _IMP_algebra.PrincipalComponentAnalysis6D___ne__(self, o)
12311 def __lt__(self, o):
12312 """__lt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12313 return _IMP_algebra.PrincipalComponentAnalysis6D___lt__(self, o)
12316 def __gt__(self, o):
12317 """__gt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12318 return _IMP_algebra.PrincipalComponentAnalysis6D___gt__(self, o)
12321 def __ge__(self, o):
12322 """__ge__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12323 return _IMP_algebra.PrincipalComponentAnalysis6D___ge__(self, o)
12326 def __le__(self, o):
12327 """__le__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
12328 return _IMP_algebra.PrincipalComponentAnalysis6D___le__(self, o)
12332 """__str__(PrincipalComponentAnalysis6D self) -> std::string"""
12333 return _IMP_algebra.PrincipalComponentAnalysis6D___str__(self)
12336 def __repr__(self):
12337 """__repr__(PrincipalComponentAnalysis6D self) -> std::string"""
12338 return _IMP_algebra.PrincipalComponentAnalysis6D___repr__(self)
12340 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis6D
12341 __del__ =
lambda self:
None
12342 PrincipalComponentAnalysis6D_swigregister = _IMP_algebra.PrincipalComponentAnalysis6D_swigregister
12343 PrincipalComponentAnalysis6D_swigregister(PrincipalComponentAnalysis6D)
12345 class PrincipalComponentAnalysisKD(_GeometricPrimitiveKD):
12346 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(-1)> class"""
12347 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12349 def __init__(self, *args):
12351 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self) -> PrincipalComponentAnalysisKD
12352 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & pcs, VectorKD values, VectorKD centroid) -> PrincipalComponentAnalysisKD
12354 this = _IMP_algebra.new_PrincipalComponentAnalysisKD(*args)
12356 self.this.append(this)
12361 """get_principal_components(PrincipalComponentAnalysisKD self) -> IMP::Vector< IMP::algebra::VectorD< -1 > >"""
12362 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_components(self)
12365 def get_principal_component(self, i):
12366 """get_principal_component(PrincipalComponentAnalysisKD self, unsigned int i) -> VectorKD"""
12367 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_component(self, i)
12370 def get_principal_values(self):
12371 """get_principal_values(PrincipalComponentAnalysisKD self) -> VectorKD"""
12372 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_values(self)
12375 def get_principal_value(self, i):
12376 """get_principal_value(PrincipalComponentAnalysisKD self, unsigned int i) -> double"""
12377 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_value(self, i)
12381 """get_centroid(PrincipalComponentAnalysisKD self) -> VectorKD"""
12382 return _IMP_algebra.PrincipalComponentAnalysisKD_get_centroid(self)
12385 def set_centroid(self, cntr):
12386 """set_centroid(PrincipalComponentAnalysisKD self, VectorKD cntr)"""
12387 return _IMP_algebra.PrincipalComponentAnalysisKD_set_centroid(self, cntr)
12390 def show(self, *args):
12392 show(PrincipalComponentAnalysisKD self, _ostream out)
12393 show(PrincipalComponentAnalysisKD self)
12395 return _IMP_algebra.PrincipalComponentAnalysisKD_show(self, *args)
12398 def __cmp__(self, o):
12399 """__cmp__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> int"""
12400 return _IMP_algebra.PrincipalComponentAnalysisKD___cmp__(self, o)
12403 def __eq__(self, o):
12404 """__eq__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12405 return _IMP_algebra.PrincipalComponentAnalysisKD___eq__(self, o)
12408 def __ne__(self, o):
12409 """__ne__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12410 return _IMP_algebra.PrincipalComponentAnalysisKD___ne__(self, o)
12413 def __lt__(self, o):
12414 """__lt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12415 return _IMP_algebra.PrincipalComponentAnalysisKD___lt__(self, o)
12418 def __gt__(self, o):
12419 """__gt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12420 return _IMP_algebra.PrincipalComponentAnalysisKD___gt__(self, o)
12423 def __ge__(self, o):
12424 """__ge__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12425 return _IMP_algebra.PrincipalComponentAnalysisKD___ge__(self, o)
12428 def __le__(self, o):
12429 """__le__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
12430 return _IMP_algebra.PrincipalComponentAnalysisKD___le__(self, o)
12434 """__str__(PrincipalComponentAnalysisKD self) -> std::string"""
12435 return _IMP_algebra.PrincipalComponentAnalysisKD___str__(self)
12438 def __repr__(self):
12439 """__repr__(PrincipalComponentAnalysisKD self) -> std::string"""
12440 return _IMP_algebra.PrincipalComponentAnalysisKD___repr__(self)
12442 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysisKD
12443 __del__ =
lambda self:
None
12444 PrincipalComponentAnalysisKD_swigregister = _IMP_algebra.PrincipalComponentAnalysisKD_swigregister
12445 PrincipalComponentAnalysisKD_swigregister(PrincipalComponentAnalysisKD)
12450 get_principal_components(IMP::Vector< IMP::algebra::Vector1D > const & a) -> PrincipalComponentAnalysis1D
12451 get_principal_components(IMP::Vector< IMP::algebra::Vector2D > const & a) -> PrincipalComponentAnalysis2D
12452 get_principal_components(IMP::Vector< IMP::algebra::Vector3D > const & a) -> PrincipalComponentAnalysis3D
12453 get_principal_components(IMP::Vector< IMP::algebra::Vector4D > const & a) -> PrincipalComponentAnalysis4D
12454 get_principal_components(IMP::Vector< IMP::algebra::Vector5D > const & a) -> PrincipalComponentAnalysis5D
12455 get_principal_components(IMP::Vector< IMP::algebra::Vector6D > const & a) -> PrincipalComponentAnalysis6D
12456 get_principal_components(IMP::Vector< IMP::algebra::VectorKD > const & a) -> PrincipalComponentAnalysisKD
12458 return _IMP_algebra.get_principal_components(*args)
12462 get_distance(Rotation3D r0, Rotation3D r1) -> double
12463 get_distance(Line3D s, Vector3D p) -> double
12464 get_distance(Line3D a, Line3D b) -> double
12465 get_distance(Segment3D s, Vector3D p) -> double
12466 get_distance(Segment3D a, Segment3D b) -> double
12467 get_distance(Plane3D pln, Vector3D p) -> double
12468 get_distance(Vector1D a, Vector1D b) -> double
12469 get_distance(Vector2D a, Vector2D b) -> double
12470 get_distance(Vector3D a, Vector3D b) -> double
12471 get_distance(Vector4D a, Vector4D b) -> double
12472 get_distance(Vector5D a, Vector5D b) -> double
12473 get_distance(Vector6D a, Vector6D b) -> double
12474 get_distance(VectorKD a, VectorKD b) -> double
12475 get_distance(Sphere1D a, Sphere1D b) -> double
12476 get_distance(Sphere2D a, Sphere2D b) -> double
12477 get_distance(Sphere3D a, Sphere3D b) -> double
12478 get_distance(Sphere4D a, Sphere4D b) -> double
12479 get_distance(Sphere5D a, Sphere5D b) -> double
12480 get_distance(Sphere6D a, Sphere6D b) -> double
12481 get_distance(SphereKD a, SphereKD b) -> double
12483 return _IMP_algebra.get_distance(*args)
12487 get_squared_distance(Vector1D a, Vector1D b) -> double
12488 get_squared_distance(Vector2D a, Vector2D b) -> double
12489 get_squared_distance(Vector3D a, Vector3D b) -> double
12490 get_squared_distance(Vector4D a, Vector4D b) -> double
12491 get_squared_distance(Vector5D a, Vector5D b) -> double
12492 get_squared_distance(Vector6D a, Vector6D b) -> double
12493 get_squared_distance(VectorKD a, VectorKD b) -> double
12495 return _IMP_algebra.get_squared_distance(*args)
12497 def get_basis_vector_1d(coordinate):
12498 """get_basis_vector_1d(unsigned int coordinate) -> Vector1D"""
12499 return _IMP_algebra.get_basis_vector_1d(coordinate)
12501 def get_basis_vector_2d(coordinate):
12502 """get_basis_vector_2d(unsigned int coordinate) -> Vector2D"""
12503 return _IMP_algebra.get_basis_vector_2d(coordinate)
12505 def get_basis_vector_3d(coordinate):
12506 """get_basis_vector_3d(unsigned int coordinate) -> Vector3D"""
12507 return _IMP_algebra.get_basis_vector_3d(coordinate)
12509 def get_basis_vector_4d(coordinate):
12510 """get_basis_vector_4d(unsigned int coordinate) -> Vector4D"""
12511 return _IMP_algebra.get_basis_vector_4d(coordinate)
12513 def get_basis_vector_5d(coordinate):
12514 """get_basis_vector_5d(unsigned int coordinate) -> Vector5D"""
12515 return _IMP_algebra.get_basis_vector_5d(coordinate)
12517 def get_basis_vector_6d(coordinate):
12518 """get_basis_vector_6d(unsigned int coordinate) -> Vector6D"""
12519 return _IMP_algebra.get_basis_vector_6d(coordinate)
12521 def get_zero_vector_1d():
12522 """get_zero_vector_1d() -> Vector1D"""
12523 return _IMP_algebra.get_zero_vector_1d()
12525 def get_zero_vector_2d():
12526 """get_zero_vector_2d() -> Vector2D"""
12527 return _IMP_algebra.get_zero_vector_2d()
12529 def get_zero_vector_3d():
12530 """get_zero_vector_3d() -> Vector3D"""
12531 return _IMP_algebra.get_zero_vector_3d()
12533 def get_zero_vector_4d():
12534 """get_zero_vector_4d() -> Vector4D"""
12535 return _IMP_algebra.get_zero_vector_4d()
12537 def get_zero_vector_5d():
12538 """get_zero_vector_5d() -> Vector5D"""
12539 return _IMP_algebra.get_zero_vector_5d()
12541 def get_zero_vector_6d():
12542 """get_zero_vector_6d() -> Vector6D"""
12543 return _IMP_algebra.get_zero_vector_6d()
12545 def get_ones_vector_1d(v=1):
12547 get_ones_vector_1d(double v=1) -> Vector1D
12548 get_ones_vector_1d() -> Vector1D
12550 return _IMP_algebra.get_ones_vector_1d(v)
12552 def get_ones_vector_2d(v=1):
12554 get_ones_vector_2d(double v=1) -> Vector2D
12555 get_ones_vector_2d() -> Vector2D
12557 return _IMP_algebra.get_ones_vector_2d(v)
12559 def get_ones_vector_3d(v=1):
12561 get_ones_vector_3d(double v=1) -> Vector3D
12562 get_ones_vector_3d() -> Vector3D
12564 return _IMP_algebra.get_ones_vector_3d(v)
12566 def get_ones_vector_4d(v=1):
12568 get_ones_vector_4d(double v=1) -> Vector4D
12569 get_ones_vector_4d() -> Vector4D
12571 return _IMP_algebra.get_ones_vector_4d(v)
12573 def get_ones_vector_5d(v=1):
12575 get_ones_vector_5d(double v=1) -> Vector5D
12576 get_ones_vector_5d() -> Vector5D
12578 return _IMP_algebra.get_ones_vector_5d(v)
12580 def get_ones_vector_6d(v=1):
12582 get_ones_vector_6d(double v=1) -> Vector6D
12583 get_ones_vector_6d() -> Vector6D
12585 return _IMP_algebra.get_ones_vector_6d(v)
12587 def get_unit_bounding_box_1d():
12588 """get_unit_bounding_box_1d() -> BoundingBox1D"""
12589 return _IMP_algebra.get_unit_bounding_box_1d()
12591 def get_unit_bounding_box_2d():
12592 """get_unit_bounding_box_2d() -> BoundingBox2D"""
12593 return _IMP_algebra.get_unit_bounding_box_2d()
12595 def get_unit_bounding_box_3d():
12596 """get_unit_bounding_box_3d() -> BoundingBox3D"""
12597 return _IMP_algebra.get_unit_bounding_box_3d()
12599 def get_unit_bounding_box_4d():
12600 """get_unit_bounding_box_4d() -> BoundingBox4D"""
12601 return _IMP_algebra.get_unit_bounding_box_4d()
12603 def get_unit_bounding_box_5d():
12604 """get_unit_bounding_box_5d() -> BoundingBox5D"""
12605 return _IMP_algebra.get_unit_bounding_box_5d()
12607 def get_unit_bounding_box_6d():
12608 """get_unit_bounding_box_6d() -> BoundingBox6D"""
12609 return _IMP_algebra.get_unit_bounding_box_6d()
12611 def get_cube_1d(radius):
12612 """get_cube_1d(double radius) -> BoundingBox1D"""
12613 return _IMP_algebra.get_cube_1d(radius)
12615 def get_cube_2d(radius):
12616 """get_cube_2d(double radius) -> BoundingBox2D"""
12617 return _IMP_algebra.get_cube_2d(radius)
12619 def get_cube_3d(radius):
12620 """get_cube_3d(double radius) -> BoundingBox3D"""
12621 return _IMP_algebra.get_cube_3d(radius)
12623 def get_cube_4d(radius):
12624 """get_cube_4d(double radius) -> BoundingBox4D"""
12625 return _IMP_algebra.get_cube_4d(radius)
12627 def get_cube_5d(radius):
12628 """get_cube_5d(double radius) -> BoundingBox5D"""
12629 return _IMP_algebra.get_cube_5d(radius)
12631 def get_cube_6d(radius):
12632 """get_cube_6d(double radius) -> BoundingBox6D"""
12633 return _IMP_algebra.get_cube_6d(radius)
12635 def get_unit_sphere_1d():
12636 """get_unit_sphere_1d() -> Sphere1D"""
12637 return _IMP_algebra.get_unit_sphere_1d()
12639 def get_unit_sphere_2d():
12640 """get_unit_sphere_2d() -> Sphere2D"""
12641 return _IMP_algebra.get_unit_sphere_2d()
12643 def get_unit_sphere_3d():
12644 """get_unit_sphere_3d() -> Sphere3D"""
12645 return _IMP_algebra.get_unit_sphere_3d()
12647 def get_unit_sphere_4d():
12648 """get_unit_sphere_4d() -> Sphere4D"""
12649 return _IMP_algebra.get_unit_sphere_4d()
12651 def get_unit_sphere_5d():
12652 """get_unit_sphere_5d() -> Sphere5D"""
12653 return _IMP_algebra.get_unit_sphere_5d()
12655 def get_unit_sphere_6d():
12656 """get_unit_sphere_6d() -> Sphere6D"""
12657 return _IMP_algebra.get_unit_sphere_6d()
12661 get_interiors_intersect(Sphere1D a, Sphere1D b) -> bool
12662 get_interiors_intersect(Sphere2D a, Sphere2D b) -> bool
12663 get_interiors_intersect(Sphere3D a, Sphere3D b) -> bool
12664 get_interiors_intersect(Sphere4D a, Sphere4D b) -> bool
12665 get_interiors_intersect(Sphere5D a, Sphere5D b) -> bool
12666 get_interiors_intersect(Sphere6D a, Sphere6D b) -> bool
12667 get_interiors_intersect(SphereKD a, SphereKD b) -> bool
12668 get_interiors_intersect(BoundingBox1D a, BoundingBox1D b) -> bool
12669 get_interiors_intersect(BoundingBox2D a, BoundingBox2D b) -> bool
12670 get_interiors_intersect(BoundingBox3D a, BoundingBox3D b) -> bool
12671 get_interiors_intersect(BoundingBox4D a, BoundingBox4D b) -> bool
12672 get_interiors_intersect(BoundingBox5D a, BoundingBox5D b) -> bool
12673 get_interiors_intersect(BoundingBox6D a, BoundingBox6D b) -> bool
12674 get_interiors_intersect(BoundingBoxKD a, BoundingBoxKD b) -> bool
12676 return _IMP_algebra.get_interiors_intersect(*args)
12680 get_random_vector_on(Sphere1D a) -> Vector1D
12681 get_random_vector_on(Sphere2D a) -> Vector2D
12682 get_random_vector_on(Sphere3D a) -> Vector3D
12683 get_random_vector_on(Sphere4D a) -> Vector4D
12684 get_random_vector_on(Sphere5D a) -> Vector5D
12685 get_random_vector_on(Sphere6D a) -> Vector6D
12686 get_random_vector_on(SphereKD a) -> VectorKD
12687 get_random_vector_on(UnitSimplex1D a) -> Vector1D
12688 get_random_vector_on(UnitSimplex2D a) -> Vector2D
12689 get_random_vector_on(UnitSimplex3D a) -> Vector3D
12690 get_random_vector_on(UnitSimplex4D a) -> Vector4D
12691 get_random_vector_on(UnitSimplex5D a) -> Vector5D
12692 get_random_vector_on(UnitSimplex6D a) -> Vector6D
12693 get_random_vector_on(UnitSimplexKD a) -> VectorKD
12694 get_random_vector_on(BoundingBox1D a) -> Vector1D
12695 get_random_vector_on(BoundingBox2D a) -> Vector2D
12696 get_random_vector_on(BoundingBox3D a) -> Vector3D
12697 get_random_vector_on(BoundingBox4D a) -> Vector4D
12698 get_random_vector_on(BoundingBox5D a) -> Vector5D
12699 get_random_vector_on(BoundingBox6D a) -> Vector6D
12700 get_random_vector_on(BoundingBoxKD a) -> VectorKD
12702 return _IMP_algebra.get_random_vector_on(*args)
12706 get_random_vector_in(Cylinder3D c) -> Vector3D
12707 get_random_vector_in(Sphere1D a) -> Vector1D
12708 get_random_vector_in(Sphere2D a) -> Vector2D
12709 get_random_vector_in(Sphere3D a) -> Vector3D
12710 get_random_vector_in(Sphere4D a) -> Vector4D
12711 get_random_vector_in(Sphere5D a) -> Vector5D
12712 get_random_vector_in(Sphere6D a) -> Vector6D
12713 get_random_vector_in(SphereKD a) -> VectorKD
12714 get_random_vector_in(BoundingBox1D a) -> Vector1D
12715 get_random_vector_in(BoundingBox2D a) -> Vector2D
12716 get_random_vector_in(BoundingBox3D a) -> Vector3D
12717 get_random_vector_in(BoundingBox4D a) -> Vector4D
12718 get_random_vector_in(BoundingBox5D a) -> Vector5D
12719 get_random_vector_in(BoundingBox6D a) -> Vector6D
12720 get_random_vector_in(BoundingBoxKD a) -> VectorKD
12722 return _IMP_algebra.get_random_vector_in(*args)
12726 get_intersection(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12727 get_intersection(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12728 get_intersection(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12729 get_intersection(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12730 get_intersection(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12731 get_intersection(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12732 get_intersection(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12734 return _IMP_algebra.get_intersection(*args)
12738 get_union(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12739 get_union(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12740 get_union(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12741 get_union(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12742 get_union(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12743 get_union(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12744 get_union(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12746 return _IMP_algebra.get_union(*args)
12748 def get_bounding_box(*args):
12750 get_bounding_box(Line3D g) -> BoundingBox3D
12751 get_bounding_box(Segment3D g) -> BoundingBox3D
12752 get_bounding_box(Plane3D g) -> BoundingBox3D
12753 get_bounding_box(Cylinder3D g) -> BoundingBox3D
12754 get_bounding_box(Ellipsoid3D g) -> BoundingBox3D
12755 get_bounding_box(SpherePatch3D g) -> BoundingBox3D
12756 get_bounding_box(Cone3D g) -> BoundingBox3D
12757 get_bounding_box(Sphere1D a) -> BoundingBox1D
12758 get_bounding_box(Sphere2D a) -> BoundingBox2D
12759 get_bounding_box(Sphere3D a) -> BoundingBox3D
12760 get_bounding_box(Sphere4D a) -> BoundingBox4D
12761 get_bounding_box(Sphere5D a) -> BoundingBox5D
12762 get_bounding_box(Sphere6D a) -> BoundingBox6D
12763 get_bounding_box(SphereKD a) -> BoundingBoxKD
12765 return _IMP_algebra.get_bounding_box(*args)
12769 get_uniform_surface_cover(Cylinder3D cyl, int number_of_points) -> IMP::algebra::Vector3Ds
12770 get_uniform_surface_cover(SpherePatch3D sph, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12771 get_uniform_surface_cover(Cone3D cone, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12772 get_uniform_surface_cover(IMP::algebra::Sphere3Ds const & arg1, double points_per_square_angstrom) -> IMP::algebra::Vector3Ds
12773 get_uniform_surface_cover(Sphere1D a, unsigned int const & b) -> IMP::algebra::Vector1Ds
12774 get_uniform_surface_cover(Sphere2D a, unsigned int const & b) -> IMP::algebra::Vector2Ds
12775 get_uniform_surface_cover(Sphere3D a, unsigned int const & b) -> IMP::algebra::Vector3Ds
12776 get_uniform_surface_cover(Sphere4D a, unsigned int const & b) -> IMP::algebra::Vector4Ds
12777 get_uniform_surface_cover(Sphere5D a, unsigned int const & b) -> IMP::algebra::Vector5Ds
12778 get_uniform_surface_cover(Sphere6D a, unsigned int const & b) -> IMP::algebra::Vector6Ds
12779 get_uniform_surface_cover(SphereKD a, unsigned int const & b) -> IMP::algebra::VectorKDs
12781 return _IMP_algebra.get_uniform_surface_cover(*args)
12785 get_grid_interior_cover_by_spacing(BoundingBox1D a, double const & b) -> IMP::algebra::Vector1Ds
12786 get_grid_interior_cover_by_spacing(BoundingBox2D a, double const & b) -> IMP::algebra::Vector2Ds
12787 get_grid_interior_cover_by_spacing(BoundingBox3D a, double const & b) -> IMP::algebra::Vector3Ds
12788 get_grid_interior_cover_by_spacing(BoundingBox4D a, double const & b) -> IMP::algebra::Vector4Ds
12789 get_grid_interior_cover_by_spacing(BoundingBox5D a, double const & b) -> IMP::algebra::Vector5Ds
12790 get_grid_interior_cover_by_spacing(BoundingBox6D a, double const & b) -> IMP::algebra::Vector6Ds
12791 get_grid_interior_cover_by_spacing(BoundingBoxKD a, double const & b) -> IMP::algebra::VectorKDs
12793 return _IMP_algebra.get_grid_interior_cover_by_spacing(*args)
12797 get_projected(Line3D l, Vector3D p) -> Vector3D
12798 get_projected(Line3D l, Segment3D s) -> Segment3D
12799 get_projected(UnitSimplex1D a, Vector1D b) -> Vector1D
12800 get_projected(UnitSimplex2D a, Vector2D b) -> Vector2D
12801 get_projected(UnitSimplex3D a, Vector3D b) -> Vector3D
12802 get_projected(UnitSimplex4D a, Vector4D b) -> Vector4D
12803 get_projected(UnitSimplex5D a, Vector5D b) -> Vector5D
12804 get_projected(UnitSimplex6D a, Vector6D b) -> Vector6D
12805 get_projected(UnitSimplexKD a, VectorKD b) -> VectorKD
12807 return _IMP_algebra.get_projected(*args)
12811 get_vertices(BoundingBox1D a) -> IMP::Vector< IMP::algebra::Vector1D >
12812 get_vertices(BoundingBox2D a) -> IMP::Vector< IMP::algebra::Vector2D >
12813 get_vertices(BoundingBox3D a) -> IMP::Vector< IMP::algebra::Vector3D >
12814 get_vertices(BoundingBox4D a) -> IMP::Vector< IMP::algebra::Vector4D >
12815 get_vertices(BoundingBox5D a) -> IMP::Vector< IMP::algebra::Vector5D >
12816 get_vertices(BoundingBox6D a) -> IMP::Vector< IMP::algebra::Vector6D >
12817 get_vertices(BoundingBoxKD a) -> IMP::Vector< IMP::algebra::VectorKD >
12818 get_vertices(UnitSimplex1D a) -> IMP::Vector< IMP::algebra::Vector1D >
12819 get_vertices(UnitSimplex2D a) -> IMP::Vector< IMP::algebra::Vector2D >
12820 get_vertices(UnitSimplex3D a) -> IMP::Vector< IMP::algebra::Vector3D >
12821 get_vertices(UnitSimplex4D a) -> IMP::Vector< IMP::algebra::Vector4D >
12822 get_vertices(UnitSimplex5D a) -> IMP::Vector< IMP::algebra::Vector5D >
12823 get_vertices(UnitSimplex6D a) -> IMP::Vector< IMP::algebra::Vector6D >
12824 get_vertices(UnitSimplexKD a) -> IMP::Vector< IMP::algebra::VectorKD >
12826 return _IMP_algebra.get_vertices(*args)
12830 get_increasing_from_embedded(UnitSimplex1D a, Vector1D b) -> Vector1D
12831 get_increasing_from_embedded(UnitSimplex2D a, Vector2D b) -> Vector2D
12832 get_increasing_from_embedded(UnitSimplex3D a, Vector3D b) -> Vector3D
12833 get_increasing_from_embedded(UnitSimplex4D a, Vector4D b) -> Vector4D
12834 get_increasing_from_embedded(UnitSimplex5D a, Vector5D b) -> Vector5D
12835 get_increasing_from_embedded(UnitSimplex6D a, Vector6D b) -> Vector6D
12836 get_increasing_from_embedded(UnitSimplexKD a, VectorKD b) -> VectorKD
12838 return _IMP_algebra.get_increasing_from_embedded(*args)
12842 get_embedded_from_increasing(UnitSimplex1D a, Vector1D b) -> Vector1D
12843 get_embedded_from_increasing(UnitSimplex2D a, Vector2D b) -> Vector2D
12844 get_embedded_from_increasing(UnitSimplex3D a, Vector3D b) -> Vector3D
12845 get_embedded_from_increasing(UnitSimplex4D a, Vector4D b) -> Vector4D
12846 get_embedded_from_increasing(UnitSimplex5D a, Vector5D b) -> Vector5D
12847 get_embedded_from_increasing(UnitSimplex6D a, Vector6D b) -> Vector6D
12848 get_embedded_from_increasing(UnitSimplexKD a, VectorKD b) -> VectorKD
12850 return _IMP_algebra.get_embedded_from_increasing(*args)
12851 class _AxisAnglePair(object):
12852 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,double)> class"""
12853 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12854 __repr__ = _swig_repr
12856 def __init__(self, *args):
12858 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self) -> _AxisAnglePair
12859 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, Vector3D first, double second) -> _AxisAnglePair
12860 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, _AxisAnglePair p) -> _AxisAnglePair
12862 this = _IMP_algebra.new__AxisAnglePair(*args)
12864 self.this.append(this)
12867 first = _swig_property(_IMP_algebra._AxisAnglePair_first_get, _IMP_algebra._AxisAnglePair_first_set)
12868 second = _swig_property(_IMP_algebra._AxisAnglePair_second_get, _IMP_algebra._AxisAnglePair_second_set)
12871 def __repr__(self):
12872 return str((self.first, self.second))
12873 def __getitem__(self, index):
12874 if not (index % 2):
12878 def __setitem__(self, index, val):
12879 if not (index % 2):
12883 __swig_destroy__ = _IMP_algebra.delete__AxisAnglePair
12884 __del__ =
lambda self:
None
12885 _AxisAnglePair_swigregister = _IMP_algebra._AxisAnglePair_swigregister
12886 _AxisAnglePair_swigregister(_AxisAnglePair)
12890 """get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & source, IMP::Vector< IMP::algebra::VectorD< 3 > > const & target) -> Transformation3D"""
12891 return _IMP_algebra.get_transformation_aligning_first_to_second(source, target)
12892 class _RotatedVector3DAdjoint(object):
12893 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> class"""
12894 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12895 __repr__ = _swig_repr
12897 def __init__(self, *args):
12899 __init__(std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> self) -> _RotatedVector3DAdjoint
12900 __init__(std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> self, Vector3D first, Vector4D second) -> _RotatedVector3DAdjoint
12901 __init__(std::pair<(IMP::algebra::VectorD<(3)>,IMP::algebra::VectorD<(4)>)> self, _RotatedVector3DAdjoint p) -> _RotatedVector3DAdjoint
12903 this = _IMP_algebra.new__RotatedVector3DAdjoint(*args)
12905 self.this.append(this)
12908 first = _swig_property(_IMP_algebra._RotatedVector3DAdjoint_first_get, _IMP_algebra._RotatedVector3DAdjoint_first_set)
12909 second = _swig_property(_IMP_algebra._RotatedVector3DAdjoint_second_get, _IMP_algebra._RotatedVector3DAdjoint_second_set)
12912 def __repr__(self):
12913 return str((self.first, self.second))
12914 def __getitem__(self, index):
12915 if not (index % 2):
12919 def __setitem__(self, index, val):
12920 if not (index % 2):
12924 __swig_destroy__ = _IMP_algebra.delete__RotatedVector3DAdjoint
12925 __del__ =
lambda self:
None
12926 _RotatedVector3DAdjoint_swigregister = _IMP_algebra._RotatedVector3DAdjoint_swigregister
12927 _RotatedVector3DAdjoint_swigregister(_RotatedVector3DAdjoint)
12929 class _ComposeRotation3DAdjoint(object):
12930 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> class"""
12931 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12932 __repr__ = _swig_repr
12934 def __init__(self, *args):
12936 __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> self) -> _ComposeRotation3DAdjoint
12937 __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> self, Vector4D first, Vector4D second) -> _ComposeRotation3DAdjoint
12938 __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(4)>)> self, _ComposeRotation3DAdjoint p) -> _ComposeRotation3DAdjoint
12940 this = _IMP_algebra.new__ComposeRotation3DAdjoint(*args)
12942 self.this.append(this)
12945 first = _swig_property(_IMP_algebra._ComposeRotation3DAdjoint_first_get, _IMP_algebra._ComposeRotation3DAdjoint_first_set)
12946 second = _swig_property(_IMP_algebra._ComposeRotation3DAdjoint_second_get, _IMP_algebra._ComposeRotation3DAdjoint_second_set)
12949 def __repr__(self):
12950 return str((self.first, self.second))
12951 def __getitem__(self, index):
12952 if not (index % 2):
12956 def __setitem__(self, index, val):
12957 if not (index % 2):
12961 __swig_destroy__ = _IMP_algebra.delete__ComposeRotation3DAdjoint
12962 __del__ =
lambda self:
None
12963 _ComposeRotation3DAdjoint_swigregister = _IMP_algebra._ComposeRotation3DAdjoint_swigregister
12964 _ComposeRotation3DAdjoint_swigregister(_ComposeRotation3DAdjoint)
12966 class _Transformation3DAdjoint(object):
12967 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> class"""
12968 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12969 __repr__ = _swig_repr
12971 def __init__(self, *args):
12973 __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> self) -> _Transformation3DAdjoint
12974 __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> self, Vector4D first, Vector3D second) -> _Transformation3DAdjoint
12975 __init__(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)> self, _Transformation3DAdjoint p) -> _Transformation3DAdjoint
12977 this = _IMP_algebra.new__Transformation3DAdjoint(*args)
12979 self.this.append(this)
12982 first = _swig_property(_IMP_algebra._Transformation3DAdjoint_first_get, _IMP_algebra._Transformation3DAdjoint_first_set)
12983 second = _swig_property(_IMP_algebra._Transformation3DAdjoint_second_get, _IMP_algebra._Transformation3DAdjoint_second_set)
12986 def __repr__(self):
12987 return str((self.first, self.second))
12988 def __getitem__(self, index):
12989 if not (index % 2):
12993 def __setitem__(self, index, val):
12994 if not (index % 2):
12998 __swig_destroy__ = _IMP_algebra.delete__Transformation3DAdjoint
12999 __del__ =
lambda self:
None
13000 _Transformation3DAdjoint_swigregister = _IMP_algebra._Transformation3DAdjoint_swigregister
13001 _Transformation3DAdjoint_swigregister(_Transformation3DAdjoint)
13003 class _TransformedVector3DAdjoint(object):
13004 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> class"""
13005 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13006 __repr__ = _swig_repr
13008 def __init__(self, *args):
13010 __init__(std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self) -> _TransformedVector3DAdjoint
13011 __init__(std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, Vector3D first, _Transformation3DAdjoint second) -> _TransformedVector3DAdjoint
13012 __init__(std::pair<(IMP::algebra::VectorD<(3)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, _TransformedVector3DAdjoint p) -> _TransformedVector3DAdjoint
13014 this = _IMP_algebra.new__TransformedVector3DAdjoint(*args)
13016 self.this.append(this)
13019 first = _swig_property(_IMP_algebra._TransformedVector3DAdjoint_first_get, _IMP_algebra._TransformedVector3DAdjoint_first_set)
13020 second = _swig_property(_IMP_algebra._TransformedVector3DAdjoint_second_get, _IMP_algebra._TransformedVector3DAdjoint_second_set)
13023 def __repr__(self):
13024 return str((self.first, self.second))
13025 def __getitem__(self, index):
13026 if not (index % 2):
13030 def __setitem__(self, index, val):
13031 if not (index % 2):
13035 __swig_destroy__ = _IMP_algebra.delete__TransformedVector3DAdjoint
13036 __del__ =
lambda self:
None
13037 _TransformedVector3DAdjoint_swigregister = _IMP_algebra._TransformedVector3DAdjoint_swigregister
13038 _TransformedVector3DAdjoint_swigregister(_TransformedVector3DAdjoint)
13040 class _ComposeTransformation3DAdjoint(object):
13041 """Proxy of C++ std::pair<(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> class"""
13042 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13043 __repr__ = _swig_repr
13045 def __init__(self, *args):
13047 __init__(std::pair<(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self) -> _ComposeTransformation3DAdjoint
13048 __init__(std::pair<(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, _Transformation3DAdjoint first, _Transformation3DAdjoint second) -> _ComposeTransformation3DAdjoint
13049 __init__(std::pair<(std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>,std::pair<(IMP::algebra::VectorD<(4)>,IMP::algebra::VectorD<(3)>)>)> self, _ComposeTransformation3DAdjoint p) -> _ComposeTransformation3DAdjoint
13051 this = _IMP_algebra.new__ComposeTransformation3DAdjoint(*args)
13053 self.this.append(this)
13056 first = _swig_property(_IMP_algebra._ComposeTransformation3DAdjoint_first_get, _IMP_algebra._ComposeTransformation3DAdjoint_first_set)
13057 second = _swig_property(_IMP_algebra._ComposeTransformation3DAdjoint_second_get, _IMP_algebra._ComposeTransformation3DAdjoint_second_set)
13060 def __repr__(self):
13061 return str((self.first, self.second))
13062 def __getitem__(self, index):
13063 if not (index % 2):
13067 def __setitem__(self, index, val):
13068 if not (index % 2):
13072 __swig_destroy__ = _IMP_algebra.delete__ComposeTransformation3DAdjoint
13073 __del__ =
lambda self:
None
13074 _ComposeTransformation3DAdjoint_swigregister = _IMP_algebra._ComposeTransformation3DAdjoint_swigregister
13075 _ComposeTransformation3DAdjoint_swigregister(_ComposeTransformation3DAdjoint)
13079 """get_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
13080 return _IMP_algebra.get_rmsd_transforming_first(tr, v0, v1)
13083 """get_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
13084 return _IMP_algebra.get_rmsd(v0, v1)
13086 def get_weighted_rmsd_transforming_first(tr, v0, v1, weights):
13087 """get_weighted_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
13088 return _IMP_algebra.get_weighted_rmsd_transforming_first(tr, v0, v1, weights)
13091 """get_weighted_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
13092 return _IMP_algebra.get_weighted_rmsd(v0, v1, weights)
13094 LinearFit=LinearFit2D
13095 ParabolicFit=ParabolicFit2D
13099 """get_module_version() -> std::string const"""
13100 return _IMP_algebra.get_module_version()
13103 """get_example_path(std::string fname) -> std::string"""
13104 return _IMP_algebra.get_example_path(fname)
13107 """get_data_path(std::string fname) -> std::string"""
13108 return _IMP_algebra.get_data_path(fname)
13110 from .
import _version_check
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)
double get_height(const Surface &s, const XYZR &d)
Get height of sphere above surface.
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.
void compose_adjoint(const Rotation3D &A, const Rotation3D &B, Vector4D DC, Rotation3DAdjoint *DA, Rotation3DAdjoint *DB)
Get adjoint of inputs to compose from adjoint of output.
VectorD< 3 > get_random_vector_on_unit_sphere()
DenseGrid3D< double > get_rasterized(const Gaussian3Ds &gmm, const Floats &weights, double cell_width, const BoundingBox3D &bb)
Rasterize the Gaussians to a grid.
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.
Gaussian3D get_gaussian_from_covariance(const Eigen::Matrix3d &covariance, const Vector3D ¢er)
Return a Gaussian centered at the origin from a covariance matrix.
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.
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)
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.
Eigen::MatrixXd get_jacobian_of_composed_wrt_first(const Rotation3D &q, const Rotation3D &p, bool wrt_unnorm=false)
Get gradient of quaternion product with respect to first quaternion.
VectorD< D > get_basis_vector_kd(int Di, unsigned int coordinate)
Return the basis vector for the given coordinate.
double get_angle(const Line3D &a, const Line3D &b)
Get angle in radians between two lines around their closest points.
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.
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)
Generate 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.
Vector3D get_vector_product(const Vector3D &p1, const Vector3D &p2)
Return 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.
VectorD< D > get_increasing_from_embedded(const UnitSimplexD< D > &s, const VectorD< D > &p)
Convert point on simplex from embedded to increasing coordinates.
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
VectorD< D > get_embedded_from_increasing(const UnitSimplexD< D > &s, const VectorD< D > &p)
Convert point on simplex from increasing to embedded coordinates.
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()
Build an identity rotation in 2D.
Sphere3Ds read_spheres(TextInput input)
Read a set of 3D spheres from a file.
Vector3D get_projected(const Line3D &l, const Vector3D &p)
Project a point onto the line.
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)
Get surface area & volume of the union of the balls bounded by the spheres.
Transformation3Ds get_alignments_from_first_to_second(const PrincipalComponentAnalysisD< 3 > &pca1, const PrincipalComponentAnalysisD< 3 > &pca2)
Get all alignments of the first principal component system to the second one.
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)
Return 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.
Eigen::MatrixXd get_jacobian_of_composed_wrt_second(const Rotation3D &q, const Rotation3D &p, bool wrt_unnorm=false)
Get Jacobian of quaternion product with respect to second quaternion.
void reversed_read(void *dest, size_t size, size_t nitems, std::ifstream &f, bool reverse)
Reads from file in normal or reverse order.
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)
Build a 3D transformation from a 2D one.
double get_relative_projection_on_segment(const Segment3D &s, const algebra::Vector3D &p)
Return the 'relative' projection of a point p onto the line that contains s.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Eigen::Matrix3d get_covariance(const Gaussian3D &g)
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)
Get a set of balls that approximates the surface of the passed set.
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.
algebra::Segment3D get_segment_connecting_first_to_second(const Line3D &a, const Line3D &b)
Get shortest possible segment from the first line to the second.
Vector< VectorD< D > > get_grid_interior_cover_by_spacing(const BoundingBoxD< D > &bb, double s)
DenseGrid3D< double > get_rasterized_fast(const Gaussian3Ds &gmm, const Floats &weights, double cell_width, const BoundingBox3D &bb, double factor=2.5)
Rasterize the Gaussians to a grid.
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)
Get the indexes from a list of particles.
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.
double get_distance(const Line3D &s, const Vector3D &p)
Get closest distance between a line and a point.
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()
Return a transformation that does not do anything.
std::string get_module_version()
Return the version of this module, as a string.
ConnollySurfacePoints get_connolly_surface(const algebra::Sphere3Ds &spheres, double density, double probe_radius)
Rotation2D get_random_rotation_2d()
Build an identity rotation in 2D.