9 from sys
import version_info
10 if version_info >= (2,6,0):
11 def swig_import_helper():
12 from os.path
import dirname
16 fp, pathname, description = imp.find_module(
'_IMP_algebra', [dirname(__file__)])
22 _mod = imp.load_module(
'_IMP_algebra', fp, pathname, description)
26 _IMP_algebra = swig_import_helper()
27 del swig_import_helper
32 _swig_property = property
35 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
36 if (name ==
"thisown"):
return self.this.own(value)
38 if type(value).__name__ ==
'SwigPyObject':
39 self.__dict__[name] = value
41 method = class_type.__swig_setmethods__.get(name,
None)
42 if method:
return method(self,value)
44 self.__dict__[name] = value
46 raise AttributeError(
"You cannot add attributes to %s" % self)
48 def _swig_setattr(self,class_type,name,value):
49 return _swig_setattr_nondynamic(self,class_type,name,value,0)
51 def _swig_getattr(self,class_type,name):
52 if (name ==
"thisown"):
return self.this.own()
53 method = class_type.__swig_getmethods__.get(name,
None)
54 if method:
return method(self)
55 raise AttributeError(name)
58 try: strthis =
"proxy of " + self.this.__repr__()
60 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
65 except AttributeError:
72 weakref_proxy = weakref.proxy
74 weakref_proxy =
lambda x: x
77 class IMP_ALGEBRA_SwigPyIterator(_object):
78 """Proxy of C++ swig::IMP_ALGEBRA_SwigPyIterator class"""
79 __swig_setmethods__ = {}
80 __setattr__ =
lambda self, name, value: _swig_setattr(self, IMP_ALGEBRA_SwigPyIterator, name, value)
81 __swig_getmethods__ = {}
82 __getattr__ =
lambda self, name: _swig_getattr(self, IMP_ALGEBRA_SwigPyIterator, name)
83 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
85 __swig_destroy__ = _IMP_algebra.delete_IMP_ALGEBRA_SwigPyIterator
86 __del__ =
lambda self :
None;
88 """value(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
89 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_value(self)
93 incr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
94 incr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
96 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_incr(self, n)
100 decr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
101 decr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
103 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_decr(self, n)
105 def distance(self, *args):
106 """distance(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t"""
107 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_distance(self, *args)
109 def equal(self, *args):
110 """equal(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
111 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_equal(self, *args)
114 """copy(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator"""
115 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_copy(self)
118 """next(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
119 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_next(self)
122 """__next__(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
123 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___next__(self)
126 """previous(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
127 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_previous(self)
129 def advance(self, *args):
130 """advance(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
131 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_advance(self, *args)
133 def __eq__(self, *args):
134 """__eq__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
135 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___eq__(self, *args)
137 def __ne__(self, *args):
138 """__ne__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
139 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___ne__(self, *args)
141 def __iadd__(self, *args):
142 """__iadd__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
143 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___iadd__(self, *args)
145 def __isub__(self, *args):
146 """__isub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
147 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___isub__(self, *args)
149 def __add__(self, *args):
150 """__add__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
151 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___add__(self, *args)
153 def __sub__(self, *args):
155 __sub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator
156 __sub__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t
158 return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___sub__(self, *args)
160 def __iter__(self):
return self
161 IMP_ALGEBRA_SwigPyIterator_swigregister = _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_swigregister
162 IMP_ALGEBRA_SwigPyIterator_swigregister(IMP_ALGEBRA_SwigPyIterator)
169 IMP_HAS_DEPRECATED = _IMP_algebra.IMP_HAS_DEPRECATED
170 IMP_DEBUG = _IMP_algebra.IMP_DEBUG
171 IMP_RELEASE = _IMP_algebra.IMP_RELEASE
172 IMP_SILENT = _IMP_algebra.IMP_SILENT
173 IMP_PROGRESS = _IMP_algebra.IMP_PROGRESS
174 IMP_TERSE = _IMP_algebra.IMP_TERSE
175 IMP_VERBOSE = _IMP_algebra.IMP_VERBOSE
176 IMP_NONE = _IMP_algebra.IMP_NONE
177 IMP_USAGE = _IMP_algebra.IMP_USAGE
178 IMP_INTERNAL = _IMP_algebra.IMP_INTERNAL
179 IMP_COMPILER_HAS_AUTO = _IMP_algebra.IMP_COMPILER_HAS_AUTO
180 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_algebra.IMP_COMPILER_HAS_DEBUG_VECTOR
181 IMP_COMPILER_HAS_NULLPTR = _IMP_algebra.IMP_COMPILER_HAS_NULLPTR
182 IMP_BASE_HAS_BOOST_RANDOM = _IMP_algebra.IMP_BASE_HAS_BOOST_RANDOM
183 IMP_BASE_HAS_GPERFTOOLS = _IMP_algebra.IMP_BASE_HAS_GPERFTOOLS
184 IMP_BASE_HAS_LOG4CXX = _IMP_algebra.IMP_BASE_HAS_LOG4CXX
185 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_algebra.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
186 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_algebra.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
188 class _DirectorObjects(object):
189 """@internal Simple class to keep references to director objects
190 to prevent premature deletion."""
193 def register(self, obj):
194 """Take a reference to a director object; will only work for
195 refcounted C++ classes"""
196 if hasattr(obj,
'get_ref_count'):
197 self._objects.append(obj)
199 """Only drop our reference and allow cleanup by Python if no other
200 Python references exist (we hold 3 references: one in self._objects,
201 one in x, and one in the argument list for getrefcount) *and* no
202 other C++ references exist (the Python object always holds one)"""
203 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
204 or x.get_ref_count() > 1]
208 def get_object_count(self):
209 """Get number of director objects (useful for testing only)"""
210 return len(self._objects)
211 _director_objects = _DirectorObjects()
213 DEFAULT_CHECK = _IMP_algebra.DEFAULT_CHECK
214 NONE = _IMP_algebra.NONE
215 USAGE = _IMP_algebra.USAGE
216 USAGE_AND_INTERNAL = _IMP_algebra.USAGE_AND_INTERNAL
219 """set_check_level(IMP::base::CheckLevel tf)"""
220 return _IMP_algebra.set_check_level(*args)
223 """get_check_level() -> IMP::base::CheckLevel"""
224 return _IMP_algebra.get_check_level()
225 class _ostream(_object):
226 """Proxy of C++ std::ostream class"""
227 __swig_setmethods__ = {}
228 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ostream, name, value)
229 __swig_getmethods__ = {}
230 __getattr__ =
lambda self, name: _swig_getattr(self, _ostream, name)
231 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
232 __repr__ = _swig_repr
233 def write(self, *args):
234 """write(_ostream self, char const * osa_buf)"""
235 return _IMP_algebra._ostream_write(self, *args)
237 _ostream_swigregister = _IMP_algebra._ostream_swigregister
238 _ostream_swigregister(_ostream)
240 IMP_COMPILER_HAS_OVERRIDE = _IMP_algebra.IMP_COMPILER_HAS_OVERRIDE
241 IMP_COMPILER_HAS_FINAL = _IMP_algebra.IMP_COMPILER_HAS_FINAL
243 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM
244 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
245 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM
246 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM
248 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL
249 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
250 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
251 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM
252 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM
253 IMP_ALGEBRA_HAS_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_CGAL
254 IMP_ALGEBRA_HAS_ANN = _IMP_algebra.IMP_ALGEBRA_HAS_ANN
257 return v.get_coordinates()
262 return v.get_sphere()
266 _object_types.append(
"VectorKDMetric")
269 def _object_cast_to_VectorKDMetric(*args):
270 """_object_cast_to_VectorKDMetric(Object o) -> VectorKDMetric"""
271 return _IMP_algebra._object_cast_to_VectorKDMetric(*args)
272 _object_types.append(
"EuclideanVectorKDMetric")
275 def _object_cast_to_EuclideanVectorKDMetric(*args):
276 """_object_cast_to_EuclideanVectorKDMetric(Object o) -> EuclideanVectorKDMetric"""
277 return _IMP_algebra._object_cast_to_EuclideanVectorKDMetric(*args)
278 _object_types.append(
"MaxVectorKDMetric")
281 def _object_cast_to_MaxVectorKDMetric(*args):
282 """_object_cast_to_MaxVectorKDMetric(Object o) -> MaxVectorKDMetric"""
283 return _IMP_algebra._object_cast_to_MaxVectorKDMetric(*args)
284 _object_types.append(
"DynamicNearestNeighbor3D")
287 def _object_cast_to_DynamicNearestNeighbor3D(*args):
288 """_object_cast_to_DynamicNearestNeighbor3D(Object o) -> DynamicNearestNeighbor3D"""
289 return _IMP_algebra._object_cast_to_DynamicNearestNeighbor3D(*args)
291 _plural_types.append(
"Rotation2Ds")
292 _value_types.append(
"Rotation2D")
295 _plural_types.append(
"Rotation3Ds")
296 _value_types.append(
"Rotation3D")
299 _plural_types.append(
"Reflection3Ds")
300 _value_types.append(
"Reflection3D")
302 Transformation2Ds=list
303 _plural_types.append(
"Transformation2Ds")
304 _value_types.append(
"Transformation2D")
306 Transformation3Ds=list
307 _plural_types.append(
"Transformation3Ds")
308 _value_types.append(
"Transformation3D")
310 SphericalVector3Ds=list
311 _plural_types.append(
"SphericalVector3Ds")
312 _value_types.append(
"SphericalVector3D")
315 _plural_types.append(
"Triangle3Ds")
316 _value_types.append(
"Triangle3D")
319 _plural_types.append(
"Cone3Ds")
320 _value_types.append(
"Cone3D")
323 _plural_types.append(
"Cylinder3Ds")
324 _value_types.append(
"Cylinder3D")
327 _plural_types.append(
"Ellipsoid3Ds")
328 _value_types.append(
"Ellipsoid3D")
331 _plural_types.append(
"Plane3Ds")
332 _value_types.append(
"Plane3D")
335 _plural_types.append(
"Segment3Ds")
336 _value_types.append(
"Segment3D")
339 _plural_types.append(
"SpherePatch3Ds")
340 _value_types.append(
"SpherePatch3D")
343 _plural_types.append(
"Vector1Ds")
344 _value_types.append(
"Vector1D")
347 _plural_types.append(
"Vector2Ds")
348 _value_types.append(
"Vector2D")
351 _plural_types.append(
"Vector3Ds")
352 _value_types.append(
"Vector3D")
355 _plural_types.append(
"Vector4Ds")
356 _value_types.append(
"Vector4D")
359 _plural_types.append(
"Vector5Ds")
360 _value_types.append(
"Vector5D")
363 _plural_types.append(
"Vector6Ds")
364 _value_types.append(
"Vector6D")
367 _plural_types.append(
"Vector1Ds")
368 _value_types.append(
"VectorD<1>")
371 _plural_types.append(
"Vector2Ds")
372 _value_types.append(
"VectorD<2>")
375 _plural_types.append(
"Vector3Ds")
376 _value_types.append(
"VectorD<3>")
379 _plural_types.append(
"Vector4Ds")
380 _value_types.append(
"VectorD<4>")
383 _plural_types.append(
"Vector5Ds")
384 _value_types.append(
"VectorD<5>")
387 _plural_types.append(
"Vector6Ds")
388 _value_types.append(
"VectorD<6>")
391 _plural_types.append(
"VectorKDs")
392 _value_types.append(
"VectorKD")
395 _plural_types.append(
"VectorKDs")
396 _value_types.append(
"VectorD<-1>")
399 _plural_types.append(
"Sphere1Ds")
400 _value_types.append(
"Sphere1D")
403 _plural_types.append(
"Sphere2Ds")
404 _value_types.append(
"Sphere2D")
407 _plural_types.append(
"Sphere3Ds")
408 _value_types.append(
"Sphere3D")
411 _plural_types.append(
"Sphere4Ds")
412 _value_types.append(
"Sphere4D")
415 _plural_types.append(
"Sphere5Ds")
416 _value_types.append(
"Sphere5D")
419 _plural_types.append(
"Sphere6Ds")
420 _value_types.append(
"Sphere6D")
423 _plural_types.append(
"Sphere1Ds")
424 _value_types.append(
"SphereD<1>")
427 _plural_types.append(
"Sphere2Ds")
428 _value_types.append(
"SphereD<2>")
431 _plural_types.append(
"Sphere3Ds")
432 _value_types.append(
"SphereD<3>")
435 _plural_types.append(
"Sphere4Ds")
436 _value_types.append(
"SphereD<4>")
439 _plural_types.append(
"Sphere5Ds")
440 _value_types.append(
"SphereD<5>")
443 _plural_types.append(
"Sphere6Ds")
444 _value_types.append(
"SphereD<6>")
447 _plural_types.append(
"SphereKDs")
448 _value_types.append(
"SphereKD")
451 _plural_types.append(
"SphereKDs")
452 _value_types.append(
"SphereD<-1>")
455 _plural_types.append(
"BoundingBox1Ds")
456 _value_types.append(
"BoundingBox1D")
459 _plural_types.append(
"BoundingBox2Ds")
460 _value_types.append(
"BoundingBox2D")
463 _plural_types.append(
"BoundingBox3Ds")
464 _value_types.append(
"BoundingBox3D")
467 _plural_types.append(
"BoundingBox4Ds")
468 _value_types.append(
"BoundingBox4D")
471 _plural_types.append(
"BoundingBox5Ds")
472 _value_types.append(
"BoundingBox5D")
475 _plural_types.append(
"BoundingBox6Ds")
476 _value_types.append(
"BoundingBox6D")
479 _plural_types.append(
"BoundingBox1Ds")
480 _value_types.append(
"BoundingBoxD<1>")
483 _plural_types.append(
"BoundingBox2Ds")
484 _value_types.append(
"BoundingBoxD<2>")
487 _plural_types.append(
"BoundingBox3Ds")
488 _value_types.append(
"BoundingBoxD<3>")
491 _plural_types.append(
"BoundingBox4Ds")
492 _value_types.append(
"BoundingBoxD<4>")
495 _plural_types.append(
"BoundingBox5Ds")
496 _value_types.append(
"BoundingBoxD<5>")
499 _plural_types.append(
"BoundingBox6Ds")
500 _value_types.append(
"BoundingBoxD<6>")
503 _plural_types.append(
"BoundingBoxKDs")
504 _value_types.append(
"BoundingBoxKD")
507 _plural_types.append(
"BoundingBoxKDs")
508 _value_types.append(
"BoundingBoxD<-1>")
511 _plural_types.append(
"VectorInput1Ds")
512 _value_types.append(
"VectorInput1D")
515 _plural_types.append(
"VectorInput2Ds")
516 _value_types.append(
"VectorInput2D")
519 _plural_types.append(
"VectorInput3Ds")
520 _value_types.append(
"VectorInput3D")
523 _plural_types.append(
"VectorInput4Ds")
524 _value_types.append(
"VectorInput4D")
527 _plural_types.append(
"VectorInput5Ds")
528 _value_types.append(
"VectorInput5D")
531 _plural_types.append(
"VectorInput6Ds")
532 _value_types.append(
"VectorInput6D")
535 _plural_types.append(
"VectorInput1Ds")
536 _value_types.append(
"VectorInputD<1>")
539 _plural_types.append(
"VectorInput2Ds")
540 _value_types.append(
"VectorInputD<2>")
543 _plural_types.append(
"VectorInput3Ds")
544 _value_types.append(
"VectorInputD<3>")
547 _plural_types.append(
"VectorInput4Ds")
548 _value_types.append(
"VectorInputD<4>")
551 _plural_types.append(
"VectorInput5Ds")
552 _value_types.append(
"VectorInputD<5>")
555 _plural_types.append(
"VectorInput6Ds")
556 _value_types.append(
"VectorInputD<6>")
559 _plural_types.append(
"VectorInputKDs")
560 _value_types.append(
"VectorInputKD")
563 _plural_types.append(
"VectorInputKDs")
564 _value_types.append(
"VectorInputD<-1>")
566 PrincipalComponentAnalysis1Ds=list
567 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
568 _value_types.append(
"PrincipalComponentAnalysis1D")
570 PrincipalComponentAnalysis2Ds=list
571 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
572 _value_types.append(
"PrincipalComponentAnalysis2D")
574 PrincipalComponentAnalysis3Ds=list
575 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
576 _value_types.append(
"PrincipalComponentAnalysis3D")
578 PrincipalComponentAnalysis4Ds=list
579 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
580 _value_types.append(
"PrincipalComponentAnalysis4D")
582 PrincipalComponentAnalysis5Ds=list
583 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
584 _value_types.append(
"PrincipalComponentAnalysis5D")
586 PrincipalComponentAnalysis6Ds=list
587 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
588 _value_types.append(
"PrincipalComponentAnalysis6D")
590 PrincipalComponentAnalysis1Ds=list
591 _plural_types.append(
"PrincipalComponentAnalysis1Ds")
592 _value_types.append(
"PrincipalComponentAnalysisD<1>")
594 PrincipalComponentAnalysis2Ds=list
595 _plural_types.append(
"PrincipalComponentAnalysis2Ds")
596 _value_types.append(
"PrincipalComponentAnalysisD<2>")
598 PrincipalComponentAnalysis3Ds=list
599 _plural_types.append(
"PrincipalComponentAnalysis3Ds")
600 _value_types.append(
"PrincipalComponentAnalysisD<3>")
602 PrincipalComponentAnalysis4Ds=list
603 _plural_types.append(
"PrincipalComponentAnalysis4Ds")
604 _value_types.append(
"PrincipalComponentAnalysisD<4>")
606 PrincipalComponentAnalysis5Ds=list
607 _plural_types.append(
"PrincipalComponentAnalysis5Ds")
608 _value_types.append(
"PrincipalComponentAnalysisD<5>")
610 PrincipalComponentAnalysis6Ds=list
611 _plural_types.append(
"PrincipalComponentAnalysis6Ds")
612 _value_types.append(
"PrincipalComponentAnalysisD<6>")
614 PrincipalComponentAnalysisKDs=list
615 _plural_types.append(
"PrincipalComponentAnalysisKDs")
616 _value_types.append(
"PrincipalComponentAnalysisKD")
618 PrincipalComponentAnalysisKDs=list
619 _plural_types.append(
"PrincipalComponentAnalysisKDs")
620 _value_types.append(
"PrincipalComponentAnalysisD<-1>")
622 _object_types.append(
"NearestNeighbor1D")
625 def _object_cast_to_NearestNeighbor1D(*args):
626 """_object_cast_to_NearestNeighbor1D(Object o) -> NearestNeighbor1D"""
627 return _IMP_algebra._object_cast_to_NearestNeighbor1D(*args)
628 _object_types.append(
"NearestNeighbor2D")
631 def _object_cast_to_NearestNeighbor2D(*args):
632 """_object_cast_to_NearestNeighbor2D(Object o) -> NearestNeighbor2D"""
633 return _IMP_algebra._object_cast_to_NearestNeighbor2D(*args)
634 _object_types.append(
"NearestNeighbor3D")
637 def _object_cast_to_NearestNeighbor3D(*args):
638 """_object_cast_to_NearestNeighbor3D(Object o) -> NearestNeighbor3D"""
639 return _IMP_algebra._object_cast_to_NearestNeighbor3D(*args)
640 _object_types.append(
"NearestNeighbor4D")
643 def _object_cast_to_NearestNeighbor4D(*args):
644 """_object_cast_to_NearestNeighbor4D(Object o) -> NearestNeighbor4D"""
645 return _IMP_algebra._object_cast_to_NearestNeighbor4D(*args)
646 _object_types.append(
"NearestNeighbor5D")
649 def _object_cast_to_NearestNeighbor5D(*args):
650 """_object_cast_to_NearestNeighbor5D(Object o) -> NearestNeighbor5D"""
651 return _IMP_algebra._object_cast_to_NearestNeighbor5D(*args)
652 _object_types.append(
"NearestNeighbor6D")
655 def _object_cast_to_NearestNeighbor6D(*args):
656 """_object_cast_to_NearestNeighbor6D(Object o) -> NearestNeighbor6D"""
657 return _IMP_algebra._object_cast_to_NearestNeighbor6D(*args)
658 _object_types.append(
"NearestNeighborKD")
661 def _object_cast_to_NearestNeighborKD(*args):
662 """_object_cast_to_NearestNeighborKD(Object o) -> NearestNeighborKD"""
663 return _IMP_algebra._object_cast_to_NearestNeighborKD(*args)
664 ReferenceFrame3Ds=list
665 _plural_types.append(
"ReferenceFrame3Ds")
666 _value_types.append(
"ReferenceFrame3D")
668 DefaultEmbedding1Ds=list
669 _plural_types.append(
"DefaultEmbedding1Ds")
670 _value_types.append(
"DefaultEmbedding1D")
672 DefaultEmbedding2Ds=list
673 _plural_types.append(
"DefaultEmbedding2Ds")
674 _value_types.append(
"DefaultEmbedding2D")
676 DefaultEmbedding3Ds=list
677 _plural_types.append(
"DefaultEmbedding3Ds")
678 _value_types.append(
"DefaultEmbedding3D")
680 DefaultEmbedding4Ds=list
681 _plural_types.append(
"DefaultEmbedding4Ds")
682 _value_types.append(
"DefaultEmbedding4D")
684 DefaultEmbedding5Ds=list
685 _plural_types.append(
"DefaultEmbedding5Ds")
686 _value_types.append(
"DefaultEmbedding5D")
688 DefaultEmbedding6Ds=list
689 _plural_types.append(
"DefaultEmbedding6Ds")
690 _value_types.append(
"DefaultEmbedding6D")
692 DefaultEmbedding1Ds=list
693 _plural_types.append(
"DefaultEmbedding1Ds")
694 _value_types.append(
"DefaultEmbeddingD<1>")
696 DefaultEmbedding2Ds=list
697 _plural_types.append(
"DefaultEmbedding2Ds")
698 _value_types.append(
"DefaultEmbeddingD<2>")
700 DefaultEmbedding3Ds=list
701 _plural_types.append(
"DefaultEmbedding3Ds")
702 _value_types.append(
"DefaultEmbeddingD<3>")
704 DefaultEmbedding4Ds=list
705 _plural_types.append(
"DefaultEmbedding4Ds")
706 _value_types.append(
"DefaultEmbeddingD<4>")
708 DefaultEmbedding5Ds=list
709 _plural_types.append(
"DefaultEmbedding5Ds")
710 _value_types.append(
"DefaultEmbeddingD<5>")
712 DefaultEmbedding6Ds=list
713 _plural_types.append(
"DefaultEmbedding6Ds")
714 _value_types.append(
"DefaultEmbeddingD<6>")
716 DefaultEmbeddingKDs=list
717 _plural_types.append(
"DefaultEmbeddingKDs")
718 _value_types.append(
"DefaultEmbeddingKD")
720 DefaultEmbeddingKDs=list
721 _plural_types.append(
"DefaultEmbeddingKDs")
722 _value_types.append(
"DefaultEmbeddingD<-1>")
725 _plural_types.append(
"LogEmbedding1Ds")
726 _value_types.append(
"LogEmbedding1D")
729 _plural_types.append(
"LogEmbedding2Ds")
730 _value_types.append(
"LogEmbedding2D")
733 _plural_types.append(
"LogEmbedding3Ds")
734 _value_types.append(
"LogEmbedding3D")
737 _plural_types.append(
"LogEmbedding4Ds")
738 _value_types.append(
"LogEmbedding4D")
741 _plural_types.append(
"LogEmbedding5Ds")
742 _value_types.append(
"LogEmbedding5D")
745 _plural_types.append(
"LogEmbedding6Ds")
746 _value_types.append(
"LogEmbedding6D")
749 _plural_types.append(
"LogEmbedding1Ds")
750 _value_types.append(
"LogEmbeddingD<1>")
753 _plural_types.append(
"LogEmbedding2Ds")
754 _value_types.append(
"LogEmbeddingD<2>")
757 _plural_types.append(
"LogEmbedding3Ds")
758 _value_types.append(
"LogEmbeddingD<3>")
761 _plural_types.append(
"LogEmbedding4Ds")
762 _value_types.append(
"LogEmbeddingD<4>")
765 _plural_types.append(
"LogEmbedding5Ds")
766 _value_types.append(
"LogEmbeddingD<5>")
769 _plural_types.append(
"LogEmbedding6Ds")
770 _value_types.append(
"LogEmbeddingD<6>")
773 _plural_types.append(
"LogEmbeddingKDs")
774 _value_types.append(
"LogEmbeddingKD")
777 _plural_types.append(
"LogEmbeddingKDs")
778 _value_types.append(
"LogEmbeddingD<-1>")
781 _plural_types.append(
"GridIndex1Ds")
782 _value_types.append(
"GridIndex1D")
785 _plural_types.append(
"GridIndex2Ds")
786 _value_types.append(
"GridIndex2D")
789 _plural_types.append(
"GridIndex3Ds")
790 _value_types.append(
"GridIndex3D")
793 _plural_types.append(
"GridIndex4Ds")
794 _value_types.append(
"GridIndex4D")
797 _plural_types.append(
"GridIndex5Ds")
798 _value_types.append(
"GridIndex5D")
801 _plural_types.append(
"GridIndex6Ds")
802 _value_types.append(
"GridIndex6D")
805 _plural_types.append(
"GridIndex1Ds")
806 _value_types.append(
"GridIndexD<1>")
809 _plural_types.append(
"GridIndex2Ds")
810 _value_types.append(
"GridIndexD<2>")
813 _plural_types.append(
"GridIndex3Ds")
814 _value_types.append(
"GridIndexD<3>")
817 _plural_types.append(
"GridIndex4Ds")
818 _value_types.append(
"GridIndexD<4>")
821 _plural_types.append(
"GridIndex5Ds")
822 _value_types.append(
"GridIndexD<5>")
825 _plural_types.append(
"GridIndex6Ds")
826 _value_types.append(
"GridIndexD<6>")
829 _plural_types.append(
"GridIndexKDs")
830 _value_types.append(
"GridIndexKD")
833 _plural_types.append(
"GridIndexKDs")
834 _value_types.append(
"GridIndexD<-1>")
836 ExtendedGridIndex1Ds=list
837 _plural_types.append(
"ExtendedGridIndex1Ds")
838 _value_types.append(
"ExtendedGridIndex1D")
840 ExtendedGridIndex2Ds=list
841 _plural_types.append(
"ExtendedGridIndex2Ds")
842 _value_types.append(
"ExtendedGridIndex2D")
844 ExtendedGridIndex3Ds=list
845 _plural_types.append(
"ExtendedGridIndex3Ds")
846 _value_types.append(
"ExtendedGridIndex3D")
848 ExtendedGridIndex4Ds=list
849 _plural_types.append(
"ExtendedGridIndex4Ds")
850 _value_types.append(
"ExtendedGridIndex4D")
852 ExtendedGridIndex5Ds=list
853 _plural_types.append(
"ExtendedGridIndex5Ds")
854 _value_types.append(
"ExtendedGridIndex5D")
856 ExtendedGridIndex6Ds=list
857 _plural_types.append(
"ExtendedGridIndex6Ds")
858 _value_types.append(
"ExtendedGridIndex6D")
860 ExtendedGridIndex1Ds=list
861 _plural_types.append(
"ExtendedGridIndex1Ds")
862 _value_types.append(
"ExtendedGridIndexD<1>")
864 ExtendedGridIndex2Ds=list
865 _plural_types.append(
"ExtendedGridIndex2Ds")
866 _value_types.append(
"ExtendedGridIndexD<2>")
868 ExtendedGridIndex3Ds=list
869 _plural_types.append(
"ExtendedGridIndex3Ds")
870 _value_types.append(
"ExtendedGridIndexD<3>")
872 ExtendedGridIndex4Ds=list
873 _plural_types.append(
"ExtendedGridIndex4Ds")
874 _value_types.append(
"ExtendedGridIndexD<4>")
876 ExtendedGridIndex5Ds=list
877 _plural_types.append(
"ExtendedGridIndex5Ds")
878 _value_types.append(
"ExtendedGridIndexD<5>")
880 ExtendedGridIndex6Ds=list
881 _plural_types.append(
"ExtendedGridIndex6Ds")
882 _value_types.append(
"ExtendedGridIndexD<6>")
884 ExtendedGridIndexKDs=list
885 _plural_types.append(
"ExtendedGridIndexKDs")
886 _value_types.append(
"ExtendedGridIndexKD")
888 ExtendedGridIndexKDs=list
889 _plural_types.append(
"ExtendedGridIndexKDs")
890 _value_types.append(
"ExtendedGridIndexD<-1>")
892 BoundedGridRange1Ds=list
893 _plural_types.append(
"BoundedGridRange1Ds")
894 _value_types.append(
"BoundedGridRange1D")
896 BoundedGridRange2Ds=list
897 _plural_types.append(
"BoundedGridRange2Ds")
898 _value_types.append(
"BoundedGridRange2D")
900 BoundedGridRange3Ds=list
901 _plural_types.append(
"BoundedGridRange3Ds")
902 _value_types.append(
"BoundedGridRange3D")
904 BoundedGridRange4Ds=list
905 _plural_types.append(
"BoundedGridRange4Ds")
906 _value_types.append(
"BoundedGridRange4D")
908 BoundedGridRange5Ds=list
909 _plural_types.append(
"BoundedGridRange5Ds")
910 _value_types.append(
"BoundedGridRange5D")
912 BoundedGridRange6Ds=list
913 _plural_types.append(
"BoundedGridRange6Ds")
914 _value_types.append(
"BoundedGridRange6D")
916 BoundedGridRange1Ds=list
917 _plural_types.append(
"BoundedGridRange1Ds")
918 _value_types.append(
"BoundedGridRangeD<1>")
920 BoundedGridRange2Ds=list
921 _plural_types.append(
"BoundedGridRange2Ds")
922 _value_types.append(
"BoundedGridRangeD<2>")
924 BoundedGridRange3Ds=list
925 _plural_types.append(
"BoundedGridRange3Ds")
926 _value_types.append(
"BoundedGridRangeD<3>")
928 BoundedGridRange4Ds=list
929 _plural_types.append(
"BoundedGridRange4Ds")
930 _value_types.append(
"BoundedGridRangeD<4>")
932 BoundedGridRange5Ds=list
933 _plural_types.append(
"BoundedGridRange5Ds")
934 _value_types.append(
"BoundedGridRangeD<5>")
936 BoundedGridRange6Ds=list
937 _plural_types.append(
"BoundedGridRange6Ds")
938 _value_types.append(
"BoundedGridRangeD<6>")
940 BoundedGridRangeKDs=list
941 _plural_types.append(
"BoundedGridRangeKDs")
942 _value_types.append(
"BoundedGridRangeKD")
944 BoundedGridRangeKDs=list
945 _plural_types.append(
"BoundedGridRangeKDs")
946 _value_types.append(
"BoundedGridRangeD<-1>")
948 UnboundedGridRange1Ds=list
949 _plural_types.append(
"UnboundedGridRange1Ds")
950 _value_types.append(
"UnboundedGridRange1D")
952 UnboundedGridRange2Ds=list
953 _plural_types.append(
"UnboundedGridRange2Ds")
954 _value_types.append(
"UnboundedGridRange2D")
956 UnboundedGridRange3Ds=list
957 _plural_types.append(
"UnboundedGridRange3Ds")
958 _value_types.append(
"UnboundedGridRange3D")
960 UnboundedGridRange4Ds=list
961 _plural_types.append(
"UnboundedGridRange4Ds")
962 _value_types.append(
"UnboundedGridRange4D")
964 UnboundedGridRange5Ds=list
965 _plural_types.append(
"UnboundedGridRange5Ds")
966 _value_types.append(
"UnboundedGridRange5D")
968 UnboundedGridRange6Ds=list
969 _plural_types.append(
"UnboundedGridRange6Ds")
970 _value_types.append(
"UnboundedGridRange6D")
972 UnboundedGridRange1Ds=list
973 _plural_types.append(
"UnboundedGridRange1Ds")
974 _value_types.append(
"UnboundedGridRangeD<1>")
976 UnboundedGridRange2Ds=list
977 _plural_types.append(
"UnboundedGridRange2Ds")
978 _value_types.append(
"UnboundedGridRangeD<2>")
980 UnboundedGridRange3Ds=list
981 _plural_types.append(
"UnboundedGridRange3Ds")
982 _value_types.append(
"UnboundedGridRangeD<3>")
984 UnboundedGridRange4Ds=list
985 _plural_types.append(
"UnboundedGridRange4Ds")
986 _value_types.append(
"UnboundedGridRangeD<4>")
988 UnboundedGridRange5Ds=list
989 _plural_types.append(
"UnboundedGridRange5Ds")
990 _value_types.append(
"UnboundedGridRangeD<5>")
992 UnboundedGridRange6Ds=list
993 _plural_types.append(
"UnboundedGridRange6Ds")
994 _value_types.append(
"UnboundedGridRangeD<6>")
996 UnboundedGridRangeKDs=list
997 _plural_types.append(
"UnboundedGridRangeKDs")
998 _value_types.append(
"UnboundedGridRangeKD")
1000 UnboundedGridRangeKDs=list
1001 _plural_types.append(
"UnboundedGridRangeKDs")
1002 _value_types.append(
"UnboundedGridRangeD<-1>")
1005 _plural_types.append(
"LinearFit2Ds")
1006 _value_types.append(
"LinearFit2D")
1008 ParabolicFit2Ds=list
1009 _plural_types.append(
"ParabolicFit2Ds")
1010 _value_types.append(
"ParabolicFit2D")
1013 _plural_types.append(
"FixedZYZs")
1014 _value_types.append(
"FixedZYZ")
1017 _plural_types.append(
"FixedXYZs")
1018 _value_types.append(
"FixedXYZ")
1021 _plural_types.append(
"FixedZXZs")
1022 _value_types.append(
"FixedZXZ")
1024 class _GeometricPrimitive1D(_object):
1025 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(1)> class"""
1026 __swig_setmethods__ = {}
1027 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitive1D, name, value)
1028 __swig_getmethods__ = {}
1029 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitive1D, name)
1030 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
1031 __repr__ = _swig_repr
1032 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive1D
1033 __del__ =
lambda self :
None;
1034 _GeometricPrimitive1D_swigregister = _IMP_algebra._GeometricPrimitive1D_swigregister
1035 _GeometricPrimitive1D_swigregister(_GeometricPrimitive1D)
1037 class _GeometricPrimitive2D(_object):
1038 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(2)> class"""
1039 __swig_setmethods__ = {}
1040 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitive2D, name, value)
1041 __swig_getmethods__ = {}
1042 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitive2D, name)
1043 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
1044 __repr__ = _swig_repr
1045 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive2D
1046 __del__ =
lambda self :
None;
1047 _GeometricPrimitive2D_swigregister = _IMP_algebra._GeometricPrimitive2D_swigregister
1048 _GeometricPrimitive2D_swigregister(_GeometricPrimitive2D)
1050 class _GeometricPrimitive3D(_object):
1051 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(3)> class"""
1052 __swig_setmethods__ = {}
1053 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitive3D, name, value)
1054 __swig_getmethods__ = {}
1055 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitive3D, name)
1056 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
1057 __repr__ = _swig_repr
1058 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive3D
1059 __del__ =
lambda self :
None;
1060 _GeometricPrimitive3D_swigregister = _IMP_algebra._GeometricPrimitive3D_swigregister
1061 _GeometricPrimitive3D_swigregister(_GeometricPrimitive3D)
1063 class _GeometricPrimitive4D(_object):
1064 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(4)> class"""
1065 __swig_setmethods__ = {}
1066 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitive4D, name, value)
1067 __swig_getmethods__ = {}
1068 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitive4D, name)
1069 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
1070 __repr__ = _swig_repr
1071 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive4D
1072 __del__ =
lambda self :
None;
1073 _GeometricPrimitive4D_swigregister = _IMP_algebra._GeometricPrimitive4D_swigregister
1074 _GeometricPrimitive4D_swigregister(_GeometricPrimitive4D)
1076 class _GeometricPrimitive5D(_object):
1077 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(5)> class"""
1078 __swig_setmethods__ = {}
1079 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitive5D, name, value)
1080 __swig_getmethods__ = {}
1081 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitive5D, name)
1082 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
1083 __repr__ = _swig_repr
1084 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive5D
1085 __del__ =
lambda self :
None;
1086 _GeometricPrimitive5D_swigregister = _IMP_algebra._GeometricPrimitive5D_swigregister
1087 _GeometricPrimitive5D_swigregister(_GeometricPrimitive5D)
1089 class _GeometricPrimitive6D(_object):
1090 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(6)> class"""
1091 __swig_setmethods__ = {}
1092 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitive6D, name, value)
1093 __swig_getmethods__ = {}
1094 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitive6D, name)
1095 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
1096 __repr__ = _swig_repr
1097 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive6D
1098 __del__ =
lambda self :
None;
1099 _GeometricPrimitive6D_swigregister = _IMP_algebra._GeometricPrimitive6D_swigregister
1100 _GeometricPrimitive6D_swigregister(_GeometricPrimitive6D)
1102 class _GeometricPrimitiveKD(_object):
1103 """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(-1)> class"""
1104 __swig_setmethods__ = {}
1105 __setattr__ =
lambda self, name, value: _swig_setattr(self, _GeometricPrimitiveKD, name, value)
1106 __swig_getmethods__ = {}
1107 __getattr__ =
lambda self, name: _swig_getattr(self, _GeometricPrimitiveKD, name)
1108 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
1109 __repr__ = _swig_repr
1110 __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitiveKD
1111 __del__ =
lambda self :
None;
1112 _GeometricPrimitiveKD_swigregister = _IMP_algebra._GeometricPrimitiveKD_swigregister
1113 _GeometricPrimitiveKD_swigregister(_GeometricPrimitiveKD)
1117 """get_basis_vector_kd(int D, unsigned int coordinate) -> VectorKD"""
1118 return _IMP_algebra.get_basis_vector_kd(*args)
1121 """get_zero_vector_kd(int D) -> VectorKD"""
1122 return _IMP_algebra.get_zero_vector_kd(*args)
1126 get_ones_vector_kd(unsigned int D, double v=1) -> VectorKD
1127 get_ones_vector_kd(unsigned int D) -> VectorKD
1129 return _IMP_algebra.get_ones_vector_kd(*args)
1132 """get_vector_product(Vector3D p1, Vector3D p2) -> Vector3D"""
1133 return _IMP_algebra.get_vector_product(*args)
1136 """get_orthogonal_vector(Vector3D v) -> Vector3D"""
1137 return _IMP_algebra.get_orthogonal_vector(*args)
1140 """get_centroid(IMP::algebra::Vector3Ds const & ps) -> Vector3D"""
1141 return _IMP_algebra.get_centroid(*args)
1144 """get_radius_of_gyration(IMP::algebra::Vector3Ds const & ps) -> double"""
1145 return _IMP_algebra.get_radius_of_gyration(*args)
1146 class Rotation3D(_GeometricPrimitive3D):
1147 """Proxy of C++ IMP::algebra::Rotation3D class"""
1148 __swig_setmethods__ = {}
1149 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1150 __setattr__ =
lambda self, name, value: _swig_setattr(self, Rotation3D, name, value)
1151 __swig_getmethods__ = {}
1152 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1153 __getattr__ =
lambda self, name: _swig_getattr(self, Rotation3D, name)
1154 def __init__(self, *args):
1156 __init__(IMP::algebra::Rotation3D self, Vector4D v) -> Rotation3D
1157 __init__(IMP::algebra::Rotation3D self) -> Rotation3D
1158 __init__(IMP::algebra::Rotation3D self, double a, double b, double c, double d) -> Rotation3D
1160 this = _IMP_algebra.new_Rotation3D(*args)
1161 try: self.this.append(this)
1162 except: self.this = this
1163 __swig_destroy__ = _IMP_algebra.delete_Rotation3D
1164 __del__ =
lambda self :
None;
1165 def get_rotated_no_cache(self, *args):
1166 """get_rotated_no_cache(Rotation3D self, Vector3D o) -> Vector3D"""
1167 return _IMP_algebra.Rotation3D_get_rotated_no_cache(self, *args)
1169 def get_rotated_one_coordinate_no_cache(self, *args):
1170 """get_rotated_one_coordinate_no_cache(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1171 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate_no_cache(self, *args)
1173 def get_rotated(self, *args):
1174 """get_rotated(Rotation3D self, Vector3D o) -> Vector3D"""
1175 return _IMP_algebra.Rotation3D_get_rotated(self, *args)
1177 def get_rotated_one_coordinate(self, *args):
1178 """get_rotated_one_coordinate(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1179 return _IMP_algebra.Rotation3D_get_rotated_one_coordinate(self, *args)
1181 def get_rotation_matrix_row(self, *args):
1182 """get_rotation_matrix_row(Rotation3D self, int i) -> Vector3D"""
1183 return _IMP_algebra.Rotation3D_get_rotation_matrix_row(self, *args)
1185 def show(self, *args):
1187 show(Rotation3D self, _ostream out=std::cout)
1188 show(Rotation3D self)
1190 return _IMP_algebra.Rotation3D_show(self, *args)
1192 def get_inverse(self):
1193 """get_inverse(Rotation3D self) -> Rotation3D"""
1194 return _IMP_algebra.Rotation3D_get_inverse(self)
1196 def get_quaternion(self):
1197 """get_quaternion(Rotation3D self) -> Vector4D"""
1198 return _IMP_algebra.Rotation3D_get_quaternion(self)
1200 def __mul__(self, *args):
1202 __mul__(Rotation3D self, Vector3D v) -> Vector3D
1203 __mul__(Rotation3D self, Rotation3D q) -> Rotation3D
1205 return _IMP_algebra.Rotation3D___mul__(self, *args)
1207 def __div__(self, *args):
1208 """__div__(Rotation3D self, Rotation3D r) -> Rotation3D"""
1209 return _IMP_algebra.Rotation3D___div__(self, *args)
1211 def get_derivative(self, *args):
1212 """get_derivative(Rotation3D self, Vector3D o, unsigned int i) -> Vector3D"""
1213 return _IMP_algebra.Rotation3D_get_derivative(self, *args)
1216 """__str__(Rotation3D self) -> std::string"""
1217 return _IMP_algebra.Rotation3D___str__(self)
1220 """__repr__(Rotation3D self) -> std::string"""
1221 return _IMP_algebra.Rotation3D___repr__(self)
1223 Rotation3D_swigregister = _IMP_algebra.Rotation3D_swigregister
1224 Rotation3D_swigregister(Rotation3D)
1228 """get_identity_rotation_3d() -> Rotation3D"""
1229 return _IMP_algebra.get_identity_rotation_3d()
1232 """get_rotation_about_axis(Vector3D axis, double angle) -> Rotation3D"""
1233 return _IMP_algebra.get_rotation_about_axis(*args)
1236 """get_rotation_taking_first_to_second(Vector3D v1, Vector3D v2) -> Rotation3D"""
1237 return _IMP_algebra.get_rotation_taking_first_to_second(*args)
1241 get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20,
1242 double m21, double m22) -> Rotation3D
1244 return _IMP_algebra.get_rotation_from_matrix(*args)
1248 get_random_rotation_3d() -> Rotation3D
1249 get_random_rotation_3d(Rotation3D center, double distance) -> Rotation3D
1251 return _IMP_algebra.get_random_rotation_3d(*args)
1254 """get_uniform_cover_rotations_3d(unsigned int num_points) -> IMP::algebra::Rotation3Ds"""
1255 return _IMP_algebra.get_uniform_cover_rotations_3d(*args)
1258 """get_uniformly_sampled_rotations(double delta) -> IMP::algebra::Rotation3Ds"""
1259 return _IMP_algebra.get_uniformly_sampled_rotations(*args)
1262 """get_rotation_from_vector4d(Vector4D v) -> Rotation3D"""
1263 return _IMP_algebra.get_rotation_from_vector4d(*args)
1266 """get_rotation_from_fixed_xyz(double xr, double yr, double zr) -> Rotation3D"""
1267 return _IMP_algebra.get_rotation_from_fixed_xyz(*args)
1270 """get_rotation_from_fixed_zxz(double phi, double theta, double psi) -> Rotation3D"""
1271 return _IMP_algebra.get_rotation_from_fixed_zxz(*args)
1274 """get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi) -> Rotation3D"""
1275 return _IMP_algebra.get_rotation_from_fixed_zyz(*args)
1276 class FixedZYZ(_GeometricPrimitive3D):
1277 """Proxy of C++ IMP::algebra::FixedZYZ class"""
1278 __swig_setmethods__ = {}
1279 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1280 __setattr__ =
lambda self, name, value: _swig_setattr(self, FixedZYZ, name, value)
1281 __swig_getmethods__ = {}
1282 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1283 __getattr__ =
lambda self, name: _swig_getattr(self, FixedZYZ, name)
1284 def __init__(self, *args):
1286 __init__(IMP::algebra::FixedZYZ self) -> FixedZYZ
1287 __init__(IMP::algebra::FixedZYZ self, double rot, double tilt, double psi) -> FixedZYZ
1289 this = _IMP_algebra.new_FixedZYZ(*args)
1290 try: self.this.append(this)
1291 except: self.this = this
1293 """get_rot(FixedZYZ self) -> double"""
1294 return _IMP_algebra.FixedZYZ_get_rot(self)
1297 """get_tilt(FixedZYZ self) -> double"""
1298 return _IMP_algebra.FixedZYZ_get_tilt(self)
1301 """get_psi(FixedZYZ self) -> double"""
1302 return _IMP_algebra.FixedZYZ_get_psi(self)
1304 def show(self, *args):
1306 show(FixedZYZ self, _ostream out=std::cout)
1309 return _IMP_algebra.FixedZYZ_show(self, *args)
1312 """__str__(FixedZYZ self) -> std::string"""
1313 return _IMP_algebra.FixedZYZ___str__(self)
1316 """__repr__(FixedZYZ self) -> std::string"""
1317 return _IMP_algebra.FixedZYZ___repr__(self)
1319 __swig_destroy__ = _IMP_algebra.delete_FixedZYZ
1320 __del__ =
lambda self :
None;
1321 FixedZYZ_swigregister = _IMP_algebra.FixedZYZ_swigregister
1322 FixedZYZ_swigregister(FixedZYZ)
1324 class FixedZXZ(_GeometricPrimitive3D):
1325 """Proxy of C++ IMP::algebra::FixedZXZ class"""
1326 __swig_setmethods__ = {}
1327 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1328 __setattr__ =
lambda self, name, value: _swig_setattr(self, FixedZXZ, name, value)
1329 __swig_getmethods__ = {}
1330 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1331 __getattr__ =
lambda self, name: _swig_getattr(self, FixedZXZ, name)
1332 def __init__(self, *args):
1334 __init__(IMP::algebra::FixedZXZ self) -> FixedZXZ
1335 __init__(IMP::algebra::FixedZXZ self, double psi, double theta, double phi) -> FixedZXZ
1337 this = _IMP_algebra.new_FixedZXZ(*args)
1338 try: self.this.append(this)
1339 except: self.this = this
1341 """get_psi(FixedZXZ self) -> double"""
1342 return _IMP_algebra.FixedZXZ_get_psi(self)
1344 def get_theta(self):
1345 """get_theta(FixedZXZ self) -> double"""
1346 return _IMP_algebra.FixedZXZ_get_theta(self)
1349 """get_phi(FixedZXZ self) -> double"""
1350 return _IMP_algebra.FixedZXZ_get_phi(self)
1352 def show(self, *args):
1354 show(FixedZXZ self, _ostream out=std::cout)
1357 return _IMP_algebra.FixedZXZ_show(self, *args)
1360 """__str__(FixedZXZ self) -> std::string"""
1361 return _IMP_algebra.FixedZXZ___str__(self)
1364 """__repr__(FixedZXZ self) -> std::string"""
1365 return _IMP_algebra.FixedZXZ___repr__(self)
1367 __swig_destroy__ = _IMP_algebra.delete_FixedZXZ
1368 __del__ =
lambda self :
None;
1369 FixedZXZ_swigregister = _IMP_algebra.FixedZXZ_swigregister
1370 FixedZXZ_swigregister(FixedZXZ)
1372 class FixedXYZ(_GeometricPrimitive3D):
1373 """Proxy of C++ IMP::algebra::FixedXYZ class"""
1374 __swig_setmethods__ = {}
1375 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1376 __setattr__ =
lambda self, name, value: _swig_setattr(self, FixedXYZ, name, value)
1377 __swig_getmethods__ = {}
1378 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1379 __getattr__ =
lambda self, name: _swig_getattr(self, FixedXYZ, name)
1380 def __init__(self, *args):
1382 __init__(IMP::algebra::FixedXYZ self) -> FixedXYZ
1383 __init__(IMP::algebra::FixedXYZ self, double x, double y, double z) -> FixedXYZ
1385 this = _IMP_algebra.new_FixedXYZ(*args)
1386 try: self.this.append(this)
1387 except: self.this = this
1389 """get_x(FixedXYZ self) -> double"""
1390 return _IMP_algebra.FixedXYZ_get_x(self)
1393 """get_y(FixedXYZ self) -> double"""
1394 return _IMP_algebra.FixedXYZ_get_y(self)
1397 """get_z(FixedXYZ self) -> double"""
1398 return _IMP_algebra.FixedXYZ_get_z(self)
1400 def show(self, *args):
1402 show(FixedXYZ self, _ostream out=std::cout)
1405 return _IMP_algebra.FixedXYZ_show(self, *args)
1408 """__str__(FixedXYZ self) -> std::string"""
1409 return _IMP_algebra.FixedXYZ___str__(self)
1412 """__repr__(FixedXYZ self) -> std::string"""
1413 return _IMP_algebra.FixedXYZ___repr__(self)
1415 __swig_destroy__ = _IMP_algebra.delete_FixedXYZ
1416 __del__ =
lambda self :
None;
1417 FixedXYZ_swigregister = _IMP_algebra.FixedXYZ_swigregister
1418 FixedXYZ_swigregister(FixedXYZ)
1422 """get_fixed_zyz_from_rotation(Rotation3D r) -> FixedZYZ"""
1423 return _IMP_algebra.get_fixed_zyz_from_rotation(*args)
1426 """get_fixed_zxz_from_rotation(Rotation3D r) -> FixedZXZ"""
1427 return _IMP_algebra.get_fixed_zxz_from_rotation(*args)
1430 """get_fixed_xyz_from_rotation(Rotation3D r) -> FixedXYZ"""
1431 return _IMP_algebra.get_fixed_xyz_from_rotation(*args)
1434 """get_interpolated(Rotation3D a, Rotation3D b, double f) -> Rotation3D"""
1435 return _IMP_algebra.get_interpolated(*args)
1438 """get_rotation_from_x_y_axes(Vector3D x, Vector3D y) -> Rotation3D"""
1439 return _IMP_algebra.get_rotation_from_x_y_axes(*args)
1442 """get_axis_and_angle(Rotation3D rot) -> _AxisAnglePair"""
1443 return _IMP_algebra.get_axis_and_angle(*args)
1446 """get_unit_bounding_box_kd(unsigned int d) -> BoundingBoxKD"""
1447 return _IMP_algebra.get_unit_bounding_box_kd(*args)
1450 """get_cube_kd(unsigned int d, double radius) -> BoundingBoxKD"""
1451 return _IMP_algebra.get_cube_kd(*args)
1454 """get_vertices(BoundingBox3D bb) -> IMP::algebra::Vector3Ds"""
1455 return _IMP_algebra.get_vertices(*args)
1458 """get_edges(BoundingBox3D arg1) -> IMP::IntPairs"""
1459 return _IMP_algebra.get_edges(*args)
1460 class Transformation3D(_GeometricPrimitive3D):
1461 """Proxy of C++ IMP::algebra::Transformation3D class"""
1462 __swig_setmethods__ = {}
1463 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1464 __setattr__ =
lambda self, name, value: _swig_setattr(self, Transformation3D, name, value)
1465 __swig_getmethods__ = {}
1466 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1467 __getattr__ =
lambda self, name: _swig_getattr(self, Transformation3D, name)
1468 def __init__(self, *args):
1470 __init__(IMP::algebra::Transformation3D self) -> Transformation3D
1471 __init__(IMP::algebra::Transformation3D self, Rotation3D r, Vector3D t=IMP::algebra::Vector3D(0,0,0)) -> Transformation3D
1472 __init__(IMP::algebra::Transformation3D self, Rotation3D r) -> Transformation3D
1473 __init__(IMP::algebra::Transformation3D self, Vector3D t) -> Transformation3D
1475 this = _IMP_algebra.new_Transformation3D(*args)
1476 try: self.this.append(this)
1477 except: self.this = this
1478 __swig_destroy__ = _IMP_algebra.delete_Transformation3D
1479 __del__ =
lambda self :
None;
1481 """get_transformed(Transformation3D self, Vector3D o) -> Vector3D"""
1482 return _IMP_algebra.Transformation3D_get_transformed(self, *args)
1484 def __mul__(self, *args):
1486 __mul__(Transformation3D self, Vector3D v) -> Vector3D
1487 __mul__(Transformation3D self, Transformation3D tr) -> Transformation3D
1489 return _IMP_algebra.Transformation3D___mul__(self, *args)
1491 def __div__(self, *args):
1492 """__div__(Transformation3D self, Transformation3D b) -> Transformation3D"""
1493 return _IMP_algebra.Transformation3D___div__(self, *args)
1495 def get_rotation(self):
1496 """get_rotation(Transformation3D self) -> Rotation3D"""
1497 return _IMP_algebra.Transformation3D_get_rotation(self)
1499 def get_translation(self):
1500 """get_translation(Transformation3D self) -> Vector3D"""
1501 return _IMP_algebra.Transformation3D_get_translation(self)
1503 def show(self, *args):
1505 show(Transformation3D self, _ostream out=std::cout)
1506 show(Transformation3D self)
1508 return _IMP_algebra.Transformation3D_show(self, *args)
1510 def get_inverse(self):
1511 """get_inverse(Transformation3D self) -> Transformation3D"""
1512 return _IMP_algebra.Transformation3D_get_inverse(self)
1515 """__str__(Transformation3D self) -> std::string"""
1516 return _IMP_algebra.Transformation3D___str__(self)
1519 """__repr__(Transformation3D self) -> std::string"""
1520 return _IMP_algebra.Transformation3D___repr__(self)
1522 Transformation3D_swigregister = _IMP_algebra.Transformation3D_swigregister
1523 Transformation3D_swigregister(Transformation3D)
1527 """get_identity_transformation_3d() -> Transformation3D"""
1528 return _IMP_algebra.get_identity_transformation_3d()
1531 """get_transformation_3d(Transformation2D t2d) -> Transformation3D"""
1532 return _IMP_algebra.get_transformation_3d(*args)
1536 get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26) -> Transformation3D
1537 get_random_local_transformation(Vector3D origin, double max_translation=5.) -> Transformation3D
1538 get_random_local_transformation(Vector3D origin) -> Transformation3D
1540 return _IMP_algebra.get_random_local_transformation(*args)
1541 class Rotation2D(_GeometricPrimitive2D):
1542 """Proxy of C++ IMP::algebra::Rotation2D class"""
1543 __swig_setmethods__ = {}
1544 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1545 __setattr__ =
lambda self, name, value: _swig_setattr(self, Rotation2D, name, value)
1546 __swig_getmethods__ = {}
1547 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1548 __getattr__ =
lambda self, name: _swig_getattr(self, Rotation2D, name)
1549 def __init__(self, *args):
1551 __init__(IMP::algebra::Rotation2D self) -> Rotation2D
1552 __init__(IMP::algebra::Rotation2D self, double angle) -> Rotation2D
1554 this = _IMP_algebra.new_Rotation2D(*args)
1555 try: self.this.append(this)
1556 except: self.this = this
1557 def get_rotated(self, *args):
1559 get_rotated(Rotation2D self, Vector2D o) -> Vector2D
1560 get_rotated(Rotation2D self, double const x, double const y) -> Vector2D
1562 return _IMP_algebra.Rotation2D_get_rotated(self, *args)
1564 def get_inverse(self):
1565 """get_inverse(Rotation2D self) -> Rotation2D"""
1566 return _IMP_algebra.Rotation2D_get_inverse(self)
1568 def set_angle(self, *args):
1569 """set_angle(Rotation2D self, double angle)"""
1570 return _IMP_algebra.Rotation2D_set_angle(self, *args)
1572 def get_angle(self):
1573 """get_angle(Rotation2D self) -> double"""
1574 return _IMP_algebra.Rotation2D_get_angle(self)
1576 def show(self, *args):
1578 show(Rotation2D self, _ostream out=std::cout)
1579 show(Rotation2D self)
1581 return _IMP_algebra.Rotation2D_show(self, *args)
1584 """__str__(Rotation2D self) -> std::string"""
1585 return _IMP_algebra.Rotation2D___str__(self)
1588 """__repr__(Rotation2D self) -> std::string"""
1589 return _IMP_algebra.Rotation2D___repr__(self)
1591 __swig_destroy__ = _IMP_algebra.delete_Rotation2D
1592 __del__ =
lambda self :
None;
1593 Rotation2D_swigregister = _IMP_algebra.Rotation2D_swigregister
1594 Rotation2D_swigregister(Rotation2D)
1598 """get_identity_rotation_2d() -> Rotation2D"""
1599 return _IMP_algebra.get_identity_rotation_2d()
1602 """get_random_rotation_2d() -> Rotation2D"""
1603 return _IMP_algebra.get_random_rotation_2d()
1606 """get_rotation_to_x_axis(Vector2D v) -> Rotation2D"""
1607 return _IMP_algebra.get_rotation_to_x_axis(*args)
1608 class Transformation2D(_GeometricPrimitive2D):
1609 """Proxy of C++ IMP::algebra::Transformation2D class"""
1610 __swig_setmethods__ = {}
1611 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1612 __setattr__ =
lambda self, name, value: _swig_setattr(self, Transformation2D, name, value)
1613 __swig_getmethods__ = {}
1614 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1615 __getattr__ =
lambda self, name: _swig_getattr(self, Transformation2D, name)
1616 def __init__(self, *args):
1618 __init__(IMP::algebra::Transformation2D self) -> Transformation2D
1619 __init__(IMP::algebra::Transformation2D self, Rotation2D r, Vector2D t=IMP::algebra::Vector2D(0.0,0.0)) -> Transformation2D
1620 __init__(IMP::algebra::Transformation2D self, Rotation2D r) -> Transformation2D
1621 __init__(IMP::algebra::Transformation2D self, Vector2D t) -> Transformation2D
1623 this = _IMP_algebra.new_Transformation2D(*args)
1624 try: self.this.append(this)
1625 except: self.this = this
1626 __swig_destroy__ = _IMP_algebra.delete_Transformation2D
1627 __del__ =
lambda self :
None;
1629 """get_transformed(Transformation2D self, Vector2D o) -> Vector2D"""
1630 return _IMP_algebra.Transformation2D_get_transformed(self, *args)
1632 def __mul__(self, *args):
1634 __mul__(Transformation2D self, Vector2D v) -> Vector2D
1635 __mul__(Transformation2D self, Transformation2D tr) -> Transformation2D
1637 return _IMP_algebra.Transformation2D___mul__(self, *args)
1639 def __div__(self, *args):
1640 """__div__(Transformation2D self, Transformation2D b) -> Transformation2D"""
1641 return _IMP_algebra.Transformation2D___div__(self, *args)
1643 def get_rotation(self):
1644 """get_rotation(Transformation2D self) -> Rotation2D"""
1645 return _IMP_algebra.Transformation2D_get_rotation(self)
1647 def set_rotation(self, *args):
1648 """set_rotation(Transformation2D self, double angle)"""
1649 return _IMP_algebra.Transformation2D_set_rotation(self, *args)
1651 def get_translation(self):
1652 """get_translation(Transformation2D self) -> Vector2D"""
1653 return _IMP_algebra.Transformation2D_get_translation(self)
1655 def set_translation(self, *args):
1656 """set_translation(Transformation2D self, Vector2D v)"""
1657 return _IMP_algebra.Transformation2D_set_translation(self, *args)
1659 def show(self, *args):
1661 show(Transformation2D self, _ostream out=std::cout)
1662 show(Transformation2D self)
1664 return _IMP_algebra.Transformation2D_show(self, *args)
1666 def get_inverse(self):
1667 """get_inverse(Transformation2D self) -> Transformation2D"""
1668 return _IMP_algebra.Transformation2D_get_inverse(self)
1671 """__str__(Transformation2D self) -> std::string"""
1672 return _IMP_algebra.Transformation2D___str__(self)
1675 """__repr__(Transformation2D self) -> std::string"""
1676 return _IMP_algebra.Transformation2D___repr__(self)
1678 Transformation2D_swigregister = _IMP_algebra.Transformation2D_swigregister
1679 Transformation2D_swigregister(Transformation2D)
1683 """get_identity_transformation_2d() -> Transformation2D"""
1684 return _IMP_algebra.get_identity_transformation_2d()
1688 get_rotation_about_point(Vector3D point, Rotation3D rotation) -> Transformation3D
1689 get_rotation_about_point(Vector2D point, Rotation2D rotation) -> Transformation2D
1691 return _IMP_algebra.get_rotation_about_point(*args)
1695 compose(Rotation3D a, Rotation3D b) -> Rotation3D
1696 compose(Transformation3D a, Transformation3D b) -> Transformation3D
1697 compose(Rotation2D a, Rotation2D b) -> Rotation2D
1698 compose(Transformation2D a, Transformation2D b) -> Transformation2D
1700 return _IMP_algebra.compose(*args)
1702 def get_unit_sphere_kd(*args):
1703 """get_unit_sphere_kd(unsigned int d) -> SphereKD"""
1704 return _IMP_algebra.get_unit_sphere_kd(*args)
1708 get_enclosing_sphere(IMP::algebra::Sphere3Ds const & ss) -> Sphere3D
1709 get_enclosing_sphere(IMP::algebra::Vector3Ds const & ss) -> Sphere3D
1711 return _IMP_algebra.get_enclosing_sphere(*args)
1714 """get_ball_radius_from_volume_3d(double volume) -> double"""
1715 return _IMP_algebra.get_ball_radius_from_volume_3d(*args)
1718 """get_surface_area_and_volume(IMP::algebra::Sphere3Ds const & ss) -> IMP::FloatPair"""
1719 return _IMP_algebra.get_surface_area_and_volume(*args)
1720 class Vector1D(_GeometricPrimitive1D):
1721 """Proxy of C++ IMP::algebra::VectorD<(1)> class"""
1722 __swig_setmethods__ = {}
1723 for _s
in [_GeometricPrimitive1D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1724 __setattr__ =
lambda self, name, value: _swig_setattr(self, Vector1D, name, value)
1725 __swig_getmethods__ = {}
1726 for _s
in [_GeometricPrimitive1D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1727 __getattr__ =
lambda self, name: _swig_getattr(self, Vector1D, name)
1728 def __init__(self, *args):
1730 __init__(IMP::algebra::VectorD<(1)> self, IMP::Floats const & f) -> Vector1D
1731 __init__(IMP::algebra::VectorD<(1)> self, double x) -> Vector1D
1732 __init__(IMP::algebra::VectorD<(1)> self, double x, double y) -> Vector1D
1733 __init__(IMP::algebra::VectorD<(1)> self, double x, double y, double z) -> Vector1D
1734 __init__(IMP::algebra::VectorD<(1)> self, double x0, double x1, double x2, double x3) -> Vector1D
1735 __init__(IMP::algebra::VectorD<(1)> self) -> Vector1D
1737 this = _IMP_algebra.new_Vector1D(*args)
1738 try: self.this.append(this)
1739 except: self.this = this
1740 def get_scalar_product(self, *args):
1741 """get_scalar_product(Vector1D self, Vector1D o) -> double"""
1742 return _IMP_algebra.Vector1D_get_scalar_product(self, *args)
1744 def get_squared_magnitude(self):
1745 """get_squared_magnitude(Vector1D self) -> double"""
1746 return _IMP_algebra.Vector1D_get_squared_magnitude(self)
1748 def get_magnitude(self):
1749 """get_magnitude(Vector1D self) -> double"""
1750 return _IMP_algebra.Vector1D_get_magnitude(self)
1752 def get_unit_vector(self):
1753 """get_unit_vector(Vector1D self) -> Vector1D"""
1754 return _IMP_algebra.Vector1D_get_unit_vector(self)
1756 def __mul__(self, *args):
1758 __mul__(Vector1D self, Vector1D o) -> double
1759 __mul__(Vector1D self, double s) -> Vector1D
1761 return _IMP_algebra.Vector1D___mul__(self, *args)
1763 def __div__(self, *args):
1764 """__div__(Vector1D self, double s) -> Vector1D"""
1765 return _IMP_algebra.Vector1D___div__(self, *args)
1768 """__neg__(Vector1D self) -> Vector1D"""
1769 return _IMP_algebra.Vector1D___neg__(self)
1771 def __sub__(self, *args):
1772 """__sub__(Vector1D self, Vector1D o) -> Vector1D"""
1773 return _IMP_algebra.Vector1D___sub__(self, *args)
1775 def __add__(self, *args):
1776 """__add__(Vector1D self, Vector1D o) -> Vector1D"""
1777 return _IMP_algebra.Vector1D___add__(self, *args)
1779 def show(self, *args):
1781 show(Vector1D self, _ostream out, std::string delim, bool parens=True)
1782 show(Vector1D self, _ostream out, std::string delim)
1783 show(Vector1D self, _ostream out=std::cout)
1786 return _IMP_algebra.Vector1D_show(self, *args)
1788 def get_dimension(self):
1789 """get_dimension(Vector1D self) -> unsigned int"""
1790 return _IMP_algebra.Vector1D_get_dimension(self)
1793 """__str__(Vector1D self) -> std::string"""
1794 return _IMP_algebra.Vector1D___str__(self)
1797 """__repr__(Vector1D self) -> std::string"""
1798 return _IMP_algebra.Vector1D___repr__(self)
1800 def __cmp__(self, *args):
1801 """__cmp__(Vector1D self, Vector1D arg2) -> int"""
1802 return _IMP_algebra.Vector1D___cmp__(self, *args)
1804 def __getitem__(self, *args):
1805 """__getitem__(Vector1D self, unsigned int index) -> double"""
1806 return _IMP_algebra.Vector1D___getitem__(self, *args)
1808 def __setitem__(self, *args):
1809 """__setitem__(Vector1D self, unsigned int index, double val)"""
1810 return _IMP_algebra.Vector1D___setitem__(self, *args)
1812 def __iadd__(self, *args):
1813 _IMP_algebra.Vector1D___iadd__(self, *args)
1817 def __imul__(self, *args):
1818 _IMP_algebra.Vector1D___imul__(self, *args)
1822 def __idiv__(self, *args):
1823 _IMP_algebra.Vector1D___idiv__(self, *args)
1827 def __isub__(self, *args):
1828 _IMP_algebra.Vector1D___isub__(self, *args)
1833 """__len__(Vector1D self) -> unsigned int"""
1834 return _IMP_algebra.Vector1D___len__(self)
1836 def __rmul__(self, *args):
1837 """__rmul__(Vector1D self, double f) -> Vector1D"""
1838 return _IMP_algebra.Vector1D___rmul__(self, *args)
1840 __swig_destroy__ = _IMP_algebra.delete_Vector1D
1841 __del__ =
lambda self :
None;
1842 Vector1D_swigregister = _IMP_algebra.Vector1D_swigregister
1843 Vector1D_swigregister(Vector1D)
1845 class Vector2D(_GeometricPrimitive2D):
1846 """Proxy of C++ IMP::algebra::VectorD<(2)> class"""
1847 __swig_setmethods__ = {}
1848 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1849 __setattr__ =
lambda self, name, value: _swig_setattr(self, Vector2D, name, value)
1850 __swig_getmethods__ = {}
1851 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1852 __getattr__ =
lambda self, name: _swig_getattr(self, Vector2D, name)
1853 def __init__(self, *args):
1855 __init__(IMP::algebra::VectorD<(2)> self, IMP::Floats const & f) -> Vector2D
1856 __init__(IMP::algebra::VectorD<(2)> self, double x) -> Vector2D
1857 __init__(IMP::algebra::VectorD<(2)> self, double x, double y) -> Vector2D
1858 __init__(IMP::algebra::VectorD<(2)> self, double x, double y, double z) -> Vector2D
1859 __init__(IMP::algebra::VectorD<(2)> self, double x0, double x1, double x2, double x3) -> Vector2D
1860 __init__(IMP::algebra::VectorD<(2)> self) -> Vector2D
1862 this = _IMP_algebra.new_Vector2D(*args)
1863 try: self.this.append(this)
1864 except: self.this = this
1865 def get_scalar_product(self, *args):
1866 """get_scalar_product(Vector2D self, Vector2D o) -> double"""
1867 return _IMP_algebra.Vector2D_get_scalar_product(self, *args)
1869 def get_squared_magnitude(self):
1870 """get_squared_magnitude(Vector2D self) -> double"""
1871 return _IMP_algebra.Vector2D_get_squared_magnitude(self)
1873 def get_magnitude(self):
1874 """get_magnitude(Vector2D self) -> double"""
1875 return _IMP_algebra.Vector2D_get_magnitude(self)
1877 def get_unit_vector(self):
1878 """get_unit_vector(Vector2D self) -> Vector2D"""
1879 return _IMP_algebra.Vector2D_get_unit_vector(self)
1881 def __mul__(self, *args):
1883 __mul__(Vector2D self, Vector2D o) -> double
1884 __mul__(Vector2D self, double s) -> Vector2D
1886 return _IMP_algebra.Vector2D___mul__(self, *args)
1888 def __div__(self, *args):
1889 """__div__(Vector2D self, double s) -> Vector2D"""
1890 return _IMP_algebra.Vector2D___div__(self, *args)
1893 """__neg__(Vector2D self) -> Vector2D"""
1894 return _IMP_algebra.Vector2D___neg__(self)
1896 def __sub__(self, *args):
1897 """__sub__(Vector2D self, Vector2D o) -> Vector2D"""
1898 return _IMP_algebra.Vector2D___sub__(self, *args)
1900 def __add__(self, *args):
1901 """__add__(Vector2D self, Vector2D o) -> Vector2D"""
1902 return _IMP_algebra.Vector2D___add__(self, *args)
1904 def show(self, *args):
1906 show(Vector2D self, _ostream out, std::string delim, bool parens=True)
1907 show(Vector2D self, _ostream out, std::string delim)
1908 show(Vector2D self, _ostream out=std::cout)
1911 return _IMP_algebra.Vector2D_show(self, *args)
1913 def get_dimension(self):
1914 """get_dimension(Vector2D self) -> unsigned int"""
1915 return _IMP_algebra.Vector2D_get_dimension(self)
1918 """__str__(Vector2D self) -> std::string"""
1919 return _IMP_algebra.Vector2D___str__(self)
1922 """__repr__(Vector2D self) -> std::string"""
1923 return _IMP_algebra.Vector2D___repr__(self)
1925 def __cmp__(self, *args):
1926 """__cmp__(Vector2D self, Vector2D arg2) -> int"""
1927 return _IMP_algebra.Vector2D___cmp__(self, *args)
1929 def __getitem__(self, *args):
1930 """__getitem__(Vector2D self, unsigned int index) -> double"""
1931 return _IMP_algebra.Vector2D___getitem__(self, *args)
1933 def __setitem__(self, *args):
1934 """__setitem__(Vector2D self, unsigned int index, double val)"""
1935 return _IMP_algebra.Vector2D___setitem__(self, *args)
1937 def __iadd__(self, *args):
1938 _IMP_algebra.Vector2D___iadd__(self, *args)
1942 def __imul__(self, *args):
1943 _IMP_algebra.Vector2D___imul__(self, *args)
1947 def __idiv__(self, *args):
1948 _IMP_algebra.Vector2D___idiv__(self, *args)
1952 def __isub__(self, *args):
1953 _IMP_algebra.Vector2D___isub__(self, *args)
1958 """__len__(Vector2D self) -> unsigned int"""
1959 return _IMP_algebra.Vector2D___len__(self)
1961 def __rmul__(self, *args):
1962 """__rmul__(Vector2D self, double f) -> Vector2D"""
1963 return _IMP_algebra.Vector2D___rmul__(self, *args)
1965 __swig_destroy__ = _IMP_algebra.delete_Vector2D
1966 __del__ =
lambda self :
None;
1967 Vector2D_swigregister = _IMP_algebra.Vector2D_swigregister
1968 Vector2D_swigregister(Vector2D)
1970 class Vector3D(_GeometricPrimitive3D):
1971 """Proxy of C++ IMP::algebra::VectorD<(3)> class"""
1972 __swig_setmethods__ = {}
1973 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1974 __setattr__ =
lambda self, name, value: _swig_setattr(self, Vector3D, name, value)
1975 __swig_getmethods__ = {}
1976 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1977 __getattr__ =
lambda self, name: _swig_getattr(self, Vector3D, name)
1978 def __init__(self, *args):
1980 __init__(IMP::algebra::VectorD<(3)> self, IMP::Floats const & f) -> Vector3D
1981 __init__(IMP::algebra::VectorD<(3)> self, double x) -> Vector3D
1982 __init__(IMP::algebra::VectorD<(3)> self, double x, double y) -> Vector3D
1983 __init__(IMP::algebra::VectorD<(3)> self, double x, double y, double z) -> Vector3D
1984 __init__(IMP::algebra::VectorD<(3)> self, double x0, double x1, double x2, double x3) -> Vector3D
1985 __init__(IMP::algebra::VectorD<(3)> self) -> Vector3D
1987 this = _IMP_algebra.new_Vector3D(*args)
1988 try: self.this.append(this)
1989 except: self.this = this
1990 def get_scalar_product(self, *args):
1991 """get_scalar_product(Vector3D self, Vector3D o) -> double"""
1992 return _IMP_algebra.Vector3D_get_scalar_product(self, *args)
1994 def get_squared_magnitude(self):
1995 """get_squared_magnitude(Vector3D self) -> double"""
1996 return _IMP_algebra.Vector3D_get_squared_magnitude(self)
1998 def get_magnitude(self):
1999 """get_magnitude(Vector3D self) -> double"""
2000 return _IMP_algebra.Vector3D_get_magnitude(self)
2002 def get_unit_vector(self):
2003 """get_unit_vector(Vector3D self) -> Vector3D"""
2004 return _IMP_algebra.Vector3D_get_unit_vector(self)
2006 def __mul__(self, *args):
2008 __mul__(Vector3D self, Vector3D o) -> double
2009 __mul__(Vector3D self, double s) -> Vector3D
2011 return _IMP_algebra.Vector3D___mul__(self, *args)
2013 def __div__(self, *args):
2014 """__div__(Vector3D self, double s) -> Vector3D"""
2015 return _IMP_algebra.Vector3D___div__(self, *args)
2018 """__neg__(Vector3D self) -> Vector3D"""
2019 return _IMP_algebra.Vector3D___neg__(self)
2021 def __sub__(self, *args):
2022 """__sub__(Vector3D self, Vector3D o) -> Vector3D"""
2023 return _IMP_algebra.Vector3D___sub__(self, *args)
2025 def __add__(self, *args):
2026 """__add__(Vector3D self, Vector3D o) -> Vector3D"""
2027 return _IMP_algebra.Vector3D___add__(self, *args)
2029 def show(self, *args):
2031 show(Vector3D self, _ostream out, std::string delim, bool parens=True)
2032 show(Vector3D self, _ostream out, std::string delim)
2033 show(Vector3D self, _ostream out=std::cout)
2036 return _IMP_algebra.Vector3D_show(self, *args)
2038 def get_dimension(self):
2039 """get_dimension(Vector3D self) -> unsigned int"""
2040 return _IMP_algebra.Vector3D_get_dimension(self)
2043 """__str__(Vector3D self) -> std::string"""
2044 return _IMP_algebra.Vector3D___str__(self)
2047 """__repr__(Vector3D self) -> std::string"""
2048 return _IMP_algebra.Vector3D___repr__(self)
2050 def __cmp__(self, *args):
2051 """__cmp__(Vector3D self, Vector3D arg2) -> int"""
2052 return _IMP_algebra.Vector3D___cmp__(self, *args)
2054 def __getitem__(self, *args):
2055 """__getitem__(Vector3D self, unsigned int index) -> double"""
2056 return _IMP_algebra.Vector3D___getitem__(self, *args)
2058 def __setitem__(self, *args):
2059 """__setitem__(Vector3D self, unsigned int index, double val)"""
2060 return _IMP_algebra.Vector3D___setitem__(self, *args)
2062 def __iadd__(self, *args):
2063 _IMP_algebra.Vector3D___iadd__(self, *args)
2067 def __imul__(self, *args):
2068 _IMP_algebra.Vector3D___imul__(self, *args)
2072 def __idiv__(self, *args):
2073 _IMP_algebra.Vector3D___idiv__(self, *args)
2077 def __isub__(self, *args):
2078 _IMP_algebra.Vector3D___isub__(self, *args)
2083 """__len__(Vector3D self) -> unsigned int"""
2084 return _IMP_algebra.Vector3D___len__(self)
2086 def __rmul__(self, *args):
2087 """__rmul__(Vector3D self, double f) -> Vector3D"""
2088 return _IMP_algebra.Vector3D___rmul__(self, *args)
2090 __swig_destroy__ = _IMP_algebra.delete_Vector3D
2091 __del__ =
lambda self :
None;
2092 Vector3D_swigregister = _IMP_algebra.Vector3D_swigregister
2093 Vector3D_swigregister(Vector3D)
2095 class Vector4D(_GeometricPrimitive4D):
2096 """Proxy of C++ IMP::algebra::VectorD<(4)> class"""
2097 __swig_setmethods__ = {}
2098 for _s
in [_GeometricPrimitive4D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2099 __setattr__ =
lambda self, name, value: _swig_setattr(self, Vector4D, name, value)
2100 __swig_getmethods__ = {}
2101 for _s
in [_GeometricPrimitive4D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2102 __getattr__ =
lambda self, name: _swig_getattr(self, Vector4D, name)
2103 def __init__(self, *args):
2105 __init__(IMP::algebra::VectorD<(4)> self, IMP::Floats const & f) -> Vector4D
2106 __init__(IMP::algebra::VectorD<(4)> self, double x) -> Vector4D
2107 __init__(IMP::algebra::VectorD<(4)> self, double x, double y) -> Vector4D
2108 __init__(IMP::algebra::VectorD<(4)> self, double x, double y, double z) -> Vector4D
2109 __init__(IMP::algebra::VectorD<(4)> self, double x0, double x1, double x2, double x3) -> Vector4D
2110 __init__(IMP::algebra::VectorD<(4)> self) -> Vector4D
2112 this = _IMP_algebra.new_Vector4D(*args)
2113 try: self.this.append(this)
2114 except: self.this = this
2115 def get_scalar_product(self, *args):
2116 """get_scalar_product(Vector4D self, Vector4D o) -> double"""
2117 return _IMP_algebra.Vector4D_get_scalar_product(self, *args)
2119 def get_squared_magnitude(self):
2120 """get_squared_magnitude(Vector4D self) -> double"""
2121 return _IMP_algebra.Vector4D_get_squared_magnitude(self)
2123 def get_magnitude(self):
2124 """get_magnitude(Vector4D self) -> double"""
2125 return _IMP_algebra.Vector4D_get_magnitude(self)
2127 def get_unit_vector(self):
2128 """get_unit_vector(Vector4D self) -> Vector4D"""
2129 return _IMP_algebra.Vector4D_get_unit_vector(self)
2131 def __mul__(self, *args):
2133 __mul__(Vector4D self, Vector4D o) -> double
2134 __mul__(Vector4D self, double s) -> Vector4D
2136 return _IMP_algebra.Vector4D___mul__(self, *args)
2138 def __div__(self, *args):
2139 """__div__(Vector4D self, double s) -> Vector4D"""
2140 return _IMP_algebra.Vector4D___div__(self, *args)
2143 """__neg__(Vector4D self) -> Vector4D"""
2144 return _IMP_algebra.Vector4D___neg__(self)
2146 def __sub__(self, *args):
2147 """__sub__(Vector4D self, Vector4D o) -> Vector4D"""
2148 return _IMP_algebra.Vector4D___sub__(self, *args)
2150 def __add__(self, *args):
2151 """__add__(Vector4D self, Vector4D o) -> Vector4D"""
2152 return _IMP_algebra.Vector4D___add__(self, *args)
2154 def show(self, *args):
2156 show(Vector4D self, _ostream out, std::string delim, bool parens=True)
2157 show(Vector4D self, _ostream out, std::string delim)
2158 show(Vector4D self, _ostream out=std::cout)
2161 return _IMP_algebra.Vector4D_show(self, *args)
2163 def get_dimension(self):
2164 """get_dimension(Vector4D self) -> unsigned int"""
2165 return _IMP_algebra.Vector4D_get_dimension(self)
2168 """__str__(Vector4D self) -> std::string"""
2169 return _IMP_algebra.Vector4D___str__(self)
2172 """__repr__(Vector4D self) -> std::string"""
2173 return _IMP_algebra.Vector4D___repr__(self)
2175 def __cmp__(self, *args):
2176 """__cmp__(Vector4D self, Vector4D arg2) -> int"""
2177 return _IMP_algebra.Vector4D___cmp__(self, *args)
2179 def __getitem__(self, *args):
2180 """__getitem__(Vector4D self, unsigned int index) -> double"""
2181 return _IMP_algebra.Vector4D___getitem__(self, *args)
2183 def __setitem__(self, *args):
2184 """__setitem__(Vector4D self, unsigned int index, double val)"""
2185 return _IMP_algebra.Vector4D___setitem__(self, *args)
2187 def __iadd__(self, *args):
2188 _IMP_algebra.Vector4D___iadd__(self, *args)
2192 def __imul__(self, *args):
2193 _IMP_algebra.Vector4D___imul__(self, *args)
2197 def __idiv__(self, *args):
2198 _IMP_algebra.Vector4D___idiv__(self, *args)
2202 def __isub__(self, *args):
2203 _IMP_algebra.Vector4D___isub__(self, *args)
2208 """__len__(Vector4D self) -> unsigned int"""
2209 return _IMP_algebra.Vector4D___len__(self)
2211 def __rmul__(self, *args):
2212 """__rmul__(Vector4D self, double f) -> Vector4D"""
2213 return _IMP_algebra.Vector4D___rmul__(self, *args)
2215 __swig_destroy__ = _IMP_algebra.delete_Vector4D
2216 __del__ =
lambda self :
None;
2217 Vector4D_swigregister = _IMP_algebra.Vector4D_swigregister
2218 Vector4D_swigregister(Vector4D)
2220 class Vector5D(_GeometricPrimitive5D):
2221 """Proxy of C++ IMP::algebra::VectorD<(5)> class"""
2222 __swig_setmethods__ = {}
2223 for _s
in [_GeometricPrimitive5D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2224 __setattr__ =
lambda self, name, value: _swig_setattr(self, Vector5D, name, value)
2225 __swig_getmethods__ = {}
2226 for _s
in [_GeometricPrimitive5D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2227 __getattr__ =
lambda self, name: _swig_getattr(self, Vector5D, name)
2228 def __init__(self, *args):
2230 __init__(IMP::algebra::VectorD<(5)> self, IMP::Floats const & f) -> Vector5D
2231 __init__(IMP::algebra::VectorD<(5)> self, double x) -> Vector5D
2232 __init__(IMP::algebra::VectorD<(5)> self, double x, double y) -> Vector5D
2233 __init__(IMP::algebra::VectorD<(5)> self, double x, double y, double z) -> Vector5D
2234 __init__(IMP::algebra::VectorD<(5)> self, double x0, double x1, double x2, double x3) -> Vector5D
2235 __init__(IMP::algebra::VectorD<(5)> self) -> Vector5D
2237 this = _IMP_algebra.new_Vector5D(*args)
2238 try: self.this.append(this)
2239 except: self.this = this
2240 def get_scalar_product(self, *args):
2241 """get_scalar_product(Vector5D self, Vector5D o) -> double"""
2242 return _IMP_algebra.Vector5D_get_scalar_product(self, *args)
2244 def get_squared_magnitude(self):
2245 """get_squared_magnitude(Vector5D self) -> double"""
2246 return _IMP_algebra.Vector5D_get_squared_magnitude(self)
2248 def get_magnitude(self):
2249 """get_magnitude(Vector5D self) -> double"""
2250 return _IMP_algebra.Vector5D_get_magnitude(self)
2252 def get_unit_vector(self):
2253 """get_unit_vector(Vector5D self) -> Vector5D"""
2254 return _IMP_algebra.Vector5D_get_unit_vector(self)
2256 def __mul__(self, *args):
2258 __mul__(Vector5D self, Vector5D o) -> double
2259 __mul__(Vector5D self, double s) -> Vector5D
2261 return _IMP_algebra.Vector5D___mul__(self, *args)
2263 def __div__(self, *args):
2264 """__div__(Vector5D self, double s) -> Vector5D"""
2265 return _IMP_algebra.Vector5D___div__(self, *args)
2268 """__neg__(Vector5D self) -> Vector5D"""
2269 return _IMP_algebra.Vector5D___neg__(self)
2271 def __sub__(self, *args):
2272 """__sub__(Vector5D self, Vector5D o) -> Vector5D"""
2273 return _IMP_algebra.Vector5D___sub__(self, *args)
2275 def __add__(self, *args):
2276 """__add__(Vector5D self, Vector5D o) -> Vector5D"""
2277 return _IMP_algebra.Vector5D___add__(self, *args)
2279 def show(self, *args):
2281 show(Vector5D self, _ostream out, std::string delim, bool parens=True)
2282 show(Vector5D self, _ostream out, std::string delim)
2283 show(Vector5D self, _ostream out=std::cout)
2286 return _IMP_algebra.Vector5D_show(self, *args)
2288 def get_dimension(self):
2289 """get_dimension(Vector5D self) -> unsigned int"""
2290 return _IMP_algebra.Vector5D_get_dimension(self)
2293 """__str__(Vector5D self) -> std::string"""
2294 return _IMP_algebra.Vector5D___str__(self)
2297 """__repr__(Vector5D self) -> std::string"""
2298 return _IMP_algebra.Vector5D___repr__(self)
2300 def __cmp__(self, *args):
2301 """__cmp__(Vector5D self, Vector5D arg2) -> int"""
2302 return _IMP_algebra.Vector5D___cmp__(self, *args)
2304 def __getitem__(self, *args):
2305 """__getitem__(Vector5D self, unsigned int index) -> double"""
2306 return _IMP_algebra.Vector5D___getitem__(self, *args)
2308 def __setitem__(self, *args):
2309 """__setitem__(Vector5D self, unsigned int index, double val)"""
2310 return _IMP_algebra.Vector5D___setitem__(self, *args)
2312 def __iadd__(self, *args):
2313 _IMP_algebra.Vector5D___iadd__(self, *args)
2317 def __imul__(self, *args):
2318 _IMP_algebra.Vector5D___imul__(self, *args)
2322 def __idiv__(self, *args):
2323 _IMP_algebra.Vector5D___idiv__(self, *args)
2327 def __isub__(self, *args):
2328 _IMP_algebra.Vector5D___isub__(self, *args)
2333 """__len__(Vector5D self) -> unsigned int"""
2334 return _IMP_algebra.Vector5D___len__(self)
2336 def __rmul__(self, *args):
2337 """__rmul__(Vector5D self, double f) -> Vector5D"""
2338 return _IMP_algebra.Vector5D___rmul__(self, *args)
2340 __swig_destroy__ = _IMP_algebra.delete_Vector5D
2341 __del__ =
lambda self :
None;
2342 Vector5D_swigregister = _IMP_algebra.Vector5D_swigregister
2343 Vector5D_swigregister(Vector5D)
2345 class Vector6D(_GeometricPrimitive6D):
2346 """Proxy of C++ IMP::algebra::VectorD<(6)> class"""
2347 __swig_setmethods__ = {}
2348 for _s
in [_GeometricPrimitive6D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2349 __setattr__ =
lambda self, name, value: _swig_setattr(self, Vector6D, name, value)
2350 __swig_getmethods__ = {}
2351 for _s
in [_GeometricPrimitive6D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2352 __getattr__ =
lambda self, name: _swig_getattr(self, Vector6D, name)
2353 def __init__(self, *args):
2355 __init__(IMP::algebra::VectorD<(6)> self, IMP::Floats const & f) -> Vector6D
2356 __init__(IMP::algebra::VectorD<(6)> self, double x) -> Vector6D
2357 __init__(IMP::algebra::VectorD<(6)> self, double x, double y) -> Vector6D
2358 __init__(IMP::algebra::VectorD<(6)> self, double x, double y, double z) -> Vector6D
2359 __init__(IMP::algebra::VectorD<(6)> self, double x0, double x1, double x2, double x3) -> Vector6D
2360 __init__(IMP::algebra::VectorD<(6)> self) -> Vector6D
2362 this = _IMP_algebra.new_Vector6D(*args)
2363 try: self.this.append(this)
2364 except: self.this = this
2365 def get_scalar_product(self, *args):
2366 """get_scalar_product(Vector6D self, Vector6D o) -> double"""
2367 return _IMP_algebra.Vector6D_get_scalar_product(self, *args)
2369 def get_squared_magnitude(self):
2370 """get_squared_magnitude(Vector6D self) -> double"""
2371 return _IMP_algebra.Vector6D_get_squared_magnitude(self)
2373 def get_magnitude(self):
2374 """get_magnitude(Vector6D self) -> double"""
2375 return _IMP_algebra.Vector6D_get_magnitude(self)
2377 def get_unit_vector(self):
2378 """get_unit_vector(Vector6D self) -> Vector6D"""
2379 return _IMP_algebra.Vector6D_get_unit_vector(self)
2381 def __mul__(self, *args):
2383 __mul__(Vector6D self, Vector6D o) -> double
2384 __mul__(Vector6D self, double s) -> Vector6D
2386 return _IMP_algebra.Vector6D___mul__(self, *args)
2388 def __div__(self, *args):
2389 """__div__(Vector6D self, double s) -> Vector6D"""
2390 return _IMP_algebra.Vector6D___div__(self, *args)
2393 """__neg__(Vector6D self) -> Vector6D"""
2394 return _IMP_algebra.Vector6D___neg__(self)
2396 def __sub__(self, *args):
2397 """__sub__(Vector6D self, Vector6D o) -> Vector6D"""
2398 return _IMP_algebra.Vector6D___sub__(self, *args)
2400 def __add__(self, *args):
2401 """__add__(Vector6D self, Vector6D o) -> Vector6D"""
2402 return _IMP_algebra.Vector6D___add__(self, *args)
2404 def show(self, *args):
2406 show(Vector6D self, _ostream out, std::string delim, bool parens=True)
2407 show(Vector6D self, _ostream out, std::string delim)
2408 show(Vector6D self, _ostream out=std::cout)
2411 return _IMP_algebra.Vector6D_show(self, *args)
2413 def get_dimension(self):
2414 """get_dimension(Vector6D self) -> unsigned int"""
2415 return _IMP_algebra.Vector6D_get_dimension(self)
2418 """__str__(Vector6D self) -> std::string"""
2419 return _IMP_algebra.Vector6D___str__(self)
2422 """__repr__(Vector6D self) -> std::string"""
2423 return _IMP_algebra.Vector6D___repr__(self)
2425 def __cmp__(self, *args):
2426 """__cmp__(Vector6D self, Vector6D arg2) -> int"""
2427 return _IMP_algebra.Vector6D___cmp__(self, *args)
2429 def __getitem__(self, *args):
2430 """__getitem__(Vector6D self, unsigned int index) -> double"""
2431 return _IMP_algebra.Vector6D___getitem__(self, *args)
2433 def __setitem__(self, *args):
2434 """__setitem__(Vector6D self, unsigned int index, double val)"""
2435 return _IMP_algebra.Vector6D___setitem__(self, *args)
2437 def __iadd__(self, *args):
2438 _IMP_algebra.Vector6D___iadd__(self, *args)
2442 def __imul__(self, *args):
2443 _IMP_algebra.Vector6D___imul__(self, *args)
2447 def __idiv__(self, *args):
2448 _IMP_algebra.Vector6D___idiv__(self, *args)
2452 def __isub__(self, *args):
2453 _IMP_algebra.Vector6D___isub__(self, *args)
2458 """__len__(Vector6D self) -> unsigned int"""
2459 return _IMP_algebra.Vector6D___len__(self)
2461 def __rmul__(self, *args):
2462 """__rmul__(Vector6D self, double f) -> Vector6D"""
2463 return _IMP_algebra.Vector6D___rmul__(self, *args)
2465 __swig_destroy__ = _IMP_algebra.delete_Vector6D
2466 __del__ =
lambda self :
None;
2467 Vector6D_swigregister = _IMP_algebra.Vector6D_swigregister
2468 Vector6D_swigregister(Vector6D)
2470 class VectorKD(_GeometricPrimitiveKD):
2471 """Proxy of C++ IMP::algebra::VectorD<(-1)> class"""
2472 __swig_setmethods__ = {}
2473 for _s
in [_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2474 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorKD, name, value)
2475 __swig_getmethods__ = {}
2476 for _s
in [_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2477 __getattr__ =
lambda self, name: _swig_getattr(self, VectorKD, name)
2478 def __init__(self, *args):
2480 __init__(IMP::algebra::VectorD<(-1)> self, IMP::Floats const & f) -> VectorKD
2481 __init__(IMP::algebra::VectorD<(-1)> self, double x) -> VectorKD
2482 __init__(IMP::algebra::VectorD<(-1)> self, double x, double y) -> VectorKD
2483 __init__(IMP::algebra::VectorD<(-1)> self, double x, double y, double z) -> VectorKD
2484 __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3) -> VectorKD
2485 __init__(IMP::algebra::VectorD<(-1)> self) -> VectorKD
2487 this = _IMP_algebra.new_VectorKD(*args)
2488 try: self.this.append(this)
2489 except: self.this = this
2490 def get_scalar_product(self, *args):
2491 """get_scalar_product(VectorKD self, VectorKD o) -> double"""
2492 return _IMP_algebra.VectorKD_get_scalar_product(self, *args)
2494 def get_squared_magnitude(self):
2495 """get_squared_magnitude(VectorKD self) -> double"""
2496 return _IMP_algebra.VectorKD_get_squared_magnitude(self)
2498 def get_magnitude(self):
2499 """get_magnitude(VectorKD self) -> double"""
2500 return _IMP_algebra.VectorKD_get_magnitude(self)
2502 def get_unit_vector(self):
2503 """get_unit_vector(VectorKD self) -> VectorKD"""
2504 return _IMP_algebra.VectorKD_get_unit_vector(self)
2506 def __mul__(self, *args):
2508 __mul__(VectorKD self, VectorKD o) -> double
2509 __mul__(VectorKD self, double s) -> VectorKD
2511 return _IMP_algebra.VectorKD___mul__(self, *args)
2513 def __div__(self, *args):
2514 """__div__(VectorKD self, double s) -> VectorKD"""
2515 return _IMP_algebra.VectorKD___div__(self, *args)
2518 """__neg__(VectorKD self) -> VectorKD"""
2519 return _IMP_algebra.VectorKD___neg__(self)
2521 def __sub__(self, *args):
2522 """__sub__(VectorKD self, VectorKD o) -> VectorKD"""
2523 return _IMP_algebra.VectorKD___sub__(self, *args)
2525 def __add__(self, *args):
2526 """__add__(VectorKD self, VectorKD o) -> VectorKD"""
2527 return _IMP_algebra.VectorKD___add__(self, *args)
2529 def show(self, *args):
2531 show(VectorKD self, _ostream out, std::string delim, bool parens=True)
2532 show(VectorKD self, _ostream out, std::string delim)
2533 show(VectorKD self, _ostream out=std::cout)
2536 return _IMP_algebra.VectorKD_show(self, *args)
2538 def get_dimension(self):
2539 """get_dimension(VectorKD self) -> unsigned int"""
2540 return _IMP_algebra.VectorKD_get_dimension(self)
2543 """__str__(VectorKD self) -> std::string"""
2544 return _IMP_algebra.VectorKD___str__(self)
2547 """__repr__(VectorKD self) -> std::string"""
2548 return _IMP_algebra.VectorKD___repr__(self)
2550 def __cmp__(self, *args):
2551 """__cmp__(VectorKD self, VectorKD arg2) -> int"""
2552 return _IMP_algebra.VectorKD___cmp__(self, *args)
2554 def __getitem__(self, *args):
2555 """__getitem__(VectorKD self, unsigned int index) -> double"""
2556 return _IMP_algebra.VectorKD___getitem__(self, *args)
2558 def __setitem__(self, *args):
2559 """__setitem__(VectorKD self, unsigned int index, double val)"""
2560 return _IMP_algebra.VectorKD___setitem__(self, *args)
2562 def __iadd__(self, *args):
2563 _IMP_algebra.VectorKD___iadd__(self, *args)
2567 def __imul__(self, *args):
2568 _IMP_algebra.VectorKD___imul__(self, *args)
2572 def __idiv__(self, *args):
2573 _IMP_algebra.VectorKD___idiv__(self, *args)
2577 def __isub__(self, *args):
2578 _IMP_algebra.VectorKD___isub__(self, *args)
2583 """__len__(VectorKD self) -> unsigned int"""
2584 return _IMP_algebra.VectorKD___len__(self)
2586 def __rmul__(self, *args):
2587 """__rmul__(VectorKD self, double f) -> VectorKD"""
2588 return _IMP_algebra.VectorKD___rmul__(self, *args)
2590 __swig_destroy__ = _IMP_algebra.delete_VectorKD
2591 __del__ =
lambda self :
None;
2592 VectorKD_swigregister = _IMP_algebra.VectorKD_swigregister
2593 VectorKD_swigregister(VectorKD)
2596 """Proxy of C++ IMP::algebra::VectorInputD<(1)> class"""
2597 __swig_setmethods__ = {}
2598 for _s
in [Vector1D,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2599 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorInput1D, name, value)
2600 __swig_getmethods__ = {}
2601 for _s
in [Vector1D,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2602 __getattr__ =
lambda self, name: _swig_getattr(self, VectorInput1D, name)
2603 __repr__ = _swig_repr
2604 def __init__(self, *args):
2606 __init__(IMP::algebra::VectorInputD<(1)> self, Vector1D v) -> VectorInput1D
2607 __init__(IMP::algebra::VectorInputD<(1)> self, IMP::Floats const & v) -> VectorInput1D
2608 __init__(IMP::algebra::VectorInputD<(1)> self, double v) -> VectorInput1D
2610 this = _IMP_algebra.new_VectorInput1D(*args)
2611 try: self.this.append(this)
2612 except: self.this = this
2613 __swig_destroy__ = _IMP_algebra.delete_VectorInput1D
2614 __del__ =
lambda self :
None;
2615 VectorInput1D_swigregister = _IMP_algebra.VectorInput1D_swigregister
2616 VectorInput1D_swigregister(VectorInput1D)
2619 """Proxy of C++ IMP::algebra::VectorInputD<(2)> class"""
2620 __swig_setmethods__ = {}
2621 for _s
in [Vector2D,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2622 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorInput2D, name, value)
2623 __swig_getmethods__ = {}
2624 for _s
in [Vector2D,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2625 __getattr__ =
lambda self, name: _swig_getattr(self, VectorInput2D, name)
2626 def __init__(self, *args):
2628 __init__(IMP::algebra::VectorInputD<(2)> self, Vector2D v) -> VectorInput2D
2629 __init__(IMP::algebra::VectorInputD<(2)> self, IMP::Floats const & v) -> VectorInput2D
2631 this = _IMP_algebra.new_VectorInput2D(*args)
2632 try: self.this.append(this)
2633 except: self.this = this
2635 """__str__(VectorInput2D self) -> std::string"""
2636 return _IMP_algebra.VectorInput2D___str__(self)
2639 """__repr__(VectorInput2D self) -> std::string"""
2640 return _IMP_algebra.VectorInput2D___repr__(self)
2642 def __cmp__(self, *args):
2643 """__cmp__(VectorInput2D self, VectorInput2D arg2) -> int"""
2644 return _IMP_algebra.VectorInput2D___cmp__(self, *args)
2646 __swig_destroy__ = _IMP_algebra.delete_VectorInput2D
2647 __del__ =
lambda self :
None;
2648 VectorInput2D_swigregister = _IMP_algebra.VectorInput2D_swigregister
2649 VectorInput2D_swigregister(VectorInput2D)
2652 """Proxy of C++ IMP::algebra::VectorInputD<(3)> class"""
2653 __swig_setmethods__ = {}
2654 for _s
in [Vector3D,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2655 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorInput3D, name, value)
2656 __swig_getmethods__ = {}
2657 for _s
in [Vector3D,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2658 __getattr__ =
lambda self, name: _swig_getattr(self, VectorInput3D, name)
2659 def __init__(self, *args):
2661 __init__(IMP::algebra::VectorInputD<(3)> self, Vector3D v) -> VectorInput3D
2662 __init__(IMP::algebra::VectorInputD<(3)> self, IMP::Floats const & v) -> VectorInput3D
2664 this = _IMP_algebra.new_VectorInput3D(*args)
2665 try: self.this.append(this)
2666 except: self.this = this
2668 """__str__(VectorInput3D self) -> std::string"""
2669 return _IMP_algebra.VectorInput3D___str__(self)
2672 """__repr__(VectorInput3D self) -> std::string"""
2673 return _IMP_algebra.VectorInput3D___repr__(self)
2675 def __cmp__(self, *args):
2676 """__cmp__(VectorInput3D self, VectorInput3D arg2) -> int"""
2677 return _IMP_algebra.VectorInput3D___cmp__(self, *args)
2679 __swig_destroy__ = _IMP_algebra.delete_VectorInput3D
2680 __del__ =
lambda self :
None;
2681 VectorInput3D_swigregister = _IMP_algebra.VectorInput3D_swigregister
2682 VectorInput3D_swigregister(VectorInput3D)
2685 """Proxy of C++ IMP::algebra::VectorInputD<(4)> class"""
2686 __swig_setmethods__ = {}
2687 for _s
in [Vector4D,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2688 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorInput4D, name, value)
2689 __swig_getmethods__ = {}
2690 for _s
in [Vector4D,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2691 __getattr__ =
lambda self, name: _swig_getattr(self, VectorInput4D, name)
2692 def __init__(self, *args):
2694 __init__(IMP::algebra::VectorInputD<(4)> self, Vector4D v) -> VectorInput4D
2695 __init__(IMP::algebra::VectorInputD<(4)> self, IMP::Floats const & v) -> VectorInput4D
2697 this = _IMP_algebra.new_VectorInput4D(*args)
2698 try: self.this.append(this)
2699 except: self.this = this
2701 """__str__(VectorInput4D self) -> std::string"""
2702 return _IMP_algebra.VectorInput4D___str__(self)
2705 """__repr__(VectorInput4D self) -> std::string"""
2706 return _IMP_algebra.VectorInput4D___repr__(self)
2708 def __cmp__(self, *args):
2709 """__cmp__(VectorInput4D self, VectorInput4D arg2) -> int"""
2710 return _IMP_algebra.VectorInput4D___cmp__(self, *args)
2712 __swig_destroy__ = _IMP_algebra.delete_VectorInput4D
2713 __del__ =
lambda self :
None;
2714 VectorInput4D_swigregister = _IMP_algebra.VectorInput4D_swigregister
2715 VectorInput4D_swigregister(VectorInput4D)
2718 """Proxy of C++ IMP::algebra::VectorInputD<(5)> class"""
2719 __swig_setmethods__ = {}
2720 for _s
in [Vector5D,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2721 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorInput5D, name, value)
2722 __swig_getmethods__ = {}
2723 for _s
in [Vector5D,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2724 __getattr__ =
lambda self, name: _swig_getattr(self, VectorInput5D, name)
2725 def __init__(self, *args):
2727 __init__(IMP::algebra::VectorInputD<(5)> self, Vector5D v) -> VectorInput5D
2728 __init__(IMP::algebra::VectorInputD<(5)> self, IMP::Floats const & v) -> VectorInput5D
2730 this = _IMP_algebra.new_VectorInput5D(*args)
2731 try: self.this.append(this)
2732 except: self.this = this
2734 """__str__(VectorInput5D self) -> std::string"""
2735 return _IMP_algebra.VectorInput5D___str__(self)
2738 """__repr__(VectorInput5D self) -> std::string"""
2739 return _IMP_algebra.VectorInput5D___repr__(self)
2741 def __cmp__(self, *args):
2742 """__cmp__(VectorInput5D self, VectorInput5D arg2) -> int"""
2743 return _IMP_algebra.VectorInput5D___cmp__(self, *args)
2745 __swig_destroy__ = _IMP_algebra.delete_VectorInput5D
2746 __del__ =
lambda self :
None;
2747 VectorInput5D_swigregister = _IMP_algebra.VectorInput5D_swigregister
2748 VectorInput5D_swigregister(VectorInput5D)
2751 """Proxy of C++ IMP::algebra::VectorInputD<(6)> class"""
2752 __swig_setmethods__ = {}
2753 for _s
in [Vector6D,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2754 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorInput6D, name, value)
2755 __swig_getmethods__ = {}
2756 for _s
in [Vector6D,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2757 __getattr__ =
lambda self, name: _swig_getattr(self, VectorInput6D, name)
2758 def __init__(self, *args):
2760 __init__(IMP::algebra::VectorInputD<(6)> self, Vector6D v) -> VectorInput6D
2761 __init__(IMP::algebra::VectorInputD<(6)> self, IMP::Floats const & v) -> VectorInput6D
2763 this = _IMP_algebra.new_VectorInput6D(*args)
2764 try: self.this.append(this)
2765 except: self.this = this
2767 """__str__(VectorInput6D self) -> std::string"""
2768 return _IMP_algebra.VectorInput6D___str__(self)
2771 """__repr__(VectorInput6D self) -> std::string"""
2772 return _IMP_algebra.VectorInput6D___repr__(self)
2774 def __cmp__(self, *args):
2775 """__cmp__(VectorInput6D self, VectorInput6D arg2) -> int"""
2776 return _IMP_algebra.VectorInput6D___cmp__(self, *args)
2778 __swig_destroy__ = _IMP_algebra.delete_VectorInput6D
2779 __del__ =
lambda self :
None;
2780 VectorInput6D_swigregister = _IMP_algebra.VectorInput6D_swigregister
2781 VectorInput6D_swigregister(VectorInput6D)
2784 """Proxy of C++ IMP::algebra::VectorInputD<(-1)> class"""
2785 __swig_setmethods__ = {}
2786 for _s
in [VectorKD,IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2787 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorInputKD, name, value)
2788 __swig_getmethods__ = {}
2789 for _s
in [VectorKD,IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2790 __getattr__ =
lambda self, name: _swig_getattr(self, VectorInputKD, name)
2791 def __init__(self, *args):
2793 __init__(IMP::algebra::VectorInputD<(-1)> self, VectorKD v) -> VectorInputKD
2794 __init__(IMP::algebra::VectorInputD<(-1)> self, IMP::Floats const & v) -> VectorInputKD
2796 this = _IMP_algebra.new_VectorInputKD(*args)
2797 try: self.this.append(this)
2798 except: self.this = this
2800 """__str__(VectorInputKD self) -> std::string"""
2801 return _IMP_algebra.VectorInputKD___str__(self)
2804 """__repr__(VectorInputKD self) -> std::string"""
2805 return _IMP_algebra.VectorInputKD___repr__(self)
2807 def __cmp__(self, *args):
2808 """__cmp__(VectorInputKD self, VectorInputKD arg2) -> int"""
2809 return _IMP_algebra.VectorInputKD___cmp__(self, *args)
2811 __swig_destroy__ = _IMP_algebra.delete_VectorInputKD
2812 __del__ =
lambda self :
None;
2813 VectorInputKD_swigregister = _IMP_algebra.VectorInputKD_swigregister
2814 VectorInputKD_swigregister(VectorInputKD)
2817 """Proxy of C++ IMP::algebra::BoundingBoxD<(1)> class"""
2818 __swig_setmethods__ = {}
2819 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox1D, name, value)
2820 __swig_getmethods__ = {}
2821 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox1D, name)
2822 def __init__(self, *args):
2824 __init__(IMP::algebra::BoundingBoxD<(1)> self) -> BoundingBox1D
2825 __init__(IMP::algebra::BoundingBoxD<(1)> self, unsigned int d) -> BoundingBox1D
2826 __init__(IMP::algebra::BoundingBoxD<(1)> self, VectorInput1D lb, VectorInput1D ub) -> BoundingBox1D
2827 __init__(IMP::algebra::BoundingBoxD<(1)> self, VectorInput1D v) -> BoundingBox1D
2828 __init__(IMP::algebra::BoundingBoxD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & points) -> BoundingBox1D
2830 this = _IMP_algebra.new_BoundingBox1D(*args)
2831 try: self.this.append(this)
2832 except: self.this = this
2833 def get_dimension(self):
2834 """get_dimension(BoundingBox1D self) -> unsigned int"""
2835 return _IMP_algebra.BoundingBox1D_get_dimension(self)
2837 def get_corner(self, *args):
2838 """get_corner(BoundingBox1D self, unsigned int i) -> Vector1D"""
2839 return _IMP_algebra.BoundingBox1D_get_corner(self, *args)
2841 def get_contains(self, *args):
2843 get_contains(BoundingBox1D self, Vector1D o) -> bool
2844 get_contains(BoundingBox1D self, BoundingBox1D bb) -> bool
2846 return _IMP_algebra.BoundingBox1D_get_contains(self, *args)
2848 def show(self, *args):
2850 show(BoundingBox1D self, _ostream out=std::cout)
2851 show(BoundingBox1D self)
2853 return _IMP_algebra.BoundingBox1D_show(self, *args)
2856 """__str__(BoundingBox1D self) -> std::string"""
2857 return _IMP_algebra.BoundingBox1D___str__(self)
2860 """__repr__(BoundingBox1D self) -> std::string"""
2861 return _IMP_algebra.BoundingBox1D___repr__(self)
2863 def __cmp__(self, *args):
2864 """__cmp__(BoundingBox1D self, BoundingBox1D arg2) -> int"""
2865 return _IMP_algebra.BoundingBox1D___cmp__(self, *args)
2867 def __getitem__(self, *args):
2868 """__getitem__(BoundingBox1D self, unsigned int index) -> Vector1D"""
2869 return _IMP_algebra.BoundingBox1D___getitem__(self, *args)
2871 def __iadd__(self, *args):
2872 _IMP_algebra.BoundingBox1D___iadd__(self, *args)
2876 def __add__(self, *args):
2877 """__add__(BoundingBox1D self, BoundingBox1D o)"""
2878 return _IMP_algebra.BoundingBox1D___add__(self, *args)
2881 """__len__(BoundingBox1D self) -> unsigned int"""
2882 return _IMP_algebra.BoundingBox1D___len__(self)
2884 __swig_destroy__ = _IMP_algebra.delete_BoundingBox1D
2885 __del__ =
lambda self :
None;
2886 BoundingBox1D_swigregister = _IMP_algebra.BoundingBox1D_swigregister
2887 BoundingBox1D_swigregister(BoundingBox1D)
2890 """Proxy of C++ IMP::algebra::BoundingBoxD<(2)> class"""
2891 __swig_setmethods__ = {}
2892 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox2D, name, value)
2893 __swig_getmethods__ = {}
2894 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox2D, name)
2895 def __init__(self, *args):
2897 __init__(IMP::algebra::BoundingBoxD<(2)> self) -> BoundingBox2D
2898 __init__(IMP::algebra::BoundingBoxD<(2)> self, unsigned int d) -> BoundingBox2D
2899 __init__(IMP::algebra::BoundingBoxD<(2)> self, VectorInput2D lb, VectorInput2D ub) -> BoundingBox2D
2900 __init__(IMP::algebra::BoundingBoxD<(2)> self, VectorInput2D v) -> BoundingBox2D
2901 __init__(IMP::algebra::BoundingBoxD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & points) -> BoundingBox2D
2903 this = _IMP_algebra.new_BoundingBox2D(*args)
2904 try: self.this.append(this)
2905 except: self.this = this
2906 def get_dimension(self):
2907 """get_dimension(BoundingBox2D self) -> unsigned int"""
2908 return _IMP_algebra.BoundingBox2D_get_dimension(self)
2910 def get_corner(self, *args):
2911 """get_corner(BoundingBox2D self, unsigned int i) -> Vector2D"""
2912 return _IMP_algebra.BoundingBox2D_get_corner(self, *args)
2914 def get_contains(self, *args):
2916 get_contains(BoundingBox2D self, Vector2D o) -> bool
2917 get_contains(BoundingBox2D self, BoundingBox2D bb) -> bool
2919 return _IMP_algebra.BoundingBox2D_get_contains(self, *args)
2921 def show(self, *args):
2923 show(BoundingBox2D self, _ostream out=std::cout)
2924 show(BoundingBox2D self)
2926 return _IMP_algebra.BoundingBox2D_show(self, *args)
2929 """__str__(BoundingBox2D self) -> std::string"""
2930 return _IMP_algebra.BoundingBox2D___str__(self)
2933 """__repr__(BoundingBox2D self) -> std::string"""
2934 return _IMP_algebra.BoundingBox2D___repr__(self)
2936 def __cmp__(self, *args):
2937 """__cmp__(BoundingBox2D self, BoundingBox2D arg2) -> int"""
2938 return _IMP_algebra.BoundingBox2D___cmp__(self, *args)
2940 def __getitem__(self, *args):
2941 """__getitem__(BoundingBox2D self, unsigned int index) -> Vector2D"""
2942 return _IMP_algebra.BoundingBox2D___getitem__(self, *args)
2944 def __iadd__(self, *args):
2945 _IMP_algebra.BoundingBox2D___iadd__(self, *args)
2949 def __add__(self, *args):
2950 """__add__(BoundingBox2D self, BoundingBox2D o)"""
2951 return _IMP_algebra.BoundingBox2D___add__(self, *args)
2954 """__len__(BoundingBox2D self) -> unsigned int"""
2955 return _IMP_algebra.BoundingBox2D___len__(self)
2957 __swig_destroy__ = _IMP_algebra.delete_BoundingBox2D
2958 __del__ =
lambda self :
None;
2959 BoundingBox2D_swigregister = _IMP_algebra.BoundingBox2D_swigregister
2960 BoundingBox2D_swigregister(BoundingBox2D)
2963 """Proxy of C++ IMP::algebra::BoundingBoxD<(3)> class"""
2964 __swig_setmethods__ = {}
2965 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox3D, name, value)
2966 __swig_getmethods__ = {}
2967 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox3D, name)
2968 def __init__(self, *args):
2970 __init__(IMP::algebra::BoundingBoxD<(3)> self) -> BoundingBox3D
2971 __init__(IMP::algebra::BoundingBoxD<(3)> self, unsigned int d) -> BoundingBox3D
2972 __init__(IMP::algebra::BoundingBoxD<(3)> self, VectorInput3D lb, VectorInput3D ub) -> BoundingBox3D
2973 __init__(IMP::algebra::BoundingBoxD<(3)> self, VectorInput3D v) -> BoundingBox3D
2974 __init__(IMP::algebra::BoundingBoxD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & points) -> BoundingBox3D
2976 this = _IMP_algebra.new_BoundingBox3D(*args)
2977 try: self.this.append(this)
2978 except: self.this = this
2979 def get_dimension(self):
2980 """get_dimension(BoundingBox3D self) -> unsigned int"""
2981 return _IMP_algebra.BoundingBox3D_get_dimension(self)
2983 def get_corner(self, *args):
2984 """get_corner(BoundingBox3D self, unsigned int i) -> Vector3D"""
2985 return _IMP_algebra.BoundingBox3D_get_corner(self, *args)
2987 def get_contains(self, *args):
2989 get_contains(BoundingBox3D self, Vector3D o) -> bool
2990 get_contains(BoundingBox3D self, BoundingBox3D bb) -> bool
2992 return _IMP_algebra.BoundingBox3D_get_contains(self, *args)
2994 def show(self, *args):
2996 show(BoundingBox3D self, _ostream out=std::cout)
2997 show(BoundingBox3D self)
2999 return _IMP_algebra.BoundingBox3D_show(self, *args)
3002 """__str__(BoundingBox3D self) -> std::string"""
3003 return _IMP_algebra.BoundingBox3D___str__(self)
3006 """__repr__(BoundingBox3D self) -> std::string"""
3007 return _IMP_algebra.BoundingBox3D___repr__(self)
3009 def __cmp__(self, *args):
3010 """__cmp__(BoundingBox3D self, BoundingBox3D arg2) -> int"""
3011 return _IMP_algebra.BoundingBox3D___cmp__(self, *args)
3013 def __getitem__(self, *args):
3014 """__getitem__(BoundingBox3D self, unsigned int index) -> Vector3D"""
3015 return _IMP_algebra.BoundingBox3D___getitem__(self, *args)
3017 def __iadd__(self, *args):
3018 _IMP_algebra.BoundingBox3D___iadd__(self, *args)
3022 def __add__(self, *args):
3023 """__add__(BoundingBox3D self, BoundingBox3D o)"""
3024 return _IMP_algebra.BoundingBox3D___add__(self, *args)
3027 """__len__(BoundingBox3D self) -> unsigned int"""
3028 return _IMP_algebra.BoundingBox3D___len__(self)
3030 __swig_destroy__ = _IMP_algebra.delete_BoundingBox3D
3031 __del__ =
lambda self :
None;
3032 BoundingBox3D_swigregister = _IMP_algebra.BoundingBox3D_swigregister
3033 BoundingBox3D_swigregister(BoundingBox3D)
3036 """Proxy of C++ IMP::algebra::BoundingBoxD<(4)> class"""
3037 __swig_setmethods__ = {}
3038 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox4D, name, value)
3039 __swig_getmethods__ = {}
3040 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox4D, name)
3041 def __init__(self, *args):
3043 __init__(IMP::algebra::BoundingBoxD<(4)> self) -> BoundingBox4D
3044 __init__(IMP::algebra::BoundingBoxD<(4)> self, unsigned int d) -> BoundingBox4D
3045 __init__(IMP::algebra::BoundingBoxD<(4)> self, VectorInput4D lb, VectorInput4D ub) -> BoundingBox4D
3046 __init__(IMP::algebra::BoundingBoxD<(4)> self, VectorInput4D v) -> BoundingBox4D
3047 __init__(IMP::algebra::BoundingBoxD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & points) -> BoundingBox4D
3049 this = _IMP_algebra.new_BoundingBox4D(*args)
3050 try: self.this.append(this)
3051 except: self.this = this
3052 def get_dimension(self):
3053 """get_dimension(BoundingBox4D self) -> unsigned int"""
3054 return _IMP_algebra.BoundingBox4D_get_dimension(self)
3056 def get_corner(self, *args):
3057 """get_corner(BoundingBox4D self, unsigned int i) -> Vector4D"""
3058 return _IMP_algebra.BoundingBox4D_get_corner(self, *args)
3060 def get_contains(self, *args):
3062 get_contains(BoundingBox4D self, Vector4D o) -> bool
3063 get_contains(BoundingBox4D self, BoundingBox4D bb) -> bool
3065 return _IMP_algebra.BoundingBox4D_get_contains(self, *args)
3067 def show(self, *args):
3069 show(BoundingBox4D self, _ostream out=std::cout)
3070 show(BoundingBox4D self)
3072 return _IMP_algebra.BoundingBox4D_show(self, *args)
3075 """__str__(BoundingBox4D self) -> std::string"""
3076 return _IMP_algebra.BoundingBox4D___str__(self)
3079 """__repr__(BoundingBox4D self) -> std::string"""
3080 return _IMP_algebra.BoundingBox4D___repr__(self)
3082 def __cmp__(self, *args):
3083 """__cmp__(BoundingBox4D self, BoundingBox4D arg2) -> int"""
3084 return _IMP_algebra.BoundingBox4D___cmp__(self, *args)
3086 def __getitem__(self, *args):
3087 """__getitem__(BoundingBox4D self, unsigned int index) -> Vector4D"""
3088 return _IMP_algebra.BoundingBox4D___getitem__(self, *args)
3090 def __iadd__(self, *args):
3091 _IMP_algebra.BoundingBox4D___iadd__(self, *args)
3095 def __add__(self, *args):
3096 """__add__(BoundingBox4D self, BoundingBox4D o)"""
3097 return _IMP_algebra.BoundingBox4D___add__(self, *args)
3100 """__len__(BoundingBox4D self) -> unsigned int"""
3101 return _IMP_algebra.BoundingBox4D___len__(self)
3103 __swig_destroy__ = _IMP_algebra.delete_BoundingBox4D
3104 __del__ =
lambda self :
None;
3105 BoundingBox4D_swigregister = _IMP_algebra.BoundingBox4D_swigregister
3106 BoundingBox4D_swigregister(BoundingBox4D)
3109 """Proxy of C++ IMP::algebra::BoundingBoxD<(5)> class"""
3110 __swig_setmethods__ = {}
3111 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox5D, name, value)
3112 __swig_getmethods__ = {}
3113 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox5D, name)
3114 def __init__(self, *args):
3116 __init__(IMP::algebra::BoundingBoxD<(5)> self) -> BoundingBox5D
3117 __init__(IMP::algebra::BoundingBoxD<(5)> self, unsigned int d) -> BoundingBox5D
3118 __init__(IMP::algebra::BoundingBoxD<(5)> self, VectorInput5D lb, VectorInput5D ub) -> BoundingBox5D
3119 __init__(IMP::algebra::BoundingBoxD<(5)> self, VectorInput5D v) -> BoundingBox5D
3120 __init__(IMP::algebra::BoundingBoxD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & points) -> BoundingBox5D
3122 this = _IMP_algebra.new_BoundingBox5D(*args)
3123 try: self.this.append(this)
3124 except: self.this = this
3125 def get_dimension(self):
3126 """get_dimension(BoundingBox5D self) -> unsigned int"""
3127 return _IMP_algebra.BoundingBox5D_get_dimension(self)
3129 def get_corner(self, *args):
3130 """get_corner(BoundingBox5D self, unsigned int i) -> Vector5D"""
3131 return _IMP_algebra.BoundingBox5D_get_corner(self, *args)
3133 def get_contains(self, *args):
3135 get_contains(BoundingBox5D self, Vector5D o) -> bool
3136 get_contains(BoundingBox5D self, BoundingBox5D bb) -> bool
3138 return _IMP_algebra.BoundingBox5D_get_contains(self, *args)
3140 def show(self, *args):
3142 show(BoundingBox5D self, _ostream out=std::cout)
3143 show(BoundingBox5D self)
3145 return _IMP_algebra.BoundingBox5D_show(self, *args)
3148 """__str__(BoundingBox5D self) -> std::string"""
3149 return _IMP_algebra.BoundingBox5D___str__(self)
3152 """__repr__(BoundingBox5D self) -> std::string"""
3153 return _IMP_algebra.BoundingBox5D___repr__(self)
3155 def __cmp__(self, *args):
3156 """__cmp__(BoundingBox5D self, BoundingBox5D arg2) -> int"""
3157 return _IMP_algebra.BoundingBox5D___cmp__(self, *args)
3159 def __getitem__(self, *args):
3160 """__getitem__(BoundingBox5D self, unsigned int index) -> Vector5D"""
3161 return _IMP_algebra.BoundingBox5D___getitem__(self, *args)
3163 def __iadd__(self, *args):
3164 _IMP_algebra.BoundingBox5D___iadd__(self, *args)
3168 def __add__(self, *args):
3169 """__add__(BoundingBox5D self, BoundingBox5D o)"""
3170 return _IMP_algebra.BoundingBox5D___add__(self, *args)
3173 """__len__(BoundingBox5D self) -> unsigned int"""
3174 return _IMP_algebra.BoundingBox5D___len__(self)
3176 __swig_destroy__ = _IMP_algebra.delete_BoundingBox5D
3177 __del__ =
lambda self :
None;
3178 BoundingBox5D_swigregister = _IMP_algebra.BoundingBox5D_swigregister
3179 BoundingBox5D_swigregister(BoundingBox5D)
3182 """Proxy of C++ IMP::algebra::BoundingBoxD<(6)> class"""
3183 __swig_setmethods__ = {}
3184 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox6D, name, value)
3185 __swig_getmethods__ = {}
3186 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox6D, name)
3187 def __init__(self, *args):
3189 __init__(IMP::algebra::BoundingBoxD<(6)> self) -> BoundingBox6D
3190 __init__(IMP::algebra::BoundingBoxD<(6)> self, unsigned int d) -> BoundingBox6D
3191 __init__(IMP::algebra::BoundingBoxD<(6)> self, VectorInput6D lb, VectorInput6D ub) -> BoundingBox6D
3192 __init__(IMP::algebra::BoundingBoxD<(6)> self, VectorInput6D v) -> BoundingBox6D
3193 __init__(IMP::algebra::BoundingBoxD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & points) -> BoundingBox6D
3195 this = _IMP_algebra.new_BoundingBox6D(*args)
3196 try: self.this.append(this)
3197 except: self.this = this
3198 def get_dimension(self):
3199 """get_dimension(BoundingBox6D self) -> unsigned int"""
3200 return _IMP_algebra.BoundingBox6D_get_dimension(self)
3202 def get_corner(self, *args):
3203 """get_corner(BoundingBox6D self, unsigned int i) -> Vector6D"""
3204 return _IMP_algebra.BoundingBox6D_get_corner(self, *args)
3206 def get_contains(self, *args):
3208 get_contains(BoundingBox6D self, Vector6D o) -> bool
3209 get_contains(BoundingBox6D self, BoundingBox6D bb) -> bool
3211 return _IMP_algebra.BoundingBox6D_get_contains(self, *args)
3213 def show(self, *args):
3215 show(BoundingBox6D self, _ostream out=std::cout)
3216 show(BoundingBox6D self)
3218 return _IMP_algebra.BoundingBox6D_show(self, *args)
3221 """__str__(BoundingBox6D self) -> std::string"""
3222 return _IMP_algebra.BoundingBox6D___str__(self)
3225 """__repr__(BoundingBox6D self) -> std::string"""
3226 return _IMP_algebra.BoundingBox6D___repr__(self)
3228 def __cmp__(self, *args):
3229 """__cmp__(BoundingBox6D self, BoundingBox6D arg2) -> int"""
3230 return _IMP_algebra.BoundingBox6D___cmp__(self, *args)
3232 def __getitem__(self, *args):
3233 """__getitem__(BoundingBox6D self, unsigned int index) -> Vector6D"""
3234 return _IMP_algebra.BoundingBox6D___getitem__(self, *args)
3236 def __iadd__(self, *args):
3237 _IMP_algebra.BoundingBox6D___iadd__(self, *args)
3241 def __add__(self, *args):
3242 """__add__(BoundingBox6D self, BoundingBox6D o)"""
3243 return _IMP_algebra.BoundingBox6D___add__(self, *args)
3246 """__len__(BoundingBox6D self) -> unsigned int"""
3247 return _IMP_algebra.BoundingBox6D___len__(self)
3249 __swig_destroy__ = _IMP_algebra.delete_BoundingBox6D
3250 __del__ =
lambda self :
None;
3251 BoundingBox6D_swigregister = _IMP_algebra.BoundingBox6D_swigregister
3252 BoundingBox6D_swigregister(BoundingBox6D)
3255 """Proxy of C++ IMP::algebra::BoundingBoxD<(-1)> class"""
3256 __swig_setmethods__ = {}
3257 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBoxKD, name, value)
3258 __swig_getmethods__ = {}
3259 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBoxKD, name)
3260 def __init__(self, *args):
3262 __init__(IMP::algebra::BoundingBoxD<(-1)> self) -> BoundingBoxKD
3263 __init__(IMP::algebra::BoundingBoxD<(-1)> self, unsigned int d) -> BoundingBoxKD
3264 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorInputKD lb, VectorInputKD ub) -> BoundingBoxKD
3265 __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorInputKD v) -> BoundingBoxKD
3266 __init__(IMP::algebra::BoundingBoxD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & points) -> BoundingBoxKD
3268 this = _IMP_algebra.new_BoundingBoxKD(*args)
3269 try: self.this.append(this)
3270 except: self.this = this
3271 def get_dimension(self):
3272 """get_dimension(BoundingBoxKD self) -> unsigned int"""
3273 return _IMP_algebra.BoundingBoxKD_get_dimension(self)
3275 def get_corner(self, *args):
3276 """get_corner(BoundingBoxKD self, unsigned int i) -> VectorKD"""
3277 return _IMP_algebra.BoundingBoxKD_get_corner(self, *args)
3279 def get_contains(self, *args):
3281 get_contains(BoundingBoxKD self, VectorKD o) -> bool
3282 get_contains(BoundingBoxKD self, BoundingBoxKD bb) -> bool
3284 return _IMP_algebra.BoundingBoxKD_get_contains(self, *args)
3286 def show(self, *args):
3288 show(BoundingBoxKD self, _ostream out=std::cout)
3289 show(BoundingBoxKD self)
3291 return _IMP_algebra.BoundingBoxKD_show(self, *args)
3294 """__str__(BoundingBoxKD self) -> std::string"""
3295 return _IMP_algebra.BoundingBoxKD___str__(self)
3298 """__repr__(BoundingBoxKD self) -> std::string"""
3299 return _IMP_algebra.BoundingBoxKD___repr__(self)
3301 def __cmp__(self, *args):
3302 """__cmp__(BoundingBoxKD self, BoundingBoxKD arg2) -> int"""
3303 return _IMP_algebra.BoundingBoxKD___cmp__(self, *args)
3305 def __getitem__(self, *args):
3306 """__getitem__(BoundingBoxKD self, unsigned int index) -> VectorKD"""
3307 return _IMP_algebra.BoundingBoxKD___getitem__(self, *args)
3309 def __iadd__(self, *args):
3310 _IMP_algebra.BoundingBoxKD___iadd__(self, *args)
3314 def __add__(self, *args):
3315 """__add__(BoundingBoxKD self, BoundingBoxKD o)"""
3316 return _IMP_algebra.BoundingBoxKD___add__(self, *args)
3319 """__len__(BoundingBoxKD self) -> unsigned int"""
3320 return _IMP_algebra.BoundingBoxKD___len__(self)
3322 __swig_destroy__ = _IMP_algebra.delete_BoundingBoxKD
3323 __del__ =
lambda self :
None;
3324 BoundingBoxKD_swigregister = _IMP_algebra.BoundingBoxKD_swigregister
3325 BoundingBoxKD_swigregister(BoundingBoxKD)
3327 class Sphere1D(_GeometricPrimitive1D):
3328 """Proxy of C++ IMP::algebra::SphereD<(1)> class"""
3329 __swig_setmethods__ = {}
3330 for _s
in [_GeometricPrimitive1D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3331 __setattr__ =
lambda self, name, value: _swig_setattr(self, Sphere1D, name, value)
3332 __swig_getmethods__ = {}
3333 for _s
in [_GeometricPrimitive1D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3334 __getattr__ =
lambda self, name: _swig_getattr(self, Sphere1D, name)
3335 def __init__(self, *args):
3337 __init__(IMP::algebra::SphereD<(1)> self) -> Sphere1D
3338 __init__(IMP::algebra::SphereD<(1)> self, Vector1D center, double radius) -> Sphere1D
3340 this = _IMP_algebra.new_Sphere1D(*args)
3341 try: self.this.append(this)
3342 except: self.this = this
3343 def get_radius(self):
3344 """get_radius(Sphere1D self) -> double"""
3345 return _IMP_algebra.Sphere1D_get_radius(self)
3347 def get_center(self):
3348 """get_center(Sphere1D self) -> Vector1D"""
3349 return _IMP_algebra.Sphere1D_get_center(self)
3351 def get_contains(self, *args):
3353 get_contains(Sphere1D self, Sphere1D o) -> bool
3354 get_contains(Sphere1D self, Vector1D p) -> bool
3356 return _IMP_algebra.Sphere1D_get_contains(self, *args)
3358 def show(self, *args):
3360 show(Sphere1D self, _ostream out=std::cout)
3363 return _IMP_algebra.Sphere1D_show(self, *args)
3365 def get_dimension(self):
3366 """get_dimension(Sphere1D self) -> unsigned int"""
3367 return _IMP_algebra.Sphere1D_get_dimension(self)
3370 """__str__(Sphere1D self) -> std::string"""
3371 return _IMP_algebra.Sphere1D___str__(self)
3374 """__repr__(Sphere1D self) -> std::string"""
3375 return _IMP_algebra.Sphere1D___repr__(self)
3377 def __cmp__(self, *args):
3378 """__cmp__(Sphere1D self, Sphere1D arg2) -> int"""
3379 return _IMP_algebra.Sphere1D___cmp__(self, *args)
3381 __swig_destroy__ = _IMP_algebra.delete_Sphere1D
3382 __del__ =
lambda self :
None;
3383 Sphere1D_swigregister = _IMP_algebra.Sphere1D_swigregister
3384 Sphere1D_swigregister(Sphere1D)
3386 class Sphere2D(_GeometricPrimitive2D):
3387 """Proxy of C++ IMP::algebra::SphereD<(2)> class"""
3388 __swig_setmethods__ = {}
3389 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3390 __setattr__ =
lambda self, name, value: _swig_setattr(self, Sphere2D, name, value)
3391 __swig_getmethods__ = {}
3392 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3393 __getattr__ =
lambda self, name: _swig_getattr(self, Sphere2D, name)
3394 def __init__(self, *args):
3396 __init__(IMP::algebra::SphereD<(2)> self) -> Sphere2D
3397 __init__(IMP::algebra::SphereD<(2)> self, Vector2D center, double radius) -> Sphere2D
3399 this = _IMP_algebra.new_Sphere2D(*args)
3400 try: self.this.append(this)
3401 except: self.this = this
3402 def get_radius(self):
3403 """get_radius(Sphere2D self) -> double"""
3404 return _IMP_algebra.Sphere2D_get_radius(self)
3406 def get_center(self):
3407 """get_center(Sphere2D self) -> Vector2D"""
3408 return _IMP_algebra.Sphere2D_get_center(self)
3410 def get_contains(self, *args):
3412 get_contains(Sphere2D self, Sphere2D o) -> bool
3413 get_contains(Sphere2D self, Vector2D p) -> bool
3415 return _IMP_algebra.Sphere2D_get_contains(self, *args)
3417 def show(self, *args):
3419 show(Sphere2D self, _ostream out=std::cout)
3422 return _IMP_algebra.Sphere2D_show(self, *args)
3424 def get_dimension(self):
3425 """get_dimension(Sphere2D self) -> unsigned int"""
3426 return _IMP_algebra.Sphere2D_get_dimension(self)
3429 """__str__(Sphere2D self) -> std::string"""
3430 return _IMP_algebra.Sphere2D___str__(self)
3433 """__repr__(Sphere2D self) -> std::string"""
3434 return _IMP_algebra.Sphere2D___repr__(self)
3436 def __cmp__(self, *args):
3437 """__cmp__(Sphere2D self, Sphere2D arg2) -> int"""
3438 return _IMP_algebra.Sphere2D___cmp__(self, *args)
3440 __swig_destroy__ = _IMP_algebra.delete_Sphere2D
3441 __del__ =
lambda self :
None;
3442 Sphere2D_swigregister = _IMP_algebra.Sphere2D_swigregister
3443 Sphere2D_swigregister(Sphere2D)
3445 class Sphere3D(_GeometricPrimitive3D):
3446 """Proxy of C++ IMP::algebra::SphereD<(3)> class"""
3447 __swig_setmethods__ = {}
3448 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3449 __setattr__ =
lambda self, name, value: _swig_setattr(self, Sphere3D, name, value)
3450 __swig_getmethods__ = {}
3451 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3452 __getattr__ =
lambda self, name: _swig_getattr(self, Sphere3D, name)
3453 def __init__(self, *args):
3455 __init__(IMP::algebra::SphereD<(3)> self) -> Sphere3D
3456 __init__(IMP::algebra::SphereD<(3)> self, Vector3D center, double radius) -> Sphere3D
3458 this = _IMP_algebra.new_Sphere3D(*args)
3459 try: self.this.append(this)
3460 except: self.this = this
3461 def get_radius(self):
3462 """get_radius(Sphere3D self) -> double"""
3463 return _IMP_algebra.Sphere3D_get_radius(self)
3465 def get_center(self):
3466 """get_center(Sphere3D self) -> Vector3D"""
3467 return _IMP_algebra.Sphere3D_get_center(self)
3469 def get_contains(self, *args):
3471 get_contains(Sphere3D self, Sphere3D o) -> bool
3472 get_contains(Sphere3D self, Vector3D p) -> bool
3474 return _IMP_algebra.Sphere3D_get_contains(self, *args)
3476 def show(self, *args):
3478 show(Sphere3D self, _ostream out=std::cout)
3481 return _IMP_algebra.Sphere3D_show(self, *args)
3483 def get_dimension(self):
3484 """get_dimension(Sphere3D self) -> unsigned int"""
3485 return _IMP_algebra.Sphere3D_get_dimension(self)
3488 """__str__(Sphere3D self) -> std::string"""
3489 return _IMP_algebra.Sphere3D___str__(self)
3492 """__repr__(Sphere3D self) -> std::string"""
3493 return _IMP_algebra.Sphere3D___repr__(self)
3495 def __cmp__(self, *args):
3496 """__cmp__(Sphere3D self, Sphere3D arg2) -> int"""
3497 return _IMP_algebra.Sphere3D___cmp__(self, *args)
3499 __swig_destroy__ = _IMP_algebra.delete_Sphere3D
3500 __del__ =
lambda self :
None;
3501 Sphere3D_swigregister = _IMP_algebra.Sphere3D_swigregister
3502 Sphere3D_swigregister(Sphere3D)
3504 class Sphere4D(_GeometricPrimitive4D):
3505 """Proxy of C++ IMP::algebra::SphereD<(4)> class"""
3506 __swig_setmethods__ = {}
3507 for _s
in [_GeometricPrimitive4D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3508 __setattr__ =
lambda self, name, value: _swig_setattr(self, Sphere4D, name, value)
3509 __swig_getmethods__ = {}
3510 for _s
in [_GeometricPrimitive4D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3511 __getattr__ =
lambda self, name: _swig_getattr(self, Sphere4D, name)
3512 def __init__(self, *args):
3514 __init__(IMP::algebra::SphereD<(4)> self) -> Sphere4D
3515 __init__(IMP::algebra::SphereD<(4)> self, Vector4D center, double radius) -> Sphere4D
3517 this = _IMP_algebra.new_Sphere4D(*args)
3518 try: self.this.append(this)
3519 except: self.this = this
3520 def get_radius(self):
3521 """get_radius(Sphere4D self) -> double"""
3522 return _IMP_algebra.Sphere4D_get_radius(self)
3524 def get_center(self):
3525 """get_center(Sphere4D self) -> Vector4D"""
3526 return _IMP_algebra.Sphere4D_get_center(self)
3528 def get_contains(self, *args):
3530 get_contains(Sphere4D self, Sphere4D o) -> bool
3531 get_contains(Sphere4D self, Vector4D p) -> bool
3533 return _IMP_algebra.Sphere4D_get_contains(self, *args)
3535 def show(self, *args):
3537 show(Sphere4D self, _ostream out=std::cout)
3540 return _IMP_algebra.Sphere4D_show(self, *args)
3542 def get_dimension(self):
3543 """get_dimension(Sphere4D self) -> unsigned int"""
3544 return _IMP_algebra.Sphere4D_get_dimension(self)
3547 """__str__(Sphere4D self) -> std::string"""
3548 return _IMP_algebra.Sphere4D___str__(self)
3551 """__repr__(Sphere4D self) -> std::string"""
3552 return _IMP_algebra.Sphere4D___repr__(self)
3554 def __cmp__(self, *args):
3555 """__cmp__(Sphere4D self, Sphere4D arg2) -> int"""
3556 return _IMP_algebra.Sphere4D___cmp__(self, *args)
3558 __swig_destroy__ = _IMP_algebra.delete_Sphere4D
3559 __del__ =
lambda self :
None;
3560 Sphere4D_swigregister = _IMP_algebra.Sphere4D_swigregister
3561 Sphere4D_swigregister(Sphere4D)
3563 class Sphere5D(_GeometricPrimitive5D):
3564 """Proxy of C++ IMP::algebra::SphereD<(5)> class"""
3565 __swig_setmethods__ = {}
3566 for _s
in [_GeometricPrimitive5D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3567 __setattr__ =
lambda self, name, value: _swig_setattr(self, Sphere5D, name, value)
3568 __swig_getmethods__ = {}
3569 for _s
in [_GeometricPrimitive5D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3570 __getattr__ =
lambda self, name: _swig_getattr(self, Sphere5D, name)
3571 def __init__(self, *args):
3573 __init__(IMP::algebra::SphereD<(5)> self) -> Sphere5D
3574 __init__(IMP::algebra::SphereD<(5)> self, Vector5D center, double radius) -> Sphere5D
3576 this = _IMP_algebra.new_Sphere5D(*args)
3577 try: self.this.append(this)
3578 except: self.this = this
3579 def get_radius(self):
3580 """get_radius(Sphere5D self) -> double"""
3581 return _IMP_algebra.Sphere5D_get_radius(self)
3583 def get_center(self):
3584 """get_center(Sphere5D self) -> Vector5D"""
3585 return _IMP_algebra.Sphere5D_get_center(self)
3587 def get_contains(self, *args):
3589 get_contains(Sphere5D self, Sphere5D o) -> bool
3590 get_contains(Sphere5D self, Vector5D p) -> bool
3592 return _IMP_algebra.Sphere5D_get_contains(self, *args)
3594 def show(self, *args):
3596 show(Sphere5D self, _ostream out=std::cout)
3599 return _IMP_algebra.Sphere5D_show(self, *args)
3601 def get_dimension(self):
3602 """get_dimension(Sphere5D self) -> unsigned int"""
3603 return _IMP_algebra.Sphere5D_get_dimension(self)
3606 """__str__(Sphere5D self) -> std::string"""
3607 return _IMP_algebra.Sphere5D___str__(self)
3610 """__repr__(Sphere5D self) -> std::string"""
3611 return _IMP_algebra.Sphere5D___repr__(self)
3613 def __cmp__(self, *args):
3614 """__cmp__(Sphere5D self, Sphere5D arg2) -> int"""
3615 return _IMP_algebra.Sphere5D___cmp__(self, *args)
3617 __swig_destroy__ = _IMP_algebra.delete_Sphere5D
3618 __del__ =
lambda self :
None;
3619 Sphere5D_swigregister = _IMP_algebra.Sphere5D_swigregister
3620 Sphere5D_swigregister(Sphere5D)
3622 class Sphere6D(_GeometricPrimitive6D):
3623 """Proxy of C++ IMP::algebra::SphereD<(6)> class"""
3624 __swig_setmethods__ = {}
3625 for _s
in [_GeometricPrimitive6D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3626 __setattr__ =
lambda self, name, value: _swig_setattr(self, Sphere6D, name, value)
3627 __swig_getmethods__ = {}
3628 for _s
in [_GeometricPrimitive6D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3629 __getattr__ =
lambda self, name: _swig_getattr(self, Sphere6D, name)
3630 def __init__(self, *args):
3632 __init__(IMP::algebra::SphereD<(6)> self) -> Sphere6D
3633 __init__(IMP::algebra::SphereD<(6)> self, Vector6D center, double radius) -> Sphere6D
3635 this = _IMP_algebra.new_Sphere6D(*args)
3636 try: self.this.append(this)
3637 except: self.this = this
3638 def get_radius(self):
3639 """get_radius(Sphere6D self) -> double"""
3640 return _IMP_algebra.Sphere6D_get_radius(self)
3642 def get_center(self):
3643 """get_center(Sphere6D self) -> Vector6D"""
3644 return _IMP_algebra.Sphere6D_get_center(self)
3646 def get_contains(self, *args):
3648 get_contains(Sphere6D self, Sphere6D o) -> bool
3649 get_contains(Sphere6D self, Vector6D p) -> bool
3651 return _IMP_algebra.Sphere6D_get_contains(self, *args)
3653 def show(self, *args):
3655 show(Sphere6D self, _ostream out=std::cout)
3658 return _IMP_algebra.Sphere6D_show(self, *args)
3660 def get_dimension(self):
3661 """get_dimension(Sphere6D self) -> unsigned int"""
3662 return _IMP_algebra.Sphere6D_get_dimension(self)
3665 """__str__(Sphere6D self) -> std::string"""
3666 return _IMP_algebra.Sphere6D___str__(self)
3669 """__repr__(Sphere6D self) -> std::string"""
3670 return _IMP_algebra.Sphere6D___repr__(self)
3672 def __cmp__(self, *args):
3673 """__cmp__(Sphere6D self, Sphere6D arg2) -> int"""
3674 return _IMP_algebra.Sphere6D___cmp__(self, *args)
3676 __swig_destroy__ = _IMP_algebra.delete_Sphere6D
3677 __del__ =
lambda self :
None;
3678 Sphere6D_swigregister = _IMP_algebra.Sphere6D_swigregister
3679 Sphere6D_swigregister(Sphere6D)
3681 class SphereKD(_GeometricPrimitiveKD):
3682 """Proxy of C++ IMP::algebra::SphereD<(-1)> class"""
3683 __swig_setmethods__ = {}
3684 for _s
in [_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3685 __setattr__ =
lambda self, name, value: _swig_setattr(self, SphereKD, name, value)
3686 __swig_getmethods__ = {}
3687 for _s
in [_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3688 __getattr__ =
lambda self, name: _swig_getattr(self, SphereKD, name)
3689 def __init__(self, *args):
3691 __init__(IMP::algebra::SphereD<(-1)> self) -> SphereKD
3692 __init__(IMP::algebra::SphereD<(-1)> self, VectorKD center, double radius) -> SphereKD
3694 this = _IMP_algebra.new_SphereKD(*args)
3695 try: self.this.append(this)
3696 except: self.this = this
3697 def get_radius(self):
3698 """get_radius(SphereKD self) -> double"""
3699 return _IMP_algebra.SphereKD_get_radius(self)
3701 def get_center(self):
3702 """get_center(SphereKD self) -> VectorKD"""
3703 return _IMP_algebra.SphereKD_get_center(self)
3705 def get_contains(self, *args):
3707 get_contains(SphereKD self, SphereKD o) -> bool
3708 get_contains(SphereKD self, VectorKD p) -> bool
3710 return _IMP_algebra.SphereKD_get_contains(self, *args)
3712 def show(self, *args):
3714 show(SphereKD self, _ostream out=std::cout)
3717 return _IMP_algebra.SphereKD_show(self, *args)
3719 def get_dimension(self):
3720 """get_dimension(SphereKD self) -> unsigned int"""
3721 return _IMP_algebra.SphereKD_get_dimension(self)
3724 """__str__(SphereKD self) -> std::string"""
3725 return _IMP_algebra.SphereKD___str__(self)
3728 """__repr__(SphereKD self) -> std::string"""
3729 return _IMP_algebra.SphereKD___repr__(self)
3731 def __cmp__(self, *args):
3732 """__cmp__(SphereKD self, SphereKD arg2) -> int"""
3733 return _IMP_algebra.SphereKD___cmp__(self, *args)
3735 __swig_destroy__ = _IMP_algebra.delete_SphereKD
3736 __del__ =
lambda self :
None;
3737 SphereKD_swigregister = _IMP_algebra.SphereKD_swigregister
3738 SphereKD_swigregister(SphereKD)
3740 class ReferenceFrame3D(_object):
3741 """Proxy of C++ IMP::algebra::ReferenceFrame3D class"""
3742 __swig_setmethods__ = {}
3743 __setattr__ =
lambda self, name, value: _swig_setattr(self, ReferenceFrame3D, name, value)
3744 __swig_getmethods__ = {}
3745 __getattr__ =
lambda self, name: _swig_getattr(self, ReferenceFrame3D, name)
3746 def __init__(self, *args):
3748 __init__(IMP::algebra::ReferenceFrame3D self) -> ReferenceFrame3D
3749 __init__(IMP::algebra::ReferenceFrame3D self, Transformation3D tr) -> ReferenceFrame3D
3751 this = _IMP_algebra.new_ReferenceFrame3D(*args)
3752 try: self.this.append(this)
3753 except: self.this = this
3754 __swig_destroy__ = _IMP_algebra.delete_ReferenceFrame3D
3755 __del__ =
lambda self :
None;
3756 def get_transformation_to(self):
3757 """get_transformation_to(ReferenceFrame3D self) -> Transformation3D"""
3758 return _IMP_algebra.ReferenceFrame3D_get_transformation_to(self)
3760 def get_transformation_from(self):
3761 """get_transformation_from(ReferenceFrame3D self) -> Transformation3D"""
3762 return _IMP_algebra.ReferenceFrame3D_get_transformation_from(self)
3764 def get_global_coordinates(self, *args):
3765 """get_global_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
3766 return _IMP_algebra.ReferenceFrame3D_get_global_coordinates(self, *args)
3768 def get_local_coordinates(self, *args):
3769 """get_local_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
3770 return _IMP_algebra.ReferenceFrame3D_get_local_coordinates(self, *args)
3772 def get_global_reference_frame(self, *args):
3773 """get_global_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
3774 return _IMP_algebra.ReferenceFrame3D_get_global_reference_frame(self, *args)
3776 def get_local_reference_frame(self, *args):
3777 """get_local_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
3778 return _IMP_algebra.ReferenceFrame3D_get_local_reference_frame(self, *args)
3780 def show(self, *args):
3782 show(ReferenceFrame3D self, _ostream out=std::cout)
3783 show(ReferenceFrame3D self)
3785 return _IMP_algebra.ReferenceFrame3D_show(self, *args)
3788 """__str__(ReferenceFrame3D self) -> std::string"""
3789 return _IMP_algebra.ReferenceFrame3D___str__(self)
3792 """__repr__(ReferenceFrame3D self) -> std::string"""
3793 return _IMP_algebra.ReferenceFrame3D___repr__(self)
3795 ReferenceFrame3D_swigregister = _IMP_algebra.ReferenceFrame3D_swigregister
3796 ReferenceFrame3D_swigregister(ReferenceFrame3D)
3801 get_transformed(BoundingBox3D bb, Transformation3D tr) -> BoundingBox3D
3802 get_transformed(ReferenceFrame3D rf, Transformation3D tr) -> ReferenceFrame3D
3804 return _IMP_algebra.get_transformed(*args)
3806 def get_transformation_from_first_to_second(*args):
3807 """get_transformation_from_first_to_second(ReferenceFrame3D a, ReferenceFrame3D b) -> Transformation3D"""
3808 return _IMP_algebra.get_transformation_from_first_to_second(*args)
3809 class SphericalVector3D(_GeometricPrimitive3D):
3810 """Proxy of C++ IMP::algebra::SphericalVector3D class"""
3811 __swig_setmethods__ = {}
3812 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3813 __setattr__ =
lambda self, name, value: _swig_setattr(self, SphericalVector3D, name, value)
3814 __swig_getmethods__ = {}
3815 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3816 __getattr__ =
lambda self, name: _swig_getattr(self, SphericalVector3D, name)
3817 def __init__(self, *args):
3819 __init__(IMP::algebra::SphericalVector3D self) -> SphericalVector3D
3820 __init__(IMP::algebra::SphericalVector3D self, Vector3D v) -> SphericalVector3D
3821 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi, bool apply_check=True) -> SphericalVector3D
3822 __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi) -> SphericalVector3D
3824 this = _IMP_algebra.new_SphericalVector3D(*args)
3825 try: self.this.append(this)
3826 except: self.this = this
3827 def get_cartesian_coordinates(self):
3828 """get_cartesian_coordinates(SphericalVector3D self) -> Vector3D"""
3829 return _IMP_algebra.SphericalVector3D_get_cartesian_coordinates(self)
3831 def show(self, *args):
3833 show(SphericalVector3D self, _ostream out=std::cout)
3834 show(SphericalVector3D self)
3836 return _IMP_algebra.SphericalVector3D_show(self, *args)
3839 """__str__(SphericalVector3D self) -> std::string"""
3840 return _IMP_algebra.SphericalVector3D___str__(self)
3843 """__repr__(SphericalVector3D self) -> std::string"""
3844 return _IMP_algebra.SphericalVector3D___repr__(self)
3846 def __getitem__(self, *args):
3847 """__getitem__(SphericalVector3D self, unsigned int index) -> double"""
3848 return _IMP_algebra.SphericalVector3D___getitem__(self, *args)
3850 def __setitem__(self, *args):
3851 """__setitem__(SphericalVector3D self, unsigned int index, double val)"""
3852 return _IMP_algebra.SphericalVector3D___setitem__(self, *args)
3854 __swig_destroy__ = _IMP_algebra.delete_SphericalVector3D
3855 __del__ =
lambda self :
None;
3856 SphericalVector3D_swigregister = _IMP_algebra.SphericalVector3D_swigregister
3857 SphericalVector3D_swigregister(SphericalVector3D)
3861 """get_alignments_from_first_to_second(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2) -> IMP::algebra::Transformation3Ds"""
3862 return _IMP_algebra.get_alignments_from_first_to_second(*args)
3863 class Segment3D(_GeometricPrimitive3D):
3864 """Proxy of C++ IMP::algebra::Segment3D class"""
3865 __swig_setmethods__ = {}
3866 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3867 __setattr__ =
lambda self, name, value: _swig_setattr(self, Segment3D, name, value)
3868 __swig_getmethods__ = {}
3869 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3870 __getattr__ =
lambda self, name: _swig_getattr(self, Segment3D, name)
3871 def __init__(self, *args):
3873 __init__(IMP::algebra::Segment3D self) -> Segment3D
3874 __init__(IMP::algebra::Segment3D self, Vector3D start, Vector3D end) -> Segment3D
3876 this = _IMP_algebra.new_Segment3D(*args)
3877 try: self.this.append(this)
3878 except: self.this = this
3879 def get_point(self, *args):
3880 """get_point(Segment3D self, unsigned int i) -> Vector3D"""
3881 return _IMP_algebra.Segment3D_get_point(self, *args)
3883 def get_middle_point(self):
3884 """get_middle_point(Segment3D self) -> Vector3D"""
3885 return _IMP_algebra.Segment3D_get_middle_point(self)
3887 def get_direction(self):
3888 """get_direction(Segment3D self) -> Vector3D"""
3889 return _IMP_algebra.Segment3D_get_direction(self)
3891 def get_length(self):
3892 """get_length(Segment3D self) -> double"""
3893 return _IMP_algebra.Segment3D_get_length(self)
3895 def show(self, *args):
3897 show(Segment3D self, _ostream out=std::cout)
3898 show(Segment3D self)
3900 return _IMP_algebra.Segment3D_show(self, *args)
3903 """__str__(Segment3D self) -> std::string"""
3904 return _IMP_algebra.Segment3D___str__(self)
3907 """__repr__(Segment3D self) -> std::string"""
3908 return _IMP_algebra.Segment3D___repr__(self)
3910 __swig_destroy__ = _IMP_algebra.delete_Segment3D
3911 __del__ =
lambda self :
None;
3912 Segment3D_swigregister = _IMP_algebra.Segment3D_swigregister
3913 Segment3D_swigregister(Segment3D)
3917 """get_segment_3d_geometry(Segment3D g) -> Segment3D"""
3918 return _IMP_algebra.get_segment_3d_geometry(*args)
3921 """get_relative_projection_on_segment(Segment3D s, Vector3D p) -> double"""
3922 return _IMP_algebra.get_relative_projection_on_segment(*args)
3923 class Triangle3D(_GeometricPrimitive3D):
3924 """Proxy of C++ IMP::algebra::Triangle3D class"""
3925 __swig_setmethods__ = {}
3926 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3927 __setattr__ =
lambda self, name, value: _swig_setattr(self, Triangle3D, name, value)
3928 __swig_getmethods__ = {}
3929 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3930 __getattr__ =
lambda self, name: _swig_getattr(self, Triangle3D, name)
3931 def __init__(self, *args):
3933 __init__(IMP::algebra::Triangle3D self) -> Triangle3D
3934 __init__(IMP::algebra::Triangle3D self, Vector3D p1, Vector3D p2, Vector3D p3) -> Triangle3D
3936 this = _IMP_algebra.new_Triangle3D(*args)
3937 try: self.this.append(this)
3938 except: self.this = this
3939 def get_point(self, *args):
3940 """get_point(Triangle3D self, unsigned int i) -> Vector3D"""
3941 return _IMP_algebra.Triangle3D_get_point(self, *args)
3943 def show(self, *args):
3945 show(Triangle3D self, _ostream out=std::cout)
3946 show(Triangle3D self)
3948 return _IMP_algebra.Triangle3D_show(self, *args)
3950 def get_edge_lengths(self):
3951 """get_edge_lengths(Triangle3D self) -> IMP::Floats"""
3952 return _IMP_algebra.Triangle3D_get_edge_lengths(self)
3955 """__str__(Triangle3D self) -> std::string"""
3956 return _IMP_algebra.Triangle3D___str__(self)
3959 """__repr__(Triangle3D self) -> std::string"""
3960 return _IMP_algebra.Triangle3D___repr__(self)
3962 __swig_destroy__ = _IMP_algebra.delete_Triangle3D
3963 __del__ =
lambda self :
None;
3964 Triangle3D_swigregister = _IMP_algebra.Triangle3D_swigregister
3965 Triangle3D_swigregister(Triangle3D)
3969 """get_largest_triangle(IMP::algebra::Vector3Ds const & points) -> Triangle3D"""
3970 return _IMP_algebra.get_largest_triangle(*args)
3973 """get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri) -> Transformation3D"""
3974 return _IMP_algebra.get_transformation_from_first_triangle_to_second(*args)
3977 """get_are_colinear(Vector3D p1, Vector3D p2, Vector3D p3) -> bool"""
3978 return _IMP_algebra.get_are_colinear(*args)
3979 class LinearFit2D(_GeometricPrimitive2D):
3980 """Proxy of C++ IMP::algebra::LinearFit2D class"""
3981 __swig_setmethods__ = {}
3982 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3983 __setattr__ =
lambda self, name, value: _swig_setattr(self, LinearFit2D, name, value)
3984 __swig_getmethods__ = {}
3985 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3986 __getattr__ =
lambda self, name: _swig_getattr(self, LinearFit2D, name)
3987 def __init__(self, *args):
3989 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data, IMP::Floats const & error_bars=IMP::Floats()) -> LinearFit2D
3990 __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data) -> LinearFit2D
3992 this = _IMP_algebra.new_LinearFit2D(*args)
3993 try: self.this.append(this)
3994 except: self.this = this
3995 def get_fit_error(self):
3996 """get_fit_error(LinearFit2D self) -> double"""
3997 return _IMP_algebra.LinearFit2D_get_fit_error(self)
4000 """get_a(LinearFit2D self) -> double"""
4001 return _IMP_algebra.LinearFit2D_get_a(self)
4004 """get_b(LinearFit2D self) -> double"""
4005 return _IMP_algebra.LinearFit2D_get_b(self)
4007 def show(self, *args):
4009 show(LinearFit2D self, _ostream out=std::cout)
4010 show(LinearFit2D self)
4012 return _IMP_algebra.LinearFit2D_show(self, *args)
4015 """__str__(LinearFit2D self) -> std::string"""
4016 return _IMP_algebra.LinearFit2D___str__(self)
4019 """__repr__(LinearFit2D self) -> std::string"""
4020 return _IMP_algebra.LinearFit2D___repr__(self)
4022 __swig_destroy__ = _IMP_algebra.delete_LinearFit2D
4023 __del__ =
lambda self :
None;
4024 LinearFit2D_swigregister = _IMP_algebra.LinearFit2D_swigregister
4025 LinearFit2D_swigregister(LinearFit2D)
4027 class ParabolicFit2D(_GeometricPrimitive2D):
4028 """Proxy of C++ IMP::algebra::ParabolicFit2D class"""
4029 __swig_setmethods__ = {}
4030 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4031 __setattr__ =
lambda self, name, value: _swig_setattr(self, ParabolicFit2D, name, value)
4032 __swig_getmethods__ = {}
4033 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4034 __getattr__ =
lambda self, name: _swig_getattr(self, ParabolicFit2D, name)
4035 def __init__(self, *args):
4036 """__init__(IMP::algebra::ParabolicFit2D self, IMP::algebra::Vector2Ds const & data) -> ParabolicFit2D"""
4037 this = _IMP_algebra.new_ParabolicFit2D(*args)
4038 try: self.this.append(this)
4039 except: self.this = this
4040 def get_fit_error(self):
4041 """get_fit_error(ParabolicFit2D self) -> double"""
4042 return _IMP_algebra.ParabolicFit2D_get_fit_error(self)
4045 """get_a(ParabolicFit2D self) -> double"""
4046 return _IMP_algebra.ParabolicFit2D_get_a(self)
4049 """get_b(ParabolicFit2D self) -> double"""
4050 return _IMP_algebra.ParabolicFit2D_get_b(self)
4053 """get_c(ParabolicFit2D self) -> double"""
4054 return _IMP_algebra.ParabolicFit2D_get_c(self)
4056 def show(self, *args):
4058 show(ParabolicFit2D self, _ostream out=std::cout)
4059 show(ParabolicFit2D self)
4061 return _IMP_algebra.ParabolicFit2D_show(self, *args)
4064 """__str__(ParabolicFit2D self) -> std::string"""
4065 return _IMP_algebra.ParabolicFit2D___str__(self)
4068 """__repr__(ParabolicFit2D self) -> std::string"""
4069 return _IMP_algebra.ParabolicFit2D___repr__(self)
4071 __swig_destroy__ = _IMP_algebra.delete_ParabolicFit2D
4072 __del__ =
lambda self :
None;
4073 ParabolicFit2D_swigregister = _IMP_algebra.ParabolicFit2D_swigregister
4074 ParabolicFit2D_swigregister(ParabolicFit2D)
4076 class Plane3D(_GeometricPrimitive3D):
4077 """Proxy of C++ IMP::algebra::Plane3D class"""
4078 __swig_setmethods__ = {}
4079 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4080 __setattr__ =
lambda self, name, value: _swig_setattr(self, Plane3D, name, value)
4081 __swig_getmethods__ = {}
4082 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4083 __getattr__ =
lambda self, name: _swig_getattr(self, Plane3D, name)
4084 def __init__(self, *args):
4086 __init__(IMP::algebra::Plane3D self) -> Plane3D
4087 __init__(IMP::algebra::Plane3D self, Vector3D point_on_plane, Vector3D normal_to_plane) -> Plane3D
4088 __init__(IMP::algebra::Plane3D self, double distance_to_plane, Vector3D normal_to_plane) -> Plane3D
4090 this = _IMP_algebra.new_Plane3D(*args)
4091 try: self.this.append(this)
4092 except: self.this = this
4093 def get_point_on_plane(self):
4094 """get_point_on_plane(Plane3D self) -> Vector3D"""
4095 return _IMP_algebra.Plane3D_get_point_on_plane(self)
4097 def get_normal(self):
4098 """get_normal(Plane3D self) -> Vector3D"""
4099 return _IMP_algebra.Plane3D_get_normal(self)
4101 def get_projected(self, *args):
4102 """get_projected(Plane3D self, Vector3D p) -> Vector3D"""
4103 return _IMP_algebra.Plane3D_get_projected(self, *args)
4106 """get_projection(Plane3D self, Vector3D p) -> Vector3D"""
4107 return _IMP_algebra.Plane3D_get_projection(self, *args)
4109 def get_is_above(self, *args):
4110 """get_is_above(Plane3D self, Vector3D p) -> bool"""
4111 return _IMP_algebra.Plane3D_get_is_above(self, *args)
4113 def get_is_below(self, *args):
4114 """get_is_below(Plane3D self, Vector3D p) -> bool"""
4115 return _IMP_algebra.Plane3D_get_is_below(self, *args)
4117 def get_height(self, *args):
4118 """get_height(Plane3D self, Vector3D p) -> double"""
4119 return _IMP_algebra.Plane3D_get_height(self, *args)
4121 def show(self, *args):
4123 show(Plane3D self, _ostream out=std::cout)
4126 return _IMP_algebra.Plane3D_show(self, *args)
4128 def get_opposite(self):
4129 """get_opposite(Plane3D self) -> Plane3D"""
4130 return _IMP_algebra.Plane3D_get_opposite(self)
4132 def get_distance_from_origin(self):
4133 """get_distance_from_origin(Plane3D self) -> double"""
4134 return _IMP_algebra.Plane3D_get_distance_from_origin(self)
4137 """__str__(Plane3D self) -> std::string"""
4138 return _IMP_algebra.Plane3D___str__(self)
4141 """__repr__(Plane3D self) -> std::string"""
4142 return _IMP_algebra.Plane3D___repr__(self)
4144 __swig_destroy__ = _IMP_algebra.delete_Plane3D
4145 __del__ =
lambda self :
None;
4146 Plane3D_swigregister = _IMP_algebra.Plane3D_swigregister
4147 Plane3D_swigregister(Plane3D)
4151 """get_reflected(Plane3D pln, Vector3D p) -> Vector3D"""
4152 return _IMP_algebra.get_reflected(*args)
4155 """get_plane_3d_geometry(Plane3D g) -> Plane3D"""
4156 return _IMP_algebra.get_plane_3d_geometry(*args)
4157 class Reflection3D(_GeometricPrimitive3D):
4158 """Proxy of C++ IMP::algebra::Reflection3D class"""
4159 __swig_setmethods__ = {}
4160 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4161 __setattr__ =
lambda self, name, value: _swig_setattr(self, Reflection3D, name, value)
4162 __swig_getmethods__ = {}
4163 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4164 __getattr__ =
lambda self, name: _swig_getattr(self, Reflection3D, name)
4165 def __init__(self, *args):
4167 __init__(IMP::algebra::Reflection3D self) -> Reflection3D
4168 __init__(IMP::algebra::Reflection3D self, Plane3D pl) -> Reflection3D
4170 this = _IMP_algebra.new_Reflection3D(*args)
4171 try: self.this.append(this)
4172 except: self.this = this
4174 """get_reflected(Reflection3D self, Vector3D v) -> Vector3D"""
4175 return _IMP_algebra.Reflection3D_get_reflected(self, *args)
4177 def show(self, *args):
4179 show(Reflection3D self, _ostream out=std::cout)
4180 show(Reflection3D self)
4182 return _IMP_algebra.Reflection3D_show(self, *args)
4185 """__str__(Reflection3D self) -> std::string"""
4186 return _IMP_algebra.Reflection3D___str__(self)
4189 """__repr__(Reflection3D self) -> std::string"""
4190 return _IMP_algebra.Reflection3D___repr__(self)
4192 __swig_destroy__ = _IMP_algebra.delete_Reflection3D
4193 __del__ =
lambda self :
None;
4194 Reflection3D_swigregister = _IMP_algebra.Reflection3D_swigregister
4195 Reflection3D_swigregister(Reflection3D)
4197 class Cylinder3D(_GeometricPrimitive3D):
4198 """Proxy of C++ IMP::algebra::Cylinder3D class"""
4199 __swig_setmethods__ = {}
4200 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4201 __setattr__ =
lambda self, name, value: _swig_setattr(self, Cylinder3D, name, value)
4202 __swig_getmethods__ = {}
4203 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4204 __getattr__ =
lambda self, name: _swig_getattr(self, Cylinder3D, name)
4205 def __init__(self, *args):
4207 __init__(IMP::algebra::Cylinder3D self) -> Cylinder3D
4208 __init__(IMP::algebra::Cylinder3D self, Segment3D s, double radius) -> Cylinder3D
4210 this = _IMP_algebra.new_Cylinder3D(*args)
4211 try: self.this.append(this)
4212 except: self.this = this
4213 def get_radius(self):
4214 """get_radius(Cylinder3D self) -> double"""
4215 return _IMP_algebra.Cylinder3D_get_radius(self)
4218 """get_segment(Cylinder3D self) -> Segment3D"""
4219 return _IMP_algebra.Cylinder3D_get_segment(self)
4221 def get_surface_point_at(self, *args):
4222 """get_surface_point_at(Cylinder3D self, double relative_height, double angle) -> Vector3D"""
4223 return _IMP_algebra.Cylinder3D_get_surface_point_at(self, *args)
4225 def get_inner_point_at(self, *args):
4226 """get_inner_point_at(Cylinder3D self, double relative_height, double relative_radius, double angle) -> Vector3D"""
4227 return _IMP_algebra.Cylinder3D_get_inner_point_at(self, *args)
4229 def show(self, *args):
4231 show(Cylinder3D self, _ostream out=std::cout)
4232 show(Cylinder3D self)
4234 return _IMP_algebra.Cylinder3D_show(self, *args)
4237 """__str__(Cylinder3D self) -> std::string"""
4238 return _IMP_algebra.Cylinder3D___str__(self)
4241 """__repr__(Cylinder3D self) -> std::string"""
4242 return _IMP_algebra.Cylinder3D___repr__(self)
4244 __swig_destroy__ = _IMP_algebra.delete_Cylinder3D
4245 __del__ =
lambda self :
None;
4246 Cylinder3D_swigregister = _IMP_algebra.Cylinder3D_swigregister
4247 Cylinder3D_swigregister(Cylinder3D)
4251 """get_cylinder_3d_geometry(Cylinder3D g) -> Cylinder3D"""
4252 return _IMP_algebra.get_cylinder_3d_geometry(*args)
4253 class Ellipsoid3D(_GeometricPrimitive3D):
4254 """Proxy of C++ IMP::algebra::Ellipsoid3D class"""
4255 __swig_setmethods__ = {}
4256 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4257 __setattr__ =
lambda self, name, value: _swig_setattr(self, Ellipsoid3D, name, value)
4258 __swig_getmethods__ = {}
4259 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4260 __getattr__ =
lambda self, name: _swig_getattr(self, Ellipsoid3D, name)
4261 def __init__(self, *args):
4263 __init__(IMP::algebra::Ellipsoid3D self) -> Ellipsoid3D
4264 __init__(IMP::algebra::Ellipsoid3D self, Vector3D center, double radius_x, double radius_y, double radius_z, Rotation3D rot) -> Ellipsoid3D
4266 this = _IMP_algebra.new_Ellipsoid3D(*args)
4267 try: self.this.append(this)
4268 except: self.this = this
4269 def get_radius(self, *args):
4270 """get_radius(Ellipsoid3D self, unsigned int i) -> double"""
4271 return _IMP_algebra.Ellipsoid3D_get_radius(self, *args)
4273 def get_center(self):
4274 """get_center(Ellipsoid3D self) -> Vector3D"""
4275 return _IMP_algebra.Ellipsoid3D_get_center(self)
4277 def get_rotation(self):
4278 """get_rotation(Ellipsoid3D self) -> Rotation3D"""
4279 return _IMP_algebra.Ellipsoid3D_get_rotation(self)
4281 def get_transformation(self):
4282 """get_transformation(Ellipsoid3D self) -> Transformation3D"""
4283 return _IMP_algebra.Ellipsoid3D_get_transformation(self)
4285 def show(self, *args):
4287 show(Ellipsoid3D self, _ostream out=std::cout)
4288 show(Ellipsoid3D self)
4290 return _IMP_algebra.Ellipsoid3D_show(self, *args)
4293 """__str__(Ellipsoid3D self) -> std::string"""
4294 return _IMP_algebra.Ellipsoid3D___str__(self)
4297 """__repr__(Ellipsoid3D self) -> std::string"""
4298 return _IMP_algebra.Ellipsoid3D___repr__(self)
4300 __swig_destroy__ = _IMP_algebra.delete_Ellipsoid3D
4301 __del__ =
lambda self :
None;
4302 Ellipsoid3D_swigregister = _IMP_algebra.Ellipsoid3D_swigregister
4303 Ellipsoid3D_swigregister(Ellipsoid3D)
4307 """get_ellipsoid_3d_geometry(Ellipsoid3D g) -> Ellipsoid3D"""
4308 return _IMP_algebra.get_ellipsoid_3d_geometry(*args)
4309 class GridIndex1D(IMP.base._Value):
4310 """Proxy of C++ IMP::algebra::GridIndexD<(1)> class"""
4311 __swig_setmethods__ = {}
4312 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4313 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndex1D, name, value)
4314 __swig_getmethods__ = {}
4315 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4316 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndex1D, name)
4318 """__init__(IMP::algebra::GridIndexD<(1)> self) -> GridIndex1D"""
4319 this = _IMP_algebra.new_GridIndex1D()
4320 try: self.this.append(this)
4321 except: self.this = this
4322 def get_dimension(self):
4323 """get_dimension(GridIndex1D self) -> unsigned int"""
4324 return _IMP_algebra.GridIndex1D_get_dimension(self)
4326 def __getitem__(self, *args):
4327 """__getitem__(GridIndex1D self, unsigned int i) -> int const &"""
4328 return _IMP_algebra.GridIndex1D___getitem__(self, *args)
4330 def show(self, *args):
4332 show(GridIndex1D self, _ostream out=std::cout)
4333 show(GridIndex1D self)
4335 return _IMP_algebra.GridIndex1D_show(self, *args)
4338 """__len__(GridIndex1D self) -> unsigned int"""
4339 return _IMP_algebra.GridIndex1D___len__(self)
4341 def __eq__(self, *args):
4342 """__eq__(GridIndex1D self, GridIndex1D o) -> bool"""
4343 return _IMP_algebra.GridIndex1D___eq__(self, *args)
4345 def __ne__(self, *args):
4346 """__ne__(GridIndex1D self, GridIndex1D o) -> bool"""
4347 return _IMP_algebra.GridIndex1D___ne__(self, *args)
4349 def __lt__(self, *args):
4350 """__lt__(GridIndex1D self, GridIndex1D o) -> bool"""
4351 return _IMP_algebra.GridIndex1D___lt__(self, *args)
4353 def __gt__(self, *args):
4354 """__gt__(GridIndex1D self, GridIndex1D o) -> bool"""
4355 return _IMP_algebra.GridIndex1D___gt__(self, *args)
4357 def __ge__(self, *args):
4358 """__ge__(GridIndex1D self, GridIndex1D o) -> bool"""
4359 return _IMP_algebra.GridIndex1D___ge__(self, *args)
4361 def __le__(self, *args):
4362 """__le__(GridIndex1D self, GridIndex1D o) -> bool"""
4363 return _IMP_algebra.GridIndex1D___le__(self, *args)
4366 """__hash__(GridIndex1D self) -> std::size_t"""
4367 return _IMP_algebra.GridIndex1D___hash__(self)
4370 """__str__(GridIndex1D self) -> std::string"""
4371 return _IMP_algebra.GridIndex1D___str__(self)
4374 """__repr__(GridIndex1D self) -> std::string"""
4375 return _IMP_algebra.GridIndex1D___repr__(self)
4377 def __cmp__(self, *args):
4378 """__cmp__(GridIndex1D self, GridIndex1D arg2) -> int"""
4379 return _IMP_algebra.GridIndex1D___cmp__(self, *args)
4381 __swig_destroy__ = _IMP_algebra.delete_GridIndex1D
4382 __del__ =
lambda self :
None;
4383 GridIndex1D_swigregister = _IMP_algebra.GridIndex1D_swigregister
4384 GridIndex1D_swigregister(GridIndex1D)
4386 class GridIndex2D(IMP.base._Value):
4387 """Proxy of C++ IMP::algebra::GridIndexD<(2)> class"""
4388 __swig_setmethods__ = {}
4389 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4390 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndex2D, name, value)
4391 __swig_getmethods__ = {}
4392 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4393 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndex2D, name)
4395 """__init__(IMP::algebra::GridIndexD<(2)> self) -> GridIndex2D"""
4396 this = _IMP_algebra.new_GridIndex2D()
4397 try: self.this.append(this)
4398 except: self.this = this
4399 def get_dimension(self):
4400 """get_dimension(GridIndex2D self) -> unsigned int"""
4401 return _IMP_algebra.GridIndex2D_get_dimension(self)
4403 def __getitem__(self, *args):
4404 """__getitem__(GridIndex2D self, unsigned int i) -> int const &"""
4405 return _IMP_algebra.GridIndex2D___getitem__(self, *args)
4407 def show(self, *args):
4409 show(GridIndex2D self, _ostream out=std::cout)
4410 show(GridIndex2D self)
4412 return _IMP_algebra.GridIndex2D_show(self, *args)
4415 """__len__(GridIndex2D self) -> unsigned int"""
4416 return _IMP_algebra.GridIndex2D___len__(self)
4418 def __eq__(self, *args):
4419 """__eq__(GridIndex2D self, GridIndex2D o) -> bool"""
4420 return _IMP_algebra.GridIndex2D___eq__(self, *args)
4422 def __ne__(self, *args):
4423 """__ne__(GridIndex2D self, GridIndex2D o) -> bool"""
4424 return _IMP_algebra.GridIndex2D___ne__(self, *args)
4426 def __lt__(self, *args):
4427 """__lt__(GridIndex2D self, GridIndex2D o) -> bool"""
4428 return _IMP_algebra.GridIndex2D___lt__(self, *args)
4430 def __gt__(self, *args):
4431 """__gt__(GridIndex2D self, GridIndex2D o) -> bool"""
4432 return _IMP_algebra.GridIndex2D___gt__(self, *args)
4434 def __ge__(self, *args):
4435 """__ge__(GridIndex2D self, GridIndex2D o) -> bool"""
4436 return _IMP_algebra.GridIndex2D___ge__(self, *args)
4438 def __le__(self, *args):
4439 """__le__(GridIndex2D self, GridIndex2D o) -> bool"""
4440 return _IMP_algebra.GridIndex2D___le__(self, *args)
4443 """__hash__(GridIndex2D self) -> std::size_t"""
4444 return _IMP_algebra.GridIndex2D___hash__(self)
4447 """__str__(GridIndex2D self) -> std::string"""
4448 return _IMP_algebra.GridIndex2D___str__(self)
4451 """__repr__(GridIndex2D self) -> std::string"""
4452 return _IMP_algebra.GridIndex2D___repr__(self)
4454 def __cmp__(self, *args):
4455 """__cmp__(GridIndex2D self, GridIndex2D arg2) -> int"""
4456 return _IMP_algebra.GridIndex2D___cmp__(self, *args)
4458 __swig_destroy__ = _IMP_algebra.delete_GridIndex2D
4459 __del__ =
lambda self :
None;
4460 GridIndex2D_swigregister = _IMP_algebra.GridIndex2D_swigregister
4461 GridIndex2D_swigregister(GridIndex2D)
4463 class GridIndex3D(IMP.base._Value):
4464 """Proxy of C++ IMP::algebra::GridIndexD<(3)> class"""
4465 __swig_setmethods__ = {}
4466 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4467 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndex3D, name, value)
4468 __swig_getmethods__ = {}
4469 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4470 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndex3D, name)
4472 """__init__(IMP::algebra::GridIndexD<(3)> self) -> GridIndex3D"""
4473 this = _IMP_algebra.new_GridIndex3D()
4474 try: self.this.append(this)
4475 except: self.this = this
4476 def get_dimension(self):
4477 """get_dimension(GridIndex3D self) -> unsigned int"""
4478 return _IMP_algebra.GridIndex3D_get_dimension(self)
4480 def __getitem__(self, *args):
4481 """__getitem__(GridIndex3D self, unsigned int i) -> int const &"""
4482 return _IMP_algebra.GridIndex3D___getitem__(self, *args)
4484 def show(self, *args):
4486 show(GridIndex3D self, _ostream out=std::cout)
4487 show(GridIndex3D self)
4489 return _IMP_algebra.GridIndex3D_show(self, *args)
4492 """__len__(GridIndex3D self) -> unsigned int"""
4493 return _IMP_algebra.GridIndex3D___len__(self)
4495 def __eq__(self, *args):
4496 """__eq__(GridIndex3D self, GridIndex3D o) -> bool"""
4497 return _IMP_algebra.GridIndex3D___eq__(self, *args)
4499 def __ne__(self, *args):
4500 """__ne__(GridIndex3D self, GridIndex3D o) -> bool"""
4501 return _IMP_algebra.GridIndex3D___ne__(self, *args)
4503 def __lt__(self, *args):
4504 """__lt__(GridIndex3D self, GridIndex3D o) -> bool"""
4505 return _IMP_algebra.GridIndex3D___lt__(self, *args)
4507 def __gt__(self, *args):
4508 """__gt__(GridIndex3D self, GridIndex3D o) -> bool"""
4509 return _IMP_algebra.GridIndex3D___gt__(self, *args)
4511 def __ge__(self, *args):
4512 """__ge__(GridIndex3D self, GridIndex3D o) -> bool"""
4513 return _IMP_algebra.GridIndex3D___ge__(self, *args)
4515 def __le__(self, *args):
4516 """__le__(GridIndex3D self, GridIndex3D o) -> bool"""
4517 return _IMP_algebra.GridIndex3D___le__(self, *args)
4520 """__hash__(GridIndex3D self) -> std::size_t"""
4521 return _IMP_algebra.GridIndex3D___hash__(self)
4524 """__str__(GridIndex3D self) -> std::string"""
4525 return _IMP_algebra.GridIndex3D___str__(self)
4528 """__repr__(GridIndex3D self) -> std::string"""
4529 return _IMP_algebra.GridIndex3D___repr__(self)
4531 def __cmp__(self, *args):
4532 """__cmp__(GridIndex3D self, GridIndex3D arg2) -> int"""
4533 return _IMP_algebra.GridIndex3D___cmp__(self, *args)
4535 __swig_destroy__ = _IMP_algebra.delete_GridIndex3D
4536 __del__ =
lambda self :
None;
4537 GridIndex3D_swigregister = _IMP_algebra.GridIndex3D_swigregister
4538 GridIndex3D_swigregister(GridIndex3D)
4540 class GridIndex4D(IMP.base._Value):
4541 """Proxy of C++ IMP::algebra::GridIndexD<(4)> class"""
4542 __swig_setmethods__ = {}
4543 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4544 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndex4D, name, value)
4545 __swig_getmethods__ = {}
4546 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4547 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndex4D, name)
4549 """__init__(IMP::algebra::GridIndexD<(4)> self) -> GridIndex4D"""
4550 this = _IMP_algebra.new_GridIndex4D()
4551 try: self.this.append(this)
4552 except: self.this = this
4553 def get_dimension(self):
4554 """get_dimension(GridIndex4D self) -> unsigned int"""
4555 return _IMP_algebra.GridIndex4D_get_dimension(self)
4557 def __getitem__(self, *args):
4558 """__getitem__(GridIndex4D self, unsigned int i) -> int const &"""
4559 return _IMP_algebra.GridIndex4D___getitem__(self, *args)
4561 def show(self, *args):
4563 show(GridIndex4D self, _ostream out=std::cout)
4564 show(GridIndex4D self)
4566 return _IMP_algebra.GridIndex4D_show(self, *args)
4569 """__len__(GridIndex4D self) -> unsigned int"""
4570 return _IMP_algebra.GridIndex4D___len__(self)
4572 def __eq__(self, *args):
4573 """__eq__(GridIndex4D self, GridIndex4D o) -> bool"""
4574 return _IMP_algebra.GridIndex4D___eq__(self, *args)
4576 def __ne__(self, *args):
4577 """__ne__(GridIndex4D self, GridIndex4D o) -> bool"""
4578 return _IMP_algebra.GridIndex4D___ne__(self, *args)
4580 def __lt__(self, *args):
4581 """__lt__(GridIndex4D self, GridIndex4D o) -> bool"""
4582 return _IMP_algebra.GridIndex4D___lt__(self, *args)
4584 def __gt__(self, *args):
4585 """__gt__(GridIndex4D self, GridIndex4D o) -> bool"""
4586 return _IMP_algebra.GridIndex4D___gt__(self, *args)
4588 def __ge__(self, *args):
4589 """__ge__(GridIndex4D self, GridIndex4D o) -> bool"""
4590 return _IMP_algebra.GridIndex4D___ge__(self, *args)
4592 def __le__(self, *args):
4593 """__le__(GridIndex4D self, GridIndex4D o) -> bool"""
4594 return _IMP_algebra.GridIndex4D___le__(self, *args)
4597 """__hash__(GridIndex4D self) -> std::size_t"""
4598 return _IMP_algebra.GridIndex4D___hash__(self)
4601 """__str__(GridIndex4D self) -> std::string"""
4602 return _IMP_algebra.GridIndex4D___str__(self)
4605 """__repr__(GridIndex4D self) -> std::string"""
4606 return _IMP_algebra.GridIndex4D___repr__(self)
4608 def __cmp__(self, *args):
4609 """__cmp__(GridIndex4D self, GridIndex4D arg2) -> int"""
4610 return _IMP_algebra.GridIndex4D___cmp__(self, *args)
4612 __swig_destroy__ = _IMP_algebra.delete_GridIndex4D
4613 __del__ =
lambda self :
None;
4614 GridIndex4D_swigregister = _IMP_algebra.GridIndex4D_swigregister
4615 GridIndex4D_swigregister(GridIndex4D)
4617 class GridIndex5D(IMP.base._Value):
4618 """Proxy of C++ IMP::algebra::GridIndexD<(5)> class"""
4619 __swig_setmethods__ = {}
4620 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4621 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndex5D, name, value)
4622 __swig_getmethods__ = {}
4623 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4624 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndex5D, name)
4626 """__init__(IMP::algebra::GridIndexD<(5)> self) -> GridIndex5D"""
4627 this = _IMP_algebra.new_GridIndex5D()
4628 try: self.this.append(this)
4629 except: self.this = this
4630 def get_dimension(self):
4631 """get_dimension(GridIndex5D self) -> unsigned int"""
4632 return _IMP_algebra.GridIndex5D_get_dimension(self)
4634 def __getitem__(self, *args):
4635 """__getitem__(GridIndex5D self, unsigned int i) -> int const &"""
4636 return _IMP_algebra.GridIndex5D___getitem__(self, *args)
4638 def show(self, *args):
4640 show(GridIndex5D self, _ostream out=std::cout)
4641 show(GridIndex5D self)
4643 return _IMP_algebra.GridIndex5D_show(self, *args)
4646 """__len__(GridIndex5D self) -> unsigned int"""
4647 return _IMP_algebra.GridIndex5D___len__(self)
4649 def __eq__(self, *args):
4650 """__eq__(GridIndex5D self, GridIndex5D o) -> bool"""
4651 return _IMP_algebra.GridIndex5D___eq__(self, *args)
4653 def __ne__(self, *args):
4654 """__ne__(GridIndex5D self, GridIndex5D o) -> bool"""
4655 return _IMP_algebra.GridIndex5D___ne__(self, *args)
4657 def __lt__(self, *args):
4658 """__lt__(GridIndex5D self, GridIndex5D o) -> bool"""
4659 return _IMP_algebra.GridIndex5D___lt__(self, *args)
4661 def __gt__(self, *args):
4662 """__gt__(GridIndex5D self, GridIndex5D o) -> bool"""
4663 return _IMP_algebra.GridIndex5D___gt__(self, *args)
4665 def __ge__(self, *args):
4666 """__ge__(GridIndex5D self, GridIndex5D o) -> bool"""
4667 return _IMP_algebra.GridIndex5D___ge__(self, *args)
4669 def __le__(self, *args):
4670 """__le__(GridIndex5D self, GridIndex5D o) -> bool"""
4671 return _IMP_algebra.GridIndex5D___le__(self, *args)
4674 """__hash__(GridIndex5D self) -> std::size_t"""
4675 return _IMP_algebra.GridIndex5D___hash__(self)
4678 """__str__(GridIndex5D self) -> std::string"""
4679 return _IMP_algebra.GridIndex5D___str__(self)
4682 """__repr__(GridIndex5D self) -> std::string"""
4683 return _IMP_algebra.GridIndex5D___repr__(self)
4685 def __cmp__(self, *args):
4686 """__cmp__(GridIndex5D self, GridIndex5D arg2) -> int"""
4687 return _IMP_algebra.GridIndex5D___cmp__(self, *args)
4689 __swig_destroy__ = _IMP_algebra.delete_GridIndex5D
4690 __del__ =
lambda self :
None;
4691 GridIndex5D_swigregister = _IMP_algebra.GridIndex5D_swigregister
4692 GridIndex5D_swigregister(GridIndex5D)
4694 class GridIndex6D(IMP.base._Value):
4695 """Proxy of C++ IMP::algebra::GridIndexD<(6)> class"""
4696 __swig_setmethods__ = {}
4697 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4698 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndex6D, name, value)
4699 __swig_getmethods__ = {}
4700 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4701 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndex6D, name)
4703 """__init__(IMP::algebra::GridIndexD<(6)> self) -> GridIndex6D"""
4704 this = _IMP_algebra.new_GridIndex6D()
4705 try: self.this.append(this)
4706 except: self.this = this
4707 def get_dimension(self):
4708 """get_dimension(GridIndex6D self) -> unsigned int"""
4709 return _IMP_algebra.GridIndex6D_get_dimension(self)
4711 def __getitem__(self, *args):
4712 """__getitem__(GridIndex6D self, unsigned int i) -> int const &"""
4713 return _IMP_algebra.GridIndex6D___getitem__(self, *args)
4715 def show(self, *args):
4717 show(GridIndex6D self, _ostream out=std::cout)
4718 show(GridIndex6D self)
4720 return _IMP_algebra.GridIndex6D_show(self, *args)
4723 """__len__(GridIndex6D self) -> unsigned int"""
4724 return _IMP_algebra.GridIndex6D___len__(self)
4726 def __eq__(self, *args):
4727 """__eq__(GridIndex6D self, GridIndex6D o) -> bool"""
4728 return _IMP_algebra.GridIndex6D___eq__(self, *args)
4730 def __ne__(self, *args):
4731 """__ne__(GridIndex6D self, GridIndex6D o) -> bool"""
4732 return _IMP_algebra.GridIndex6D___ne__(self, *args)
4734 def __lt__(self, *args):
4735 """__lt__(GridIndex6D self, GridIndex6D o) -> bool"""
4736 return _IMP_algebra.GridIndex6D___lt__(self, *args)
4738 def __gt__(self, *args):
4739 """__gt__(GridIndex6D self, GridIndex6D o) -> bool"""
4740 return _IMP_algebra.GridIndex6D___gt__(self, *args)
4742 def __ge__(self, *args):
4743 """__ge__(GridIndex6D self, GridIndex6D o) -> bool"""
4744 return _IMP_algebra.GridIndex6D___ge__(self, *args)
4746 def __le__(self, *args):
4747 """__le__(GridIndex6D self, GridIndex6D o) -> bool"""
4748 return _IMP_algebra.GridIndex6D___le__(self, *args)
4751 """__hash__(GridIndex6D self) -> std::size_t"""
4752 return _IMP_algebra.GridIndex6D___hash__(self)
4755 """__str__(GridIndex6D self) -> std::string"""
4756 return _IMP_algebra.GridIndex6D___str__(self)
4759 """__repr__(GridIndex6D self) -> std::string"""
4760 return _IMP_algebra.GridIndex6D___repr__(self)
4762 def __cmp__(self, *args):
4763 """__cmp__(GridIndex6D self, GridIndex6D arg2) -> int"""
4764 return _IMP_algebra.GridIndex6D___cmp__(self, *args)
4766 __swig_destroy__ = _IMP_algebra.delete_GridIndex6D
4767 __del__ =
lambda self :
None;
4768 GridIndex6D_swigregister = _IMP_algebra.GridIndex6D_swigregister
4769 GridIndex6D_swigregister(GridIndex6D)
4771 class GridIndexKD(IMP.base._Value):
4772 """Proxy of C++ IMP::algebra::GridIndexD<(-1)> class"""
4773 __swig_setmethods__ = {}
4774 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4775 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridIndexKD, name, value)
4776 __swig_getmethods__ = {}
4777 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4778 __getattr__ =
lambda self, name: _swig_getattr(self, GridIndexKD, name)
4780 """__init__(IMP::algebra::GridIndexD<(-1)> self) -> GridIndexKD"""
4781 this = _IMP_algebra.new_GridIndexKD()
4782 try: self.this.append(this)
4783 except: self.this = this
4784 def get_dimension(self):
4785 """get_dimension(GridIndexKD self) -> unsigned int"""
4786 return _IMP_algebra.GridIndexKD_get_dimension(self)
4788 def __getitem__(self, *args):
4789 """__getitem__(GridIndexKD self, unsigned int i) -> int const &"""
4790 return _IMP_algebra.GridIndexKD___getitem__(self, *args)
4792 def show(self, *args):
4794 show(GridIndexKD self, _ostream out=std::cout)
4795 show(GridIndexKD self)
4797 return _IMP_algebra.GridIndexKD_show(self, *args)
4800 """__len__(GridIndexKD self) -> unsigned int"""
4801 return _IMP_algebra.GridIndexKD___len__(self)
4803 def __eq__(self, *args):
4804 """__eq__(GridIndexKD self, GridIndexKD o) -> bool"""
4805 return _IMP_algebra.GridIndexKD___eq__(self, *args)
4807 def __ne__(self, *args):
4808 """__ne__(GridIndexKD self, GridIndexKD o) -> bool"""
4809 return _IMP_algebra.GridIndexKD___ne__(self, *args)
4811 def __lt__(self, *args):
4812 """__lt__(GridIndexKD self, GridIndexKD o) -> bool"""
4813 return _IMP_algebra.GridIndexKD___lt__(self, *args)
4815 def __gt__(self, *args):
4816 """__gt__(GridIndexKD self, GridIndexKD o) -> bool"""
4817 return _IMP_algebra.GridIndexKD___gt__(self, *args)
4819 def __ge__(self, *args):
4820 """__ge__(GridIndexKD self, GridIndexKD o) -> bool"""
4821 return _IMP_algebra.GridIndexKD___ge__(self, *args)
4823 def __le__(self, *args):
4824 """__le__(GridIndexKD self, GridIndexKD o) -> bool"""
4825 return _IMP_algebra.GridIndexKD___le__(self, *args)
4828 """__hash__(GridIndexKD self) -> std::size_t"""
4829 return _IMP_algebra.GridIndexKD___hash__(self)
4832 """__str__(GridIndexKD self) -> std::string"""
4833 return _IMP_algebra.GridIndexKD___str__(self)
4836 """__repr__(GridIndexKD self) -> std::string"""
4837 return _IMP_algebra.GridIndexKD___repr__(self)
4839 def __cmp__(self, *args):
4840 """__cmp__(GridIndexKD self, GridIndexKD arg2) -> int"""
4841 return _IMP_algebra.GridIndexKD___cmp__(self, *args)
4843 __swig_destroy__ = _IMP_algebra.delete_GridIndexKD
4844 __del__ =
lambda self :
None;
4845 GridIndexKD_swigregister = _IMP_algebra.GridIndexKD_swigregister
4846 GridIndexKD_swigregister(GridIndexKD)
4848 class ExtendedGridIndex1D(IMP.base._Value):
4849 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(1)> class"""
4850 __swig_setmethods__ = {}
4851 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4852 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndex1D, name, value)
4853 __swig_getmethods__ = {}
4854 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4855 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndex1D, name)
4856 def __init__(self, *args):
4858 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, IMP::Ints vals) -> ExtendedGridIndex1D
4859 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y, int z) -> ExtendedGridIndex1D
4860 __init__(IMP::algebra::ExtendedGridIndexD<(1)> self) -> ExtendedGridIndex1D
4862 this = _IMP_algebra.new_ExtendedGridIndex1D(*args)
4863 try: self.this.append(this)
4864 except: self.this = this
4865 def get_dimension(self):
4866 """get_dimension(ExtendedGridIndex1D self) -> unsigned int"""
4867 return _IMP_algebra.ExtendedGridIndex1D_get_dimension(self)
4869 def __eq__(self, *args):
4870 """__eq__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
4871 return _IMP_algebra.ExtendedGridIndex1D___eq__(self, *args)
4873 def __ne__(self, *args):
4874 """__ne__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
4875 return _IMP_algebra.ExtendedGridIndex1D___ne__(self, *args)
4877 def __lt__(self, *args):
4878 """__lt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
4879 return _IMP_algebra.ExtendedGridIndex1D___lt__(self, *args)
4881 def __gt__(self, *args):
4882 """__gt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
4883 return _IMP_algebra.ExtendedGridIndex1D___gt__(self, *args)
4885 def __ge__(self, *args):
4886 """__ge__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
4887 return _IMP_algebra.ExtendedGridIndex1D___ge__(self, *args)
4889 def __le__(self, *args):
4890 """__le__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
4891 return _IMP_algebra.ExtendedGridIndex1D___le__(self, *args)
4893 def __setitem__(self, *args):
4894 """__setitem__(ExtendedGridIndex1D self, unsigned int i, int const & v)"""
4895 return _IMP_algebra.ExtendedGridIndex1D___setitem__(self, *args)
4897 def __getitem__(self, *args):
4898 """__getitem__(ExtendedGridIndex1D self, unsigned int i) -> int const &"""
4899 return _IMP_algebra.ExtendedGridIndex1D___getitem__(self, *args)
4901 def show(self, *args):
4903 show(ExtendedGridIndex1D self, _ostream out=std::cout)
4904 show(ExtendedGridIndex1D self)
4906 return _IMP_algebra.ExtendedGridIndex1D_show(self, *args)
4909 """__len__(ExtendedGridIndex1D self) -> unsigned int"""
4910 return _IMP_algebra.ExtendedGridIndex1D___len__(self)
4913 """__hash__(ExtendedGridIndex1D self) -> std::size_t"""
4914 return _IMP_algebra.ExtendedGridIndex1D___hash__(self)
4916 def get_uniform_offset(self, *args):
4917 """get_uniform_offset(ExtendedGridIndex1D self, int ii) -> ExtendedGridIndex1D"""
4918 return _IMP_algebra.ExtendedGridIndex1D_get_uniform_offset(self, *args)
4920 def get_offset(self, *args):
4921 """get_offset(ExtendedGridIndex1D self, int i, int j, int k) -> ExtendedGridIndex1D"""
4922 return _IMP_algebra.ExtendedGridIndex1D_get_offset(self, *args)
4925 """__str__(ExtendedGridIndex1D self) -> std::string"""
4926 return _IMP_algebra.ExtendedGridIndex1D___str__(self)
4929 """__repr__(ExtendedGridIndex1D self) -> std::string"""
4930 return _IMP_algebra.ExtendedGridIndex1D___repr__(self)
4932 def __cmp__(self, *args):
4933 """__cmp__(ExtendedGridIndex1D self, ExtendedGridIndex1D arg2) -> int"""
4934 return _IMP_algebra.ExtendedGridIndex1D___cmp__(self, *args)
4936 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex1D
4937 __del__ =
lambda self :
None;
4938 ExtendedGridIndex1D_swigregister = _IMP_algebra.ExtendedGridIndex1D_swigregister
4939 ExtendedGridIndex1D_swigregister(ExtendedGridIndex1D)
4941 class ExtendedGridIndex2D(IMP.base._Value):
4942 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(2)> class"""
4943 __swig_setmethods__ = {}
4944 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4945 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndex2D, name, value)
4946 __swig_getmethods__ = {}
4947 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4948 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndex2D, name)
4949 def __init__(self, *args):
4951 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, IMP::Ints vals) -> ExtendedGridIndex2D
4952 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y, int z) -> ExtendedGridIndex2D
4953 __init__(IMP::algebra::ExtendedGridIndexD<(2)> self) -> ExtendedGridIndex2D
4955 this = _IMP_algebra.new_ExtendedGridIndex2D(*args)
4956 try: self.this.append(this)
4957 except: self.this = this
4958 def get_dimension(self):
4959 """get_dimension(ExtendedGridIndex2D self) -> unsigned int"""
4960 return _IMP_algebra.ExtendedGridIndex2D_get_dimension(self)
4962 def __eq__(self, *args):
4963 """__eq__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
4964 return _IMP_algebra.ExtendedGridIndex2D___eq__(self, *args)
4966 def __ne__(self, *args):
4967 """__ne__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
4968 return _IMP_algebra.ExtendedGridIndex2D___ne__(self, *args)
4970 def __lt__(self, *args):
4971 """__lt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
4972 return _IMP_algebra.ExtendedGridIndex2D___lt__(self, *args)
4974 def __gt__(self, *args):
4975 """__gt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
4976 return _IMP_algebra.ExtendedGridIndex2D___gt__(self, *args)
4978 def __ge__(self, *args):
4979 """__ge__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
4980 return _IMP_algebra.ExtendedGridIndex2D___ge__(self, *args)
4982 def __le__(self, *args):
4983 """__le__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
4984 return _IMP_algebra.ExtendedGridIndex2D___le__(self, *args)
4986 def __setitem__(self, *args):
4987 """__setitem__(ExtendedGridIndex2D self, unsigned int i, int const & v)"""
4988 return _IMP_algebra.ExtendedGridIndex2D___setitem__(self, *args)
4990 def __getitem__(self, *args):
4991 """__getitem__(ExtendedGridIndex2D self, unsigned int i) -> int const &"""
4992 return _IMP_algebra.ExtendedGridIndex2D___getitem__(self, *args)
4994 def show(self, *args):
4996 show(ExtendedGridIndex2D self, _ostream out=std::cout)
4997 show(ExtendedGridIndex2D self)
4999 return _IMP_algebra.ExtendedGridIndex2D_show(self, *args)
5002 """__len__(ExtendedGridIndex2D self) -> unsigned int"""
5003 return _IMP_algebra.ExtendedGridIndex2D___len__(self)
5006 """__hash__(ExtendedGridIndex2D self) -> std::size_t"""
5007 return _IMP_algebra.ExtendedGridIndex2D___hash__(self)
5009 def get_uniform_offset(self, *args):
5010 """get_uniform_offset(ExtendedGridIndex2D self, int ii) -> ExtendedGridIndex2D"""
5011 return _IMP_algebra.ExtendedGridIndex2D_get_uniform_offset(self, *args)
5013 def get_offset(self, *args):
5014 """get_offset(ExtendedGridIndex2D self, int i, int j, int k) -> ExtendedGridIndex2D"""
5015 return _IMP_algebra.ExtendedGridIndex2D_get_offset(self, *args)
5018 """__str__(ExtendedGridIndex2D self) -> std::string"""
5019 return _IMP_algebra.ExtendedGridIndex2D___str__(self)
5022 """__repr__(ExtendedGridIndex2D self) -> std::string"""
5023 return _IMP_algebra.ExtendedGridIndex2D___repr__(self)
5025 def __cmp__(self, *args):
5026 """__cmp__(ExtendedGridIndex2D self, ExtendedGridIndex2D arg2) -> int"""
5027 return _IMP_algebra.ExtendedGridIndex2D___cmp__(self, *args)
5029 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex2D
5030 __del__ =
lambda self :
None;
5031 ExtendedGridIndex2D_swigregister = _IMP_algebra.ExtendedGridIndex2D_swigregister
5032 ExtendedGridIndex2D_swigregister(ExtendedGridIndex2D)
5034 class ExtendedGridIndex3D(IMP.base._Value):
5035 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(3)> class"""
5036 __swig_setmethods__ = {}
5037 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5038 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndex3D, name, value)
5039 __swig_getmethods__ = {}
5040 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5041 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndex3D, name)
5042 def __init__(self, *args):
5044 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, IMP::Ints vals) -> ExtendedGridIndex3D
5045 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y, int z) -> ExtendedGridIndex3D
5046 __init__(IMP::algebra::ExtendedGridIndexD<(3)> self) -> ExtendedGridIndex3D
5048 this = _IMP_algebra.new_ExtendedGridIndex3D(*args)
5049 try: self.this.append(this)
5050 except: self.this = this
5051 def get_dimension(self):
5052 """get_dimension(ExtendedGridIndex3D self) -> unsigned int"""
5053 return _IMP_algebra.ExtendedGridIndex3D_get_dimension(self)
5055 def __eq__(self, *args):
5056 """__eq__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5057 return _IMP_algebra.ExtendedGridIndex3D___eq__(self, *args)
5059 def __ne__(self, *args):
5060 """__ne__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5061 return _IMP_algebra.ExtendedGridIndex3D___ne__(self, *args)
5063 def __lt__(self, *args):
5064 """__lt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5065 return _IMP_algebra.ExtendedGridIndex3D___lt__(self, *args)
5067 def __gt__(self, *args):
5068 """__gt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5069 return _IMP_algebra.ExtendedGridIndex3D___gt__(self, *args)
5071 def __ge__(self, *args):
5072 """__ge__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5073 return _IMP_algebra.ExtendedGridIndex3D___ge__(self, *args)
5075 def __le__(self, *args):
5076 """__le__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
5077 return _IMP_algebra.ExtendedGridIndex3D___le__(self, *args)
5079 def __setitem__(self, *args):
5080 """__setitem__(ExtendedGridIndex3D self, unsigned int i, int const & v)"""
5081 return _IMP_algebra.ExtendedGridIndex3D___setitem__(self, *args)
5083 def __getitem__(self, *args):
5084 """__getitem__(ExtendedGridIndex3D self, unsigned int i) -> int const &"""
5085 return _IMP_algebra.ExtendedGridIndex3D___getitem__(self, *args)
5087 def show(self, *args):
5089 show(ExtendedGridIndex3D self, _ostream out=std::cout)
5090 show(ExtendedGridIndex3D self)
5092 return _IMP_algebra.ExtendedGridIndex3D_show(self, *args)
5095 """__len__(ExtendedGridIndex3D self) -> unsigned int"""
5096 return _IMP_algebra.ExtendedGridIndex3D___len__(self)
5099 """__hash__(ExtendedGridIndex3D self) -> std::size_t"""
5100 return _IMP_algebra.ExtendedGridIndex3D___hash__(self)
5102 def get_uniform_offset(self, *args):
5103 """get_uniform_offset(ExtendedGridIndex3D self, int ii) -> ExtendedGridIndex3D"""
5104 return _IMP_algebra.ExtendedGridIndex3D_get_uniform_offset(self, *args)
5106 def get_offset(self, *args):
5107 """get_offset(ExtendedGridIndex3D self, int i, int j, int k) -> ExtendedGridIndex3D"""
5108 return _IMP_algebra.ExtendedGridIndex3D_get_offset(self, *args)
5111 """__str__(ExtendedGridIndex3D self) -> std::string"""
5112 return _IMP_algebra.ExtendedGridIndex3D___str__(self)
5115 """__repr__(ExtendedGridIndex3D self) -> std::string"""
5116 return _IMP_algebra.ExtendedGridIndex3D___repr__(self)
5118 def __cmp__(self, *args):
5119 """__cmp__(ExtendedGridIndex3D self, ExtendedGridIndex3D arg2) -> int"""
5120 return _IMP_algebra.ExtendedGridIndex3D___cmp__(self, *args)
5122 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex3D
5123 __del__ =
lambda self :
None;
5124 ExtendedGridIndex3D_swigregister = _IMP_algebra.ExtendedGridIndex3D_swigregister
5125 ExtendedGridIndex3D_swigregister(ExtendedGridIndex3D)
5127 class ExtendedGridIndex4D(IMP.base._Value):
5128 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(4)> class"""
5129 __swig_setmethods__ = {}
5130 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5131 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndex4D, name, value)
5132 __swig_getmethods__ = {}
5133 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5134 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndex4D, name)
5135 def __init__(self, *args):
5137 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, IMP::Ints vals) -> ExtendedGridIndex4D
5138 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y, int z) -> ExtendedGridIndex4D
5139 __init__(IMP::algebra::ExtendedGridIndexD<(4)> self) -> ExtendedGridIndex4D
5141 this = _IMP_algebra.new_ExtendedGridIndex4D(*args)
5142 try: self.this.append(this)
5143 except: self.this = this
5144 def get_dimension(self):
5145 """get_dimension(ExtendedGridIndex4D self) -> unsigned int"""
5146 return _IMP_algebra.ExtendedGridIndex4D_get_dimension(self)
5148 def __eq__(self, *args):
5149 """__eq__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5150 return _IMP_algebra.ExtendedGridIndex4D___eq__(self, *args)
5152 def __ne__(self, *args):
5153 """__ne__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5154 return _IMP_algebra.ExtendedGridIndex4D___ne__(self, *args)
5156 def __lt__(self, *args):
5157 """__lt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5158 return _IMP_algebra.ExtendedGridIndex4D___lt__(self, *args)
5160 def __gt__(self, *args):
5161 """__gt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5162 return _IMP_algebra.ExtendedGridIndex4D___gt__(self, *args)
5164 def __ge__(self, *args):
5165 """__ge__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5166 return _IMP_algebra.ExtendedGridIndex4D___ge__(self, *args)
5168 def __le__(self, *args):
5169 """__le__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
5170 return _IMP_algebra.ExtendedGridIndex4D___le__(self, *args)
5172 def __setitem__(self, *args):
5173 """__setitem__(ExtendedGridIndex4D self, unsigned int i, int const & v)"""
5174 return _IMP_algebra.ExtendedGridIndex4D___setitem__(self, *args)
5176 def __getitem__(self, *args):
5177 """__getitem__(ExtendedGridIndex4D self, unsigned int i) -> int const &"""
5178 return _IMP_algebra.ExtendedGridIndex4D___getitem__(self, *args)
5180 def show(self, *args):
5182 show(ExtendedGridIndex4D self, _ostream out=std::cout)
5183 show(ExtendedGridIndex4D self)
5185 return _IMP_algebra.ExtendedGridIndex4D_show(self, *args)
5188 """__len__(ExtendedGridIndex4D self) -> unsigned int"""
5189 return _IMP_algebra.ExtendedGridIndex4D___len__(self)
5192 """__hash__(ExtendedGridIndex4D self) -> std::size_t"""
5193 return _IMP_algebra.ExtendedGridIndex4D___hash__(self)
5195 def get_uniform_offset(self, *args):
5196 """get_uniform_offset(ExtendedGridIndex4D self, int ii) -> ExtendedGridIndex4D"""
5197 return _IMP_algebra.ExtendedGridIndex4D_get_uniform_offset(self, *args)
5199 def get_offset(self, *args):
5200 """get_offset(ExtendedGridIndex4D self, int i, int j, int k) -> ExtendedGridIndex4D"""
5201 return _IMP_algebra.ExtendedGridIndex4D_get_offset(self, *args)
5204 """__str__(ExtendedGridIndex4D self) -> std::string"""
5205 return _IMP_algebra.ExtendedGridIndex4D___str__(self)
5208 """__repr__(ExtendedGridIndex4D self) -> std::string"""
5209 return _IMP_algebra.ExtendedGridIndex4D___repr__(self)
5211 def __cmp__(self, *args):
5212 """__cmp__(ExtendedGridIndex4D self, ExtendedGridIndex4D arg2) -> int"""
5213 return _IMP_algebra.ExtendedGridIndex4D___cmp__(self, *args)
5215 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex4D
5216 __del__ =
lambda self :
None;
5217 ExtendedGridIndex4D_swigregister = _IMP_algebra.ExtendedGridIndex4D_swigregister
5218 ExtendedGridIndex4D_swigregister(ExtendedGridIndex4D)
5220 class ExtendedGridIndex5D(IMP.base._Value):
5221 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(5)> class"""
5222 __swig_setmethods__ = {}
5223 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5224 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndex5D, name, value)
5225 __swig_getmethods__ = {}
5226 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5227 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndex5D, name)
5228 def __init__(self, *args):
5230 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, IMP::Ints vals) -> ExtendedGridIndex5D
5231 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y, int z) -> ExtendedGridIndex5D
5232 __init__(IMP::algebra::ExtendedGridIndexD<(5)> self) -> ExtendedGridIndex5D
5234 this = _IMP_algebra.new_ExtendedGridIndex5D(*args)
5235 try: self.this.append(this)
5236 except: self.this = this
5237 def get_dimension(self):
5238 """get_dimension(ExtendedGridIndex5D self) -> unsigned int"""
5239 return _IMP_algebra.ExtendedGridIndex5D_get_dimension(self)
5241 def __eq__(self, *args):
5242 """__eq__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5243 return _IMP_algebra.ExtendedGridIndex5D___eq__(self, *args)
5245 def __ne__(self, *args):
5246 """__ne__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5247 return _IMP_algebra.ExtendedGridIndex5D___ne__(self, *args)
5249 def __lt__(self, *args):
5250 """__lt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5251 return _IMP_algebra.ExtendedGridIndex5D___lt__(self, *args)
5253 def __gt__(self, *args):
5254 """__gt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5255 return _IMP_algebra.ExtendedGridIndex5D___gt__(self, *args)
5257 def __ge__(self, *args):
5258 """__ge__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5259 return _IMP_algebra.ExtendedGridIndex5D___ge__(self, *args)
5261 def __le__(self, *args):
5262 """__le__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
5263 return _IMP_algebra.ExtendedGridIndex5D___le__(self, *args)
5265 def __setitem__(self, *args):
5266 """__setitem__(ExtendedGridIndex5D self, unsigned int i, int const & v)"""
5267 return _IMP_algebra.ExtendedGridIndex5D___setitem__(self, *args)
5269 def __getitem__(self, *args):
5270 """__getitem__(ExtendedGridIndex5D self, unsigned int i) -> int const &"""
5271 return _IMP_algebra.ExtendedGridIndex5D___getitem__(self, *args)
5273 def show(self, *args):
5275 show(ExtendedGridIndex5D self, _ostream out=std::cout)
5276 show(ExtendedGridIndex5D self)
5278 return _IMP_algebra.ExtendedGridIndex5D_show(self, *args)
5281 """__len__(ExtendedGridIndex5D self) -> unsigned int"""
5282 return _IMP_algebra.ExtendedGridIndex5D___len__(self)
5285 """__hash__(ExtendedGridIndex5D self) -> std::size_t"""
5286 return _IMP_algebra.ExtendedGridIndex5D___hash__(self)
5288 def get_uniform_offset(self, *args):
5289 """get_uniform_offset(ExtendedGridIndex5D self, int ii) -> ExtendedGridIndex5D"""
5290 return _IMP_algebra.ExtendedGridIndex5D_get_uniform_offset(self, *args)
5292 def get_offset(self, *args):
5293 """get_offset(ExtendedGridIndex5D self, int i, int j, int k) -> ExtendedGridIndex5D"""
5294 return _IMP_algebra.ExtendedGridIndex5D_get_offset(self, *args)
5297 """__str__(ExtendedGridIndex5D self) -> std::string"""
5298 return _IMP_algebra.ExtendedGridIndex5D___str__(self)
5301 """__repr__(ExtendedGridIndex5D self) -> std::string"""
5302 return _IMP_algebra.ExtendedGridIndex5D___repr__(self)
5304 def __cmp__(self, *args):
5305 """__cmp__(ExtendedGridIndex5D self, ExtendedGridIndex5D arg2) -> int"""
5306 return _IMP_algebra.ExtendedGridIndex5D___cmp__(self, *args)
5308 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex5D
5309 __del__ =
lambda self :
None;
5310 ExtendedGridIndex5D_swigregister = _IMP_algebra.ExtendedGridIndex5D_swigregister
5311 ExtendedGridIndex5D_swigregister(ExtendedGridIndex5D)
5313 class ExtendedGridIndex6D(IMP.base._Value):
5314 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(6)> class"""
5315 __swig_setmethods__ = {}
5316 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5317 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndex6D, name, value)
5318 __swig_getmethods__ = {}
5319 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5320 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndex6D, name)
5321 def __init__(self, *args):
5323 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, IMP::Ints vals) -> ExtendedGridIndex6D
5324 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y, int z) -> ExtendedGridIndex6D
5325 __init__(IMP::algebra::ExtendedGridIndexD<(6)> self) -> ExtendedGridIndex6D
5327 this = _IMP_algebra.new_ExtendedGridIndex6D(*args)
5328 try: self.this.append(this)
5329 except: self.this = this
5330 def get_dimension(self):
5331 """get_dimension(ExtendedGridIndex6D self) -> unsigned int"""
5332 return _IMP_algebra.ExtendedGridIndex6D_get_dimension(self)
5334 def __eq__(self, *args):
5335 """__eq__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
5336 return _IMP_algebra.ExtendedGridIndex6D___eq__(self, *args)
5338 def __ne__(self, *args):
5339 """__ne__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
5340 return _IMP_algebra.ExtendedGridIndex6D___ne__(self, *args)
5342 def __lt__(self, *args):
5343 """__lt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
5344 return _IMP_algebra.ExtendedGridIndex6D___lt__(self, *args)
5346 def __gt__(self, *args):
5347 """__gt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
5348 return _IMP_algebra.ExtendedGridIndex6D___gt__(self, *args)
5350 def __ge__(self, *args):
5351 """__ge__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
5352 return _IMP_algebra.ExtendedGridIndex6D___ge__(self, *args)
5354 def __le__(self, *args):
5355 """__le__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
5356 return _IMP_algebra.ExtendedGridIndex6D___le__(self, *args)
5358 def __setitem__(self, *args):
5359 """__setitem__(ExtendedGridIndex6D self, unsigned int i, int const & v)"""
5360 return _IMP_algebra.ExtendedGridIndex6D___setitem__(self, *args)
5362 def __getitem__(self, *args):
5363 """__getitem__(ExtendedGridIndex6D self, unsigned int i) -> int const &"""
5364 return _IMP_algebra.ExtendedGridIndex6D___getitem__(self, *args)
5366 def show(self, *args):
5368 show(ExtendedGridIndex6D self, _ostream out=std::cout)
5369 show(ExtendedGridIndex6D self)
5371 return _IMP_algebra.ExtendedGridIndex6D_show(self, *args)
5374 """__len__(ExtendedGridIndex6D self) -> unsigned int"""
5375 return _IMP_algebra.ExtendedGridIndex6D___len__(self)
5378 """__hash__(ExtendedGridIndex6D self) -> std::size_t"""
5379 return _IMP_algebra.ExtendedGridIndex6D___hash__(self)
5381 def get_uniform_offset(self, *args):
5382 """get_uniform_offset(ExtendedGridIndex6D self, int ii) -> ExtendedGridIndex6D"""
5383 return _IMP_algebra.ExtendedGridIndex6D_get_uniform_offset(self, *args)
5385 def get_offset(self, *args):
5386 """get_offset(ExtendedGridIndex6D self, int i, int j, int k) -> ExtendedGridIndex6D"""
5387 return _IMP_algebra.ExtendedGridIndex6D_get_offset(self, *args)
5390 """__str__(ExtendedGridIndex6D self) -> std::string"""
5391 return _IMP_algebra.ExtendedGridIndex6D___str__(self)
5394 """__repr__(ExtendedGridIndex6D self) -> std::string"""
5395 return _IMP_algebra.ExtendedGridIndex6D___repr__(self)
5397 def __cmp__(self, *args):
5398 """__cmp__(ExtendedGridIndex6D self, ExtendedGridIndex6D arg2) -> int"""
5399 return _IMP_algebra.ExtendedGridIndex6D___cmp__(self, *args)
5401 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex6D
5402 __del__ =
lambda self :
None;
5403 ExtendedGridIndex6D_swigregister = _IMP_algebra.ExtendedGridIndex6D_swigregister
5404 ExtendedGridIndex6D_swigregister(ExtendedGridIndex6D)
5406 class ExtendedGridIndexKD(IMP.base._Value):
5407 """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(-1)> class"""
5408 __swig_setmethods__ = {}
5409 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5410 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExtendedGridIndexKD, name, value)
5411 __swig_getmethods__ = {}
5412 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5413 __getattr__ =
lambda self, name: _swig_getattr(self, ExtendedGridIndexKD, name)
5414 def __init__(self, *args):
5416 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, IMP::Ints vals) -> ExtendedGridIndexKD
5417 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y, int z) -> ExtendedGridIndexKD
5418 __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self) -> ExtendedGridIndexKD
5420 this = _IMP_algebra.new_ExtendedGridIndexKD(*args)
5421 try: self.this.append(this)
5422 except: self.this = this
5423 def get_dimension(self):
5424 """get_dimension(ExtendedGridIndexKD self) -> unsigned int"""
5425 return _IMP_algebra.ExtendedGridIndexKD_get_dimension(self)
5427 def __eq__(self, *args):
5428 """__eq__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
5429 return _IMP_algebra.ExtendedGridIndexKD___eq__(self, *args)
5431 def __ne__(self, *args):
5432 """__ne__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
5433 return _IMP_algebra.ExtendedGridIndexKD___ne__(self, *args)
5435 def __lt__(self, *args):
5436 """__lt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
5437 return _IMP_algebra.ExtendedGridIndexKD___lt__(self, *args)
5439 def __gt__(self, *args):
5440 """__gt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
5441 return _IMP_algebra.ExtendedGridIndexKD___gt__(self, *args)
5443 def __ge__(self, *args):
5444 """__ge__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
5445 return _IMP_algebra.ExtendedGridIndexKD___ge__(self, *args)
5447 def __le__(self, *args):
5448 """__le__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
5449 return _IMP_algebra.ExtendedGridIndexKD___le__(self, *args)
5451 def __setitem__(self, *args):
5452 """__setitem__(ExtendedGridIndexKD self, unsigned int i, int const & v)"""
5453 return _IMP_algebra.ExtendedGridIndexKD___setitem__(self, *args)
5455 def __getitem__(self, *args):
5456 """__getitem__(ExtendedGridIndexKD self, unsigned int i) -> int const &"""
5457 return _IMP_algebra.ExtendedGridIndexKD___getitem__(self, *args)
5459 def show(self, *args):
5461 show(ExtendedGridIndexKD self, _ostream out=std::cout)
5462 show(ExtendedGridIndexKD self)
5464 return _IMP_algebra.ExtendedGridIndexKD_show(self, *args)
5467 """__len__(ExtendedGridIndexKD self) -> unsigned int"""
5468 return _IMP_algebra.ExtendedGridIndexKD___len__(self)
5471 """__hash__(ExtendedGridIndexKD self) -> std::size_t"""
5472 return _IMP_algebra.ExtendedGridIndexKD___hash__(self)
5474 def get_uniform_offset(self, *args):
5475 """get_uniform_offset(ExtendedGridIndexKD self, int ii) -> ExtendedGridIndexKD"""
5476 return _IMP_algebra.ExtendedGridIndexKD_get_uniform_offset(self, *args)
5478 def get_offset(self, *args):
5479 """get_offset(ExtendedGridIndexKD self, int i, int j, int k) -> ExtendedGridIndexKD"""
5480 return _IMP_algebra.ExtendedGridIndexKD_get_offset(self, *args)
5483 """__str__(ExtendedGridIndexKD self) -> std::string"""
5484 return _IMP_algebra.ExtendedGridIndexKD___str__(self)
5487 """__repr__(ExtendedGridIndexKD self) -> std::string"""
5488 return _IMP_algebra.ExtendedGridIndexKD___repr__(self)
5490 def __cmp__(self, *args):
5491 """__cmp__(ExtendedGridIndexKD self, ExtendedGridIndexKD arg2) -> int"""
5492 return _IMP_algebra.ExtendedGridIndexKD___cmp__(self, *args)
5494 __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndexKD
5495 __del__ =
lambda self :
None;
5496 ExtendedGridIndexKD_swigregister = _IMP_algebra.ExtendedGridIndexKD_swigregister
5497 ExtendedGridIndexKD_swigregister(ExtendedGridIndexKD)
5499 class BoundedGridRange1D(_object):
5500 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(1)> class"""
5501 __swig_setmethods__ = {}
5502 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRange1D, name, value)
5503 __swig_getmethods__ = {}
5504 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRange1D, name)
5505 def get_is_bounded():
5506 """get_is_bounded() -> bool"""
5507 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
5509 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5510 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
5511 def __init__(self, *args):
5513 __init__(IMP::algebra::BoundedGridRangeD<(1)> self) -> BoundedGridRange1D
5514 __init__(IMP::algebra::BoundedGridRangeD<(1)> self, IMP::Ints const & counts) -> BoundedGridRange1D
5516 this = _IMP_algebra.new_BoundedGridRange1D(*args)
5517 try: self.this.append(this)
5518 except: self.this = this
5519 def get_number_of_voxels(self, *args):
5521 get_number_of_voxels(BoundedGridRange1D self, unsigned int i) -> unsigned int
5522 get_number_of_voxels(BoundedGridRange1D self) -> unsigned int
5524 return _IMP_algebra.BoundedGridRange1D_get_number_of_voxels(self, *args)
5526 def get_end_index(self):
5527 """get_end_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
5528 return _IMP_algebra.BoundedGridRange1D_get_end_index(self)
5530 def show(self, *args):
5532 show(BoundedGridRange1D self, _ostream out=std::cout)
5533 show(BoundedGridRange1D self)
5535 return _IMP_algebra.BoundedGridRange1D_show(self, *args)
5537 def get_all_indexes(self):
5538 """get_all_indexes(BoundedGridRange1D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 1 > >"""
5539 return _IMP_algebra.BoundedGridRange1D_get_all_indexes(self)
5542 """get_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 1 > >"""
5543 return _IMP_algebra.BoundedGridRange1D_get_indexes(self, *args)
5545 def get_extended_indexes(self, *args):
5546 """get_extended_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
5547 return _IMP_algebra.BoundedGridRange1D_get_extended_indexes(self, *args)
5550 """get_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> GridIndex1D"""
5551 return _IMP_algebra.BoundedGridRange1D_get_index(self, *args)
5553 def get_has_index(self, *args):
5554 """get_has_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> bool"""
5555 return _IMP_algebra.BoundedGridRange1D_get_has_index(self, *args)
5557 def get_minimum_extended_index(self):
5558 """get_minimum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
5559 return _IMP_algebra.BoundedGridRange1D_get_minimum_extended_index(self)
5561 def get_maximum_extended_index(self):
5562 """get_maximum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
5563 return _IMP_algebra.BoundedGridRange1D_get_maximum_extended_index(self)
5566 """__str__(BoundedGridRange1D self) -> std::string"""
5567 return _IMP_algebra.BoundedGridRange1D___str__(self)
5570 """__repr__(BoundedGridRange1D self) -> std::string"""
5571 return _IMP_algebra.BoundedGridRange1D___repr__(self)
5573 def __cmp__(self, *args):
5574 """__cmp__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> int"""
5575 return _IMP_algebra.BoundedGridRange1D___cmp__(self, *args)
5577 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange1D
5578 __del__ =
lambda self :
None;
5579 BoundedGridRange1D_swigregister = _IMP_algebra.BoundedGridRange1D_swigregister
5580 BoundedGridRange1D_swigregister(BoundedGridRange1D)
5582 def BoundedGridRange1D_get_is_bounded():
5583 """BoundedGridRange1D_get_is_bounded() -> bool"""
5584 return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
5586 class BoundedGridRange2D(_object):
5587 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(2)> class"""
5588 __swig_setmethods__ = {}
5589 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRange2D, name, value)
5590 __swig_getmethods__ = {}
5591 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRange2D, name)
5592 def get_is_bounded():
5593 """get_is_bounded() -> bool"""
5594 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
5596 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5597 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
5598 def __init__(self, *args):
5600 __init__(IMP::algebra::BoundedGridRangeD<(2)> self) -> BoundedGridRange2D
5601 __init__(IMP::algebra::BoundedGridRangeD<(2)> self, IMP::Ints const & counts) -> BoundedGridRange2D
5603 this = _IMP_algebra.new_BoundedGridRange2D(*args)
5604 try: self.this.append(this)
5605 except: self.this = this
5606 def get_number_of_voxels(self, *args):
5608 get_number_of_voxels(BoundedGridRange2D self, unsigned int i) -> unsigned int
5609 get_number_of_voxels(BoundedGridRange2D self) -> unsigned int
5611 return _IMP_algebra.BoundedGridRange2D_get_number_of_voxels(self, *args)
5613 def get_end_index(self):
5614 """get_end_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
5615 return _IMP_algebra.BoundedGridRange2D_get_end_index(self)
5617 def show(self, *args):
5619 show(BoundedGridRange2D self, _ostream out=std::cout)
5620 show(BoundedGridRange2D self)
5622 return _IMP_algebra.BoundedGridRange2D_show(self, *args)
5624 def get_all_indexes(self):
5625 """get_all_indexes(BoundedGridRange2D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 2 > >"""
5626 return _IMP_algebra.BoundedGridRange2D_get_all_indexes(self)
5629 """get_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 2 > >"""
5630 return _IMP_algebra.BoundedGridRange2D_get_indexes(self, *args)
5632 def get_extended_indexes(self, *args):
5633 """get_extended_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
5634 return _IMP_algebra.BoundedGridRange2D_get_extended_indexes(self, *args)
5637 """get_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> GridIndex2D"""
5638 return _IMP_algebra.BoundedGridRange2D_get_index(self, *args)
5640 def get_has_index(self, *args):
5641 """get_has_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> bool"""
5642 return _IMP_algebra.BoundedGridRange2D_get_has_index(self, *args)
5644 def get_minimum_extended_index(self):
5645 """get_minimum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
5646 return _IMP_algebra.BoundedGridRange2D_get_minimum_extended_index(self)
5648 def get_maximum_extended_index(self):
5649 """get_maximum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
5650 return _IMP_algebra.BoundedGridRange2D_get_maximum_extended_index(self)
5653 """__str__(BoundedGridRange2D self) -> std::string"""
5654 return _IMP_algebra.BoundedGridRange2D___str__(self)
5657 """__repr__(BoundedGridRange2D self) -> std::string"""
5658 return _IMP_algebra.BoundedGridRange2D___repr__(self)
5660 def __cmp__(self, *args):
5661 """__cmp__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> int"""
5662 return _IMP_algebra.BoundedGridRange2D___cmp__(self, *args)
5664 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange2D
5665 __del__ =
lambda self :
None;
5666 BoundedGridRange2D_swigregister = _IMP_algebra.BoundedGridRange2D_swigregister
5667 BoundedGridRange2D_swigregister(BoundedGridRange2D)
5669 def BoundedGridRange2D_get_is_bounded():
5670 """BoundedGridRange2D_get_is_bounded() -> bool"""
5671 return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
5673 class BoundedGridRange3D(_object):
5674 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(3)> class"""
5675 __swig_setmethods__ = {}
5676 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRange3D, name, value)
5677 __swig_getmethods__ = {}
5678 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRange3D, name)
5679 def get_is_bounded():
5680 """get_is_bounded() -> bool"""
5681 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
5683 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5684 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
5685 def __init__(self, *args):
5687 __init__(IMP::algebra::BoundedGridRangeD<(3)> self) -> BoundedGridRange3D
5688 __init__(IMP::algebra::BoundedGridRangeD<(3)> self, IMP::Ints const & counts) -> BoundedGridRange3D
5690 this = _IMP_algebra.new_BoundedGridRange3D(*args)
5691 try: self.this.append(this)
5692 except: self.this = this
5693 def get_number_of_voxels(self, *args):
5695 get_number_of_voxels(BoundedGridRange3D self, unsigned int i) -> unsigned int
5696 get_number_of_voxels(BoundedGridRange3D self) -> unsigned int
5698 return _IMP_algebra.BoundedGridRange3D_get_number_of_voxels(self, *args)
5700 def get_end_index(self):
5701 """get_end_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
5702 return _IMP_algebra.BoundedGridRange3D_get_end_index(self)
5704 def show(self, *args):
5706 show(BoundedGridRange3D self, _ostream out=std::cout)
5707 show(BoundedGridRange3D self)
5709 return _IMP_algebra.BoundedGridRange3D_show(self, *args)
5711 def get_all_indexes(self):
5712 """get_all_indexes(BoundedGridRange3D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
5713 return _IMP_algebra.BoundedGridRange3D_get_all_indexes(self)
5716 """get_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
5717 return _IMP_algebra.BoundedGridRange3D_get_indexes(self, *args)
5719 def get_extended_indexes(self, *args):
5720 """get_extended_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
5721 return _IMP_algebra.BoundedGridRange3D_get_extended_indexes(self, *args)
5724 """get_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5725 return _IMP_algebra.BoundedGridRange3D_get_index(self, *args)
5727 def get_has_index(self, *args):
5728 """get_has_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> bool"""
5729 return _IMP_algebra.BoundedGridRange3D_get_has_index(self, *args)
5731 def get_minimum_extended_index(self):
5732 """get_minimum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
5733 return _IMP_algebra.BoundedGridRange3D_get_minimum_extended_index(self)
5735 def get_maximum_extended_index(self):
5736 """get_maximum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
5737 return _IMP_algebra.BoundedGridRange3D_get_maximum_extended_index(self)
5740 """__str__(BoundedGridRange3D self) -> std::string"""
5741 return _IMP_algebra.BoundedGridRange3D___str__(self)
5744 """__repr__(BoundedGridRange3D self) -> std::string"""
5745 return _IMP_algebra.BoundedGridRange3D___repr__(self)
5747 def __cmp__(self, *args):
5748 """__cmp__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> int"""
5749 return _IMP_algebra.BoundedGridRange3D___cmp__(self, *args)
5751 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange3D
5752 __del__ =
lambda self :
None;
5753 BoundedGridRange3D_swigregister = _IMP_algebra.BoundedGridRange3D_swigregister
5754 BoundedGridRange3D_swigregister(BoundedGridRange3D)
5756 def BoundedGridRange3D_get_is_bounded():
5757 """BoundedGridRange3D_get_is_bounded() -> bool"""
5758 return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
5760 class BoundedGridRange4D(_object):
5761 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(4)> class"""
5762 __swig_setmethods__ = {}
5763 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRange4D, name, value)
5764 __swig_getmethods__ = {}
5765 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRange4D, name)
5766 def get_is_bounded():
5767 """get_is_bounded() -> bool"""
5768 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
5770 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5771 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
5772 def __init__(self, *args):
5774 __init__(IMP::algebra::BoundedGridRangeD<(4)> self) -> BoundedGridRange4D
5775 __init__(IMP::algebra::BoundedGridRangeD<(4)> self, IMP::Ints const & counts) -> BoundedGridRange4D
5777 this = _IMP_algebra.new_BoundedGridRange4D(*args)
5778 try: self.this.append(this)
5779 except: self.this = this
5780 def get_number_of_voxels(self, *args):
5782 get_number_of_voxels(BoundedGridRange4D self, unsigned int i) -> unsigned int
5783 get_number_of_voxels(BoundedGridRange4D self) -> unsigned int
5785 return _IMP_algebra.BoundedGridRange4D_get_number_of_voxels(self, *args)
5787 def get_end_index(self):
5788 """get_end_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
5789 return _IMP_algebra.BoundedGridRange4D_get_end_index(self)
5791 def show(self, *args):
5793 show(BoundedGridRange4D self, _ostream out=std::cout)
5794 show(BoundedGridRange4D self)
5796 return _IMP_algebra.BoundedGridRange4D_show(self, *args)
5798 def get_all_indexes(self):
5799 """get_all_indexes(BoundedGridRange4D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 4 > >"""
5800 return _IMP_algebra.BoundedGridRange4D_get_all_indexes(self)
5803 """get_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 4 > >"""
5804 return _IMP_algebra.BoundedGridRange4D_get_indexes(self, *args)
5806 def get_extended_indexes(self, *args):
5807 """get_extended_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
5808 return _IMP_algebra.BoundedGridRange4D_get_extended_indexes(self, *args)
5811 """get_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> GridIndex4D"""
5812 return _IMP_algebra.BoundedGridRange4D_get_index(self, *args)
5814 def get_has_index(self, *args):
5815 """get_has_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> bool"""
5816 return _IMP_algebra.BoundedGridRange4D_get_has_index(self, *args)
5818 def get_minimum_extended_index(self):
5819 """get_minimum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
5820 return _IMP_algebra.BoundedGridRange4D_get_minimum_extended_index(self)
5822 def get_maximum_extended_index(self):
5823 """get_maximum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
5824 return _IMP_algebra.BoundedGridRange4D_get_maximum_extended_index(self)
5827 """__str__(BoundedGridRange4D self) -> std::string"""
5828 return _IMP_algebra.BoundedGridRange4D___str__(self)
5831 """__repr__(BoundedGridRange4D self) -> std::string"""
5832 return _IMP_algebra.BoundedGridRange4D___repr__(self)
5834 def __cmp__(self, *args):
5835 """__cmp__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> int"""
5836 return _IMP_algebra.BoundedGridRange4D___cmp__(self, *args)
5838 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange4D
5839 __del__ =
lambda self :
None;
5840 BoundedGridRange4D_swigregister = _IMP_algebra.BoundedGridRange4D_swigregister
5841 BoundedGridRange4D_swigregister(BoundedGridRange4D)
5843 def BoundedGridRange4D_get_is_bounded():
5844 """BoundedGridRange4D_get_is_bounded() -> bool"""
5845 return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
5847 class BoundedGridRange5D(_object):
5848 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(5)> class"""
5849 __swig_setmethods__ = {}
5850 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRange5D, name, value)
5851 __swig_getmethods__ = {}
5852 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRange5D, name)
5853 def get_is_bounded():
5854 """get_is_bounded() -> bool"""
5855 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
5857 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5858 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
5859 def __init__(self, *args):
5861 __init__(IMP::algebra::BoundedGridRangeD<(5)> self) -> BoundedGridRange5D
5862 __init__(IMP::algebra::BoundedGridRangeD<(5)> self, IMP::Ints const & counts) -> BoundedGridRange5D
5864 this = _IMP_algebra.new_BoundedGridRange5D(*args)
5865 try: self.this.append(this)
5866 except: self.this = this
5867 def get_number_of_voxels(self, *args):
5869 get_number_of_voxels(BoundedGridRange5D self, unsigned int i) -> unsigned int
5870 get_number_of_voxels(BoundedGridRange5D self) -> unsigned int
5872 return _IMP_algebra.BoundedGridRange5D_get_number_of_voxels(self, *args)
5874 def get_end_index(self):
5875 """get_end_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
5876 return _IMP_algebra.BoundedGridRange5D_get_end_index(self)
5878 def show(self, *args):
5880 show(BoundedGridRange5D self, _ostream out=std::cout)
5881 show(BoundedGridRange5D self)
5883 return _IMP_algebra.BoundedGridRange5D_show(self, *args)
5885 def get_all_indexes(self):
5886 """get_all_indexes(BoundedGridRange5D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 5 > >"""
5887 return _IMP_algebra.BoundedGridRange5D_get_all_indexes(self)
5890 """get_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 5 > >"""
5891 return _IMP_algebra.BoundedGridRange5D_get_indexes(self, *args)
5893 def get_extended_indexes(self, *args):
5894 """get_extended_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
5895 return _IMP_algebra.BoundedGridRange5D_get_extended_indexes(self, *args)
5898 """get_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> GridIndex5D"""
5899 return _IMP_algebra.BoundedGridRange5D_get_index(self, *args)
5901 def get_has_index(self, *args):
5902 """get_has_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> bool"""
5903 return _IMP_algebra.BoundedGridRange5D_get_has_index(self, *args)
5905 def get_minimum_extended_index(self):
5906 """get_minimum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
5907 return _IMP_algebra.BoundedGridRange5D_get_minimum_extended_index(self)
5909 def get_maximum_extended_index(self):
5910 """get_maximum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
5911 return _IMP_algebra.BoundedGridRange5D_get_maximum_extended_index(self)
5914 """__str__(BoundedGridRange5D self) -> std::string"""
5915 return _IMP_algebra.BoundedGridRange5D___str__(self)
5918 """__repr__(BoundedGridRange5D self) -> std::string"""
5919 return _IMP_algebra.BoundedGridRange5D___repr__(self)
5921 def __cmp__(self, *args):
5922 """__cmp__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> int"""
5923 return _IMP_algebra.BoundedGridRange5D___cmp__(self, *args)
5925 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange5D
5926 __del__ =
lambda self :
None;
5927 BoundedGridRange5D_swigregister = _IMP_algebra.BoundedGridRange5D_swigregister
5928 BoundedGridRange5D_swigregister(BoundedGridRange5D)
5930 def BoundedGridRange5D_get_is_bounded():
5931 """BoundedGridRange5D_get_is_bounded() -> bool"""
5932 return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
5934 class BoundedGridRange6D(_object):
5935 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(6)> class"""
5936 __swig_setmethods__ = {}
5937 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRange6D, name, value)
5938 __swig_getmethods__ = {}
5939 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRange6D, name)
5940 def get_is_bounded():
5941 """get_is_bounded() -> bool"""
5942 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
5944 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
5945 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
5946 def __init__(self, *args):
5948 __init__(IMP::algebra::BoundedGridRangeD<(6)> self) -> BoundedGridRange6D
5949 __init__(IMP::algebra::BoundedGridRangeD<(6)> self, IMP::Ints const & counts) -> BoundedGridRange6D
5951 this = _IMP_algebra.new_BoundedGridRange6D(*args)
5952 try: self.this.append(this)
5953 except: self.this = this
5954 def get_number_of_voxels(self, *args):
5956 get_number_of_voxels(BoundedGridRange6D self, unsigned int i) -> unsigned int
5957 get_number_of_voxels(BoundedGridRange6D self) -> unsigned int
5959 return _IMP_algebra.BoundedGridRange6D_get_number_of_voxels(self, *args)
5961 def get_end_index(self):
5962 """get_end_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
5963 return _IMP_algebra.BoundedGridRange6D_get_end_index(self)
5965 def show(self, *args):
5967 show(BoundedGridRange6D self, _ostream out=std::cout)
5968 show(BoundedGridRange6D self)
5970 return _IMP_algebra.BoundedGridRange6D_show(self, *args)
5972 def get_all_indexes(self):
5973 """get_all_indexes(BoundedGridRange6D self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 6 > >"""
5974 return _IMP_algebra.BoundedGridRange6D_get_all_indexes(self)
5977 """get_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 6 > >"""
5978 return _IMP_algebra.BoundedGridRange6D_get_indexes(self, *args)
5980 def get_extended_indexes(self, *args):
5981 """get_extended_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
5982 return _IMP_algebra.BoundedGridRange6D_get_extended_indexes(self, *args)
5985 """get_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> GridIndex6D"""
5986 return _IMP_algebra.BoundedGridRange6D_get_index(self, *args)
5988 def get_has_index(self, *args):
5989 """get_has_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> bool"""
5990 return _IMP_algebra.BoundedGridRange6D_get_has_index(self, *args)
5992 def get_minimum_extended_index(self):
5993 """get_minimum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
5994 return _IMP_algebra.BoundedGridRange6D_get_minimum_extended_index(self)
5996 def get_maximum_extended_index(self):
5997 """get_maximum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
5998 return _IMP_algebra.BoundedGridRange6D_get_maximum_extended_index(self)
6001 """__str__(BoundedGridRange6D self) -> std::string"""
6002 return _IMP_algebra.BoundedGridRange6D___str__(self)
6005 """__repr__(BoundedGridRange6D self) -> std::string"""
6006 return _IMP_algebra.BoundedGridRange6D___repr__(self)
6008 def __cmp__(self, *args):
6009 """__cmp__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> int"""
6010 return _IMP_algebra.BoundedGridRange6D___cmp__(self, *args)
6012 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange6D
6013 __del__ =
lambda self :
None;
6014 BoundedGridRange6D_swigregister = _IMP_algebra.BoundedGridRange6D_swigregister
6015 BoundedGridRange6D_swigregister(BoundedGridRange6D)
6017 def BoundedGridRange6D_get_is_bounded():
6018 """BoundedGridRange6D_get_is_bounded() -> bool"""
6019 return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
6021 class BoundedGridRangeKD(_object):
6022 """Proxy of C++ IMP::algebra::BoundedGridRangeD<(-1)> class"""
6023 __swig_setmethods__ = {}
6024 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundedGridRangeKD, name, value)
6025 __swig_getmethods__ = {}
6026 __getattr__ =
lambda self, name: _swig_getattr(self, BoundedGridRangeKD, name)
6027 def get_is_bounded():
6028 """get_is_bounded() -> bool"""
6029 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
6031 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6032 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6033 def __init__(self, *args):
6035 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self) -> BoundedGridRangeKD
6036 __init__(IMP::algebra::BoundedGridRangeD<(-1)> self, IMP::Ints const & counts) -> BoundedGridRangeKD
6038 this = _IMP_algebra.new_BoundedGridRangeKD(*args)
6039 try: self.this.append(this)
6040 except: self.this = this
6041 def get_number_of_voxels(self, *args):
6043 get_number_of_voxels(BoundedGridRangeKD self, unsigned int i) -> unsigned int
6044 get_number_of_voxels(BoundedGridRangeKD self) -> unsigned int
6046 return _IMP_algebra.BoundedGridRangeKD_get_number_of_voxels(self, *args)
6048 def get_end_index(self):
6049 """get_end_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
6050 return _IMP_algebra.BoundedGridRangeKD_get_end_index(self)
6052 def show(self, *args):
6054 show(BoundedGridRangeKD self, _ostream out=std::cout)
6055 show(BoundedGridRangeKD self)
6057 return _IMP_algebra.BoundedGridRangeKD_show(self, *args)
6059 def get_all_indexes(self):
6060 """get_all_indexes(BoundedGridRangeKD self) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
6061 return _IMP_algebra.BoundedGridRangeKD_get_all_indexes(self)
6064 """get_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
6065 return _IMP_algebra.BoundedGridRangeKD_get_indexes(self, *args)
6067 def get_extended_indexes(self, *args):
6068 """get_extended_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
6069 return _IMP_algebra.BoundedGridRangeKD_get_extended_indexes(self, *args)
6072 """get_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
6073 return _IMP_algebra.BoundedGridRangeKD_get_index(self, *args)
6075 def get_has_index(self, *args):
6076 """get_has_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> bool"""
6077 return _IMP_algebra.BoundedGridRangeKD_get_has_index(self, *args)
6079 def get_minimum_extended_index(self):
6080 """get_minimum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
6081 return _IMP_algebra.BoundedGridRangeKD_get_minimum_extended_index(self)
6083 def get_maximum_extended_index(self):
6084 """get_maximum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
6085 return _IMP_algebra.BoundedGridRangeKD_get_maximum_extended_index(self)
6088 """__str__(BoundedGridRangeKD self) -> std::string"""
6089 return _IMP_algebra.BoundedGridRangeKD___str__(self)
6092 """__repr__(BoundedGridRangeKD self) -> std::string"""
6093 return _IMP_algebra.BoundedGridRangeKD___repr__(self)
6095 def __cmp__(self, *args):
6096 """__cmp__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> int"""
6097 return _IMP_algebra.BoundedGridRangeKD___cmp__(self, *args)
6099 __swig_destroy__ = _IMP_algebra.delete_BoundedGridRangeKD
6100 __del__ =
lambda self :
None;
6101 BoundedGridRangeKD_swigregister = _IMP_algebra.BoundedGridRangeKD_swigregister
6102 BoundedGridRangeKD_swigregister(BoundedGridRangeKD)
6104 def BoundedGridRangeKD_get_is_bounded():
6105 """BoundedGridRangeKD_get_is_bounded() -> bool"""
6106 return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
6108 class UnboundedGridRange1D(_object):
6109 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(1)> class"""
6110 __swig_setmethods__ = {}
6111 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRange1D, name, value)
6112 __swig_getmethods__ = {}
6113 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRange1D, name)
6114 def __init__(self, *args):
6116 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self) -> UnboundedGridRange1D
6117 __init__(IMP::algebra::UnboundedGridRangeD<(1)> self, IMP::Ints const & arg2) -> UnboundedGridRange1D
6119 this = _IMP_algebra.new_UnboundedGridRange1D(*args)
6120 try: self.this.append(this)
6121 except: self.this = this
6122 def set_number_of_voxels(self, *args):
6123 """set_number_of_voxels(UnboundedGridRange1D self, IMP::Ints arg2)"""
6124 return _IMP_algebra.UnboundedGridRange1D_set_number_of_voxels(self, *args)
6126 def get_number_of_voxels(self, *args):
6127 """get_number_of_voxels(UnboundedGridRange1D self, int arg2) -> unsigned int"""
6128 return _IMP_algebra.UnboundedGridRange1D_get_number_of_voxels(self, *args)
6130 def get_is_bounded():
6131 """get_is_bounded() -> bool"""
6132 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
6134 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6135 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6136 def get_has_index(self, *args):
6137 """get_has_index(UnboundedGridRange1D self, ExtendedGridIndex1D arg2) -> bool"""
6138 return _IMP_algebra.UnboundedGridRange1D_get_has_index(self, *args)
6140 def show(self, *args):
6142 show(UnboundedGridRange1D self, _ostream out=std::cout)
6143 show(UnboundedGridRange1D self)
6145 return _IMP_algebra.UnboundedGridRange1D_show(self, *args)
6147 def get_extended_indexes(self, *args):
6148 """get_extended_indexes(UnboundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
6149 return _IMP_algebra.UnboundedGridRange1D_get_extended_indexes(self, *args)
6152 """__str__(UnboundedGridRange1D self) -> std::string"""
6153 return _IMP_algebra.UnboundedGridRange1D___str__(self)
6156 """__repr__(UnboundedGridRange1D self) -> std::string"""
6157 return _IMP_algebra.UnboundedGridRange1D___repr__(self)
6159 def __cmp__(self, *args):
6160 """__cmp__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> int"""
6161 return _IMP_algebra.UnboundedGridRange1D___cmp__(self, *args)
6163 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange1D
6164 __del__ =
lambda self :
None;
6165 UnboundedGridRange1D_swigregister = _IMP_algebra.UnboundedGridRange1D_swigregister
6166 UnboundedGridRange1D_swigregister(UnboundedGridRange1D)
6168 def UnboundedGridRange1D_get_is_bounded():
6169 """UnboundedGridRange1D_get_is_bounded() -> bool"""
6170 return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
6172 class UnboundedGridRange2D(_object):
6173 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(2)> class"""
6174 __swig_setmethods__ = {}
6175 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRange2D, name, value)
6176 __swig_getmethods__ = {}
6177 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRange2D, name)
6178 def __init__(self, *args):
6180 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self) -> UnboundedGridRange2D
6181 __init__(IMP::algebra::UnboundedGridRangeD<(2)> self, IMP::Ints const & arg2) -> UnboundedGridRange2D
6183 this = _IMP_algebra.new_UnboundedGridRange2D(*args)
6184 try: self.this.append(this)
6185 except: self.this = this
6186 def set_number_of_voxels(self, *args):
6187 """set_number_of_voxels(UnboundedGridRange2D self, IMP::Ints arg2)"""
6188 return _IMP_algebra.UnboundedGridRange2D_set_number_of_voxels(self, *args)
6190 def get_number_of_voxels(self, *args):
6191 """get_number_of_voxels(UnboundedGridRange2D self, int arg2) -> unsigned int"""
6192 return _IMP_algebra.UnboundedGridRange2D_get_number_of_voxels(self, *args)
6194 def get_is_bounded():
6195 """get_is_bounded() -> bool"""
6196 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
6198 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6199 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6200 def get_has_index(self, *args):
6201 """get_has_index(UnboundedGridRange2D self, ExtendedGridIndex2D arg2) -> bool"""
6202 return _IMP_algebra.UnboundedGridRange2D_get_has_index(self, *args)
6204 def show(self, *args):
6206 show(UnboundedGridRange2D self, _ostream out=std::cout)
6207 show(UnboundedGridRange2D self)
6209 return _IMP_algebra.UnboundedGridRange2D_show(self, *args)
6211 def get_extended_indexes(self, *args):
6212 """get_extended_indexes(UnboundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
6213 return _IMP_algebra.UnboundedGridRange2D_get_extended_indexes(self, *args)
6216 """__str__(UnboundedGridRange2D self) -> std::string"""
6217 return _IMP_algebra.UnboundedGridRange2D___str__(self)
6220 """__repr__(UnboundedGridRange2D self) -> std::string"""
6221 return _IMP_algebra.UnboundedGridRange2D___repr__(self)
6223 def __cmp__(self, *args):
6224 """__cmp__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> int"""
6225 return _IMP_algebra.UnboundedGridRange2D___cmp__(self, *args)
6227 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange2D
6228 __del__ =
lambda self :
None;
6229 UnboundedGridRange2D_swigregister = _IMP_algebra.UnboundedGridRange2D_swigregister
6230 UnboundedGridRange2D_swigregister(UnboundedGridRange2D)
6232 def UnboundedGridRange2D_get_is_bounded():
6233 """UnboundedGridRange2D_get_is_bounded() -> bool"""
6234 return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
6236 class UnboundedGridRange3D(_object):
6237 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(3)> class"""
6238 __swig_setmethods__ = {}
6239 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRange3D, name, value)
6240 __swig_getmethods__ = {}
6241 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRange3D, name)
6242 def __init__(self, *args):
6244 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self) -> UnboundedGridRange3D
6245 __init__(IMP::algebra::UnboundedGridRangeD<(3)> self, IMP::Ints const & arg2) -> UnboundedGridRange3D
6247 this = _IMP_algebra.new_UnboundedGridRange3D(*args)
6248 try: self.this.append(this)
6249 except: self.this = this
6250 def set_number_of_voxels(self, *args):
6251 """set_number_of_voxels(UnboundedGridRange3D self, IMP::Ints arg2)"""
6252 return _IMP_algebra.UnboundedGridRange3D_set_number_of_voxels(self, *args)
6254 def get_number_of_voxels(self, *args):
6255 """get_number_of_voxels(UnboundedGridRange3D self, int arg2) -> unsigned int"""
6256 return _IMP_algebra.UnboundedGridRange3D_get_number_of_voxels(self, *args)
6258 def get_is_bounded():
6259 """get_is_bounded() -> bool"""
6260 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
6262 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6263 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6264 def get_has_index(self, *args):
6265 """get_has_index(UnboundedGridRange3D self, ExtendedGridIndex3D arg2) -> bool"""
6266 return _IMP_algebra.UnboundedGridRange3D_get_has_index(self, *args)
6268 def show(self, *args):
6270 show(UnboundedGridRange3D self, _ostream out=std::cout)
6271 show(UnboundedGridRange3D self)
6273 return _IMP_algebra.UnboundedGridRange3D_show(self, *args)
6275 def get_extended_indexes(self, *args):
6276 """get_extended_indexes(UnboundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
6277 return _IMP_algebra.UnboundedGridRange3D_get_extended_indexes(self, *args)
6280 """__str__(UnboundedGridRange3D self) -> std::string"""
6281 return _IMP_algebra.UnboundedGridRange3D___str__(self)
6284 """__repr__(UnboundedGridRange3D self) -> std::string"""
6285 return _IMP_algebra.UnboundedGridRange3D___repr__(self)
6287 def __cmp__(self, *args):
6288 """__cmp__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> int"""
6289 return _IMP_algebra.UnboundedGridRange3D___cmp__(self, *args)
6291 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange3D
6292 __del__ =
lambda self :
None;
6293 UnboundedGridRange3D_swigregister = _IMP_algebra.UnboundedGridRange3D_swigregister
6294 UnboundedGridRange3D_swigregister(UnboundedGridRange3D)
6296 def UnboundedGridRange3D_get_is_bounded():
6297 """UnboundedGridRange3D_get_is_bounded() -> bool"""
6298 return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
6300 class UnboundedGridRange4D(_object):
6301 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(4)> class"""
6302 __swig_setmethods__ = {}
6303 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRange4D, name, value)
6304 __swig_getmethods__ = {}
6305 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRange4D, name)
6306 def __init__(self, *args):
6308 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self) -> UnboundedGridRange4D
6309 __init__(IMP::algebra::UnboundedGridRangeD<(4)> self, IMP::Ints const & arg2) -> UnboundedGridRange4D
6311 this = _IMP_algebra.new_UnboundedGridRange4D(*args)
6312 try: self.this.append(this)
6313 except: self.this = this
6314 def set_number_of_voxels(self, *args):
6315 """set_number_of_voxels(UnboundedGridRange4D self, IMP::Ints arg2)"""
6316 return _IMP_algebra.UnboundedGridRange4D_set_number_of_voxels(self, *args)
6318 def get_number_of_voxels(self, *args):
6319 """get_number_of_voxels(UnboundedGridRange4D self, int arg2) -> unsigned int"""
6320 return _IMP_algebra.UnboundedGridRange4D_get_number_of_voxels(self, *args)
6322 def get_is_bounded():
6323 """get_is_bounded() -> bool"""
6324 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
6326 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6327 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6328 def get_has_index(self, *args):
6329 """get_has_index(UnboundedGridRange4D self, ExtendedGridIndex4D arg2) -> bool"""
6330 return _IMP_algebra.UnboundedGridRange4D_get_has_index(self, *args)
6332 def show(self, *args):
6334 show(UnboundedGridRange4D self, _ostream out=std::cout)
6335 show(UnboundedGridRange4D self)
6337 return _IMP_algebra.UnboundedGridRange4D_show(self, *args)
6339 def get_extended_indexes(self, *args):
6340 """get_extended_indexes(UnboundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
6341 return _IMP_algebra.UnboundedGridRange4D_get_extended_indexes(self, *args)
6344 """__str__(UnboundedGridRange4D self) -> std::string"""
6345 return _IMP_algebra.UnboundedGridRange4D___str__(self)
6348 """__repr__(UnboundedGridRange4D self) -> std::string"""
6349 return _IMP_algebra.UnboundedGridRange4D___repr__(self)
6351 def __cmp__(self, *args):
6352 """__cmp__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> int"""
6353 return _IMP_algebra.UnboundedGridRange4D___cmp__(self, *args)
6355 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange4D
6356 __del__ =
lambda self :
None;
6357 UnboundedGridRange4D_swigregister = _IMP_algebra.UnboundedGridRange4D_swigregister
6358 UnboundedGridRange4D_swigregister(UnboundedGridRange4D)
6360 def UnboundedGridRange4D_get_is_bounded():
6361 """UnboundedGridRange4D_get_is_bounded() -> bool"""
6362 return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
6364 class UnboundedGridRange5D(_object):
6365 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(5)> class"""
6366 __swig_setmethods__ = {}
6367 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRange5D, name, value)
6368 __swig_getmethods__ = {}
6369 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRange5D, name)
6370 def __init__(self, *args):
6372 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self) -> UnboundedGridRange5D
6373 __init__(IMP::algebra::UnboundedGridRangeD<(5)> self, IMP::Ints const & arg2) -> UnboundedGridRange5D
6375 this = _IMP_algebra.new_UnboundedGridRange5D(*args)
6376 try: self.this.append(this)
6377 except: self.this = this
6378 def set_number_of_voxels(self, *args):
6379 """set_number_of_voxels(UnboundedGridRange5D self, IMP::Ints arg2)"""
6380 return _IMP_algebra.UnboundedGridRange5D_set_number_of_voxels(self, *args)
6382 def get_number_of_voxels(self, *args):
6383 """get_number_of_voxels(UnboundedGridRange5D self, int arg2) -> unsigned int"""
6384 return _IMP_algebra.UnboundedGridRange5D_get_number_of_voxels(self, *args)
6386 def get_is_bounded():
6387 """get_is_bounded() -> bool"""
6388 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
6390 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6391 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6392 def get_has_index(self, *args):
6393 """get_has_index(UnboundedGridRange5D self, ExtendedGridIndex5D arg2) -> bool"""
6394 return _IMP_algebra.UnboundedGridRange5D_get_has_index(self, *args)
6396 def show(self, *args):
6398 show(UnboundedGridRange5D self, _ostream out=std::cout)
6399 show(UnboundedGridRange5D self)
6401 return _IMP_algebra.UnboundedGridRange5D_show(self, *args)
6403 def get_extended_indexes(self, *args):
6404 """get_extended_indexes(UnboundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
6405 return _IMP_algebra.UnboundedGridRange5D_get_extended_indexes(self, *args)
6408 """__str__(UnboundedGridRange5D self) -> std::string"""
6409 return _IMP_algebra.UnboundedGridRange5D___str__(self)
6412 """__repr__(UnboundedGridRange5D self) -> std::string"""
6413 return _IMP_algebra.UnboundedGridRange5D___repr__(self)
6415 def __cmp__(self, *args):
6416 """__cmp__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> int"""
6417 return _IMP_algebra.UnboundedGridRange5D___cmp__(self, *args)
6419 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange5D
6420 __del__ =
lambda self :
None;
6421 UnboundedGridRange5D_swigregister = _IMP_algebra.UnboundedGridRange5D_swigregister
6422 UnboundedGridRange5D_swigregister(UnboundedGridRange5D)
6424 def UnboundedGridRange5D_get_is_bounded():
6425 """UnboundedGridRange5D_get_is_bounded() -> bool"""
6426 return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
6428 class UnboundedGridRange6D(_object):
6429 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(6)> class"""
6430 __swig_setmethods__ = {}
6431 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRange6D, name, value)
6432 __swig_getmethods__ = {}
6433 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRange6D, name)
6434 def __init__(self, *args):
6436 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self) -> UnboundedGridRange6D
6437 __init__(IMP::algebra::UnboundedGridRangeD<(6)> self, IMP::Ints const & arg2) -> UnboundedGridRange6D
6439 this = _IMP_algebra.new_UnboundedGridRange6D(*args)
6440 try: self.this.append(this)
6441 except: self.this = this
6442 def set_number_of_voxels(self, *args):
6443 """set_number_of_voxels(UnboundedGridRange6D self, IMP::Ints arg2)"""
6444 return _IMP_algebra.UnboundedGridRange6D_set_number_of_voxels(self, *args)
6446 def get_number_of_voxels(self, *args):
6447 """get_number_of_voxels(UnboundedGridRange6D self, int arg2) -> unsigned int"""
6448 return _IMP_algebra.UnboundedGridRange6D_get_number_of_voxels(self, *args)
6450 def get_is_bounded():
6451 """get_is_bounded() -> bool"""
6452 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
6454 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6455 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6456 def get_has_index(self, *args):
6457 """get_has_index(UnboundedGridRange6D self, ExtendedGridIndex6D arg2) -> bool"""
6458 return _IMP_algebra.UnboundedGridRange6D_get_has_index(self, *args)
6460 def show(self, *args):
6462 show(UnboundedGridRange6D self, _ostream out=std::cout)
6463 show(UnboundedGridRange6D self)
6465 return _IMP_algebra.UnboundedGridRange6D_show(self, *args)
6467 def get_extended_indexes(self, *args):
6468 """get_extended_indexes(UnboundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
6469 return _IMP_algebra.UnboundedGridRange6D_get_extended_indexes(self, *args)
6472 """__str__(UnboundedGridRange6D self) -> std::string"""
6473 return _IMP_algebra.UnboundedGridRange6D___str__(self)
6476 """__repr__(UnboundedGridRange6D self) -> std::string"""
6477 return _IMP_algebra.UnboundedGridRange6D___repr__(self)
6479 def __cmp__(self, *args):
6480 """__cmp__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> int"""
6481 return _IMP_algebra.UnboundedGridRange6D___cmp__(self, *args)
6483 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange6D
6484 __del__ =
lambda self :
None;
6485 UnboundedGridRange6D_swigregister = _IMP_algebra.UnboundedGridRange6D_swigregister
6486 UnboundedGridRange6D_swigregister(UnboundedGridRange6D)
6488 def UnboundedGridRange6D_get_is_bounded():
6489 """UnboundedGridRange6D_get_is_bounded() -> bool"""
6490 return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
6492 class UnboundedGridRangeKD(_object):
6493 """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(-1)> class"""
6494 __swig_setmethods__ = {}
6495 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnboundedGridRangeKD, name, value)
6496 __swig_getmethods__ = {}
6497 __getattr__ =
lambda self, name: _swig_getattr(self, UnboundedGridRangeKD, name)
6498 def __init__(self, *args):
6500 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self) -> UnboundedGridRangeKD
6501 __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self, IMP::Ints const & arg2) -> UnboundedGridRangeKD
6503 this = _IMP_algebra.new_UnboundedGridRangeKD(*args)
6504 try: self.this.append(this)
6505 except: self.this = this
6506 def set_number_of_voxels(self, *args):
6507 """set_number_of_voxels(UnboundedGridRangeKD self, IMP::Ints arg2)"""
6508 return _IMP_algebra.UnboundedGridRangeKD_set_number_of_voxels(self, *args)
6510 def get_number_of_voxels(self, *args):
6511 """get_number_of_voxels(UnboundedGridRangeKD self, int arg2) -> unsigned int"""
6512 return _IMP_algebra.UnboundedGridRangeKD_get_number_of_voxels(self, *args)
6514 def get_is_bounded():
6515 """get_is_bounded() -> bool"""
6516 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
6518 if _newclass:get_is_bounded = staticmethod(get_is_bounded)
6519 __swig_getmethods__[
"get_is_bounded"] =
lambda x: get_is_bounded
6520 def get_has_index(self, *args):
6521 """get_has_index(UnboundedGridRangeKD self, ExtendedGridIndexKD arg2) -> bool"""
6522 return _IMP_algebra.UnboundedGridRangeKD_get_has_index(self, *args)
6524 def show(self, *args):
6526 show(UnboundedGridRangeKD self, _ostream out=std::cout)
6527 show(UnboundedGridRangeKD self)
6529 return _IMP_algebra.UnboundedGridRangeKD_show(self, *args)
6531 def get_extended_indexes(self, *args):
6532 """get_extended_indexes(UnboundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
6533 return _IMP_algebra.UnboundedGridRangeKD_get_extended_indexes(self, *args)
6536 """__str__(UnboundedGridRangeKD self) -> std::string"""
6537 return _IMP_algebra.UnboundedGridRangeKD___str__(self)
6540 """__repr__(UnboundedGridRangeKD self) -> std::string"""
6541 return _IMP_algebra.UnboundedGridRangeKD___repr__(self)
6543 def __cmp__(self, *args):
6544 """__cmp__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> int"""
6545 return _IMP_algebra.UnboundedGridRangeKD___cmp__(self, *args)
6547 __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRangeKD
6548 __del__ =
lambda self :
None;
6549 UnboundedGridRangeKD_swigregister = _IMP_algebra.UnboundedGridRangeKD_swigregister
6550 UnboundedGridRangeKD_swigregister(UnboundedGridRangeKD)
6552 def UnboundedGridRangeKD_get_is_bounded():
6553 """UnboundedGridRangeKD_get_is_bounded() -> bool"""
6554 return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
6556 class DefaultEmbedding1D(_object):
6557 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(1)> class"""
6558 __swig_setmethods__ = {}
6559 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbedding1D, name, value)
6560 __swig_getmethods__ = {}
6561 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbedding1D, name)
6562 def __init__(self, *args):
6564 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self, Vector1D origin, Vector1D cell) -> DefaultEmbedding1D
6565 __init__(IMP::algebra::DefaultEmbeddingD<(1)> self) -> DefaultEmbedding1D
6567 this = _IMP_algebra.new_DefaultEmbedding1D(*args)
6568 try: self.this.append(this)
6569 except: self.this = this
6570 def set_origin(self, *args):
6571 """set_origin(DefaultEmbedding1D self, Vector1D o)"""
6572 return _IMP_algebra.DefaultEmbedding1D_set_origin(self, *args)
6574 def get_origin(self):
6575 """get_origin(DefaultEmbedding1D self) -> Vector1D"""
6576 return _IMP_algebra.DefaultEmbedding1D_get_origin(self)
6578 def get_dimension(self):
6579 """get_dimension(DefaultEmbedding1D self) -> unsigned int"""
6580 return _IMP_algebra.DefaultEmbedding1D_get_dimension(self)
6582 def set_unit_cell(self, *args):
6583 """set_unit_cell(DefaultEmbedding1D self, Vector1D o)"""
6584 return _IMP_algebra.DefaultEmbedding1D_set_unit_cell(self, *args)
6586 def get_inverse_unit_cell(self):
6587 """get_inverse_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
6588 return _IMP_algebra.DefaultEmbedding1D_get_inverse_unit_cell(self)
6590 def get_unit_cell(self):
6591 """get_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
6592 return _IMP_algebra.DefaultEmbedding1D_get_unit_cell(self)
6594 def get_extended_index(self, *args):
6595 """get_extended_index(DefaultEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
6596 return _IMP_algebra.DefaultEmbedding1D_get_extended_index(self, *args)
6599 """get_index(DefaultEmbedding1D self, Vector1D o) -> GridIndex1D"""
6600 return _IMP_algebra.DefaultEmbedding1D_get_index(self, *args)
6602 def get_center(self, *args):
6604 get_center(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
6605 get_center(DefaultEmbedding1D self, GridIndex1D ei) -> Vector1D
6607 return _IMP_algebra.DefaultEmbedding1D_get_center(self, *args)
6611 get_bounding_box(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
6612 get_bounding_box(DefaultEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
6614 return _IMP_algebra.DefaultEmbedding1D_get_bounding_box(self, *args)
6616 def show(self, *args):
6618 show(DefaultEmbedding1D self, _ostream out=std::cout)
6619 show(DefaultEmbedding1D self)
6621 return _IMP_algebra.DefaultEmbedding1D_show(self, *args)
6624 """__str__(DefaultEmbedding1D self) -> std::string"""
6625 return _IMP_algebra.DefaultEmbedding1D___str__(self)
6628 """__repr__(DefaultEmbedding1D self) -> std::string"""
6629 return _IMP_algebra.DefaultEmbedding1D___repr__(self)
6631 def __cmp__(self, *args):
6632 """__cmp__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> int"""
6633 return _IMP_algebra.DefaultEmbedding1D___cmp__(self, *args)
6635 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding1D
6636 __del__ =
lambda self :
None;
6637 DefaultEmbedding1D_swigregister = _IMP_algebra.DefaultEmbedding1D_swigregister
6638 DefaultEmbedding1D_swigregister(DefaultEmbedding1D)
6640 class DefaultEmbedding2D(_object):
6641 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(2)> class"""
6642 __swig_setmethods__ = {}
6643 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbedding2D, name, value)
6644 __swig_getmethods__ = {}
6645 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbedding2D, name)
6646 def __init__(self, *args):
6648 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self, Vector2D origin, Vector2D cell) -> DefaultEmbedding2D
6649 __init__(IMP::algebra::DefaultEmbeddingD<(2)> self) -> DefaultEmbedding2D
6651 this = _IMP_algebra.new_DefaultEmbedding2D(*args)
6652 try: self.this.append(this)
6653 except: self.this = this
6654 def set_origin(self, *args):
6655 """set_origin(DefaultEmbedding2D self, Vector2D o)"""
6656 return _IMP_algebra.DefaultEmbedding2D_set_origin(self, *args)
6658 def get_origin(self):
6659 """get_origin(DefaultEmbedding2D self) -> Vector2D"""
6660 return _IMP_algebra.DefaultEmbedding2D_get_origin(self)
6662 def get_dimension(self):
6663 """get_dimension(DefaultEmbedding2D self) -> unsigned int"""
6664 return _IMP_algebra.DefaultEmbedding2D_get_dimension(self)
6666 def set_unit_cell(self, *args):
6667 """set_unit_cell(DefaultEmbedding2D self, Vector2D o)"""
6668 return _IMP_algebra.DefaultEmbedding2D_set_unit_cell(self, *args)
6670 def get_inverse_unit_cell(self):
6671 """get_inverse_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
6672 return _IMP_algebra.DefaultEmbedding2D_get_inverse_unit_cell(self)
6674 def get_unit_cell(self):
6675 """get_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
6676 return _IMP_algebra.DefaultEmbedding2D_get_unit_cell(self)
6678 def get_extended_index(self, *args):
6679 """get_extended_index(DefaultEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
6680 return _IMP_algebra.DefaultEmbedding2D_get_extended_index(self, *args)
6683 """get_index(DefaultEmbedding2D self, Vector2D o) -> GridIndex2D"""
6684 return _IMP_algebra.DefaultEmbedding2D_get_index(self, *args)
6686 def get_center(self, *args):
6688 get_center(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
6689 get_center(DefaultEmbedding2D self, GridIndex2D ei) -> Vector2D
6691 return _IMP_algebra.DefaultEmbedding2D_get_center(self, *args)
6695 get_bounding_box(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
6696 get_bounding_box(DefaultEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
6698 return _IMP_algebra.DefaultEmbedding2D_get_bounding_box(self, *args)
6700 def show(self, *args):
6702 show(DefaultEmbedding2D self, _ostream out=std::cout)
6703 show(DefaultEmbedding2D self)
6705 return _IMP_algebra.DefaultEmbedding2D_show(self, *args)
6708 """__str__(DefaultEmbedding2D self) -> std::string"""
6709 return _IMP_algebra.DefaultEmbedding2D___str__(self)
6712 """__repr__(DefaultEmbedding2D self) -> std::string"""
6713 return _IMP_algebra.DefaultEmbedding2D___repr__(self)
6715 def __cmp__(self, *args):
6716 """__cmp__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> int"""
6717 return _IMP_algebra.DefaultEmbedding2D___cmp__(self, *args)
6719 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding2D
6720 __del__ =
lambda self :
None;
6721 DefaultEmbedding2D_swigregister = _IMP_algebra.DefaultEmbedding2D_swigregister
6722 DefaultEmbedding2D_swigregister(DefaultEmbedding2D)
6724 class DefaultEmbedding3D(_object):
6725 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(3)> class"""
6726 __swig_setmethods__ = {}
6727 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbedding3D, name, value)
6728 __swig_getmethods__ = {}
6729 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbedding3D, name)
6730 def __init__(self, *args):
6732 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self, Vector3D origin, Vector3D cell) -> DefaultEmbedding3D
6733 __init__(IMP::algebra::DefaultEmbeddingD<(3)> self) -> DefaultEmbedding3D
6735 this = _IMP_algebra.new_DefaultEmbedding3D(*args)
6736 try: self.this.append(this)
6737 except: self.this = this
6738 def set_origin(self, *args):
6739 """set_origin(DefaultEmbedding3D self, Vector3D o)"""
6740 return _IMP_algebra.DefaultEmbedding3D_set_origin(self, *args)
6742 def get_origin(self):
6743 """get_origin(DefaultEmbedding3D self) -> Vector3D"""
6744 return _IMP_algebra.DefaultEmbedding3D_get_origin(self)
6746 def get_dimension(self):
6747 """get_dimension(DefaultEmbedding3D self) -> unsigned int"""
6748 return _IMP_algebra.DefaultEmbedding3D_get_dimension(self)
6750 def set_unit_cell(self, *args):
6751 """set_unit_cell(DefaultEmbedding3D self, Vector3D o)"""
6752 return _IMP_algebra.DefaultEmbedding3D_set_unit_cell(self, *args)
6754 def get_inverse_unit_cell(self):
6755 """get_inverse_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
6756 return _IMP_algebra.DefaultEmbedding3D_get_inverse_unit_cell(self)
6758 def get_unit_cell(self):
6759 """get_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
6760 return _IMP_algebra.DefaultEmbedding3D_get_unit_cell(self)
6762 def get_extended_index(self, *args):
6763 """get_extended_index(DefaultEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
6764 return _IMP_algebra.DefaultEmbedding3D_get_extended_index(self, *args)
6767 """get_index(DefaultEmbedding3D self, Vector3D o) -> GridIndex3D"""
6768 return _IMP_algebra.DefaultEmbedding3D_get_index(self, *args)
6770 def get_center(self, *args):
6772 get_center(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
6773 get_center(DefaultEmbedding3D self, GridIndex3D ei) -> Vector3D
6775 return _IMP_algebra.DefaultEmbedding3D_get_center(self, *args)
6779 get_bounding_box(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
6780 get_bounding_box(DefaultEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
6782 return _IMP_algebra.DefaultEmbedding3D_get_bounding_box(self, *args)
6784 def show(self, *args):
6786 show(DefaultEmbedding3D self, _ostream out=std::cout)
6787 show(DefaultEmbedding3D self)
6789 return _IMP_algebra.DefaultEmbedding3D_show(self, *args)
6792 """__str__(DefaultEmbedding3D self) -> std::string"""
6793 return _IMP_algebra.DefaultEmbedding3D___str__(self)
6796 """__repr__(DefaultEmbedding3D self) -> std::string"""
6797 return _IMP_algebra.DefaultEmbedding3D___repr__(self)
6799 def __cmp__(self, *args):
6800 """__cmp__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> int"""
6801 return _IMP_algebra.DefaultEmbedding3D___cmp__(self, *args)
6803 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding3D
6804 __del__ =
lambda self :
None;
6805 DefaultEmbedding3D_swigregister = _IMP_algebra.DefaultEmbedding3D_swigregister
6806 DefaultEmbedding3D_swigregister(DefaultEmbedding3D)
6808 class DefaultEmbedding4D(_object):
6809 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(4)> class"""
6810 __swig_setmethods__ = {}
6811 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbedding4D, name, value)
6812 __swig_getmethods__ = {}
6813 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbedding4D, name)
6814 def __init__(self, *args):
6816 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self, Vector4D origin, Vector4D cell) -> DefaultEmbedding4D
6817 __init__(IMP::algebra::DefaultEmbeddingD<(4)> self) -> DefaultEmbedding4D
6819 this = _IMP_algebra.new_DefaultEmbedding4D(*args)
6820 try: self.this.append(this)
6821 except: self.this = this
6822 def set_origin(self, *args):
6823 """set_origin(DefaultEmbedding4D self, Vector4D o)"""
6824 return _IMP_algebra.DefaultEmbedding4D_set_origin(self, *args)
6826 def get_origin(self):
6827 """get_origin(DefaultEmbedding4D self) -> Vector4D"""
6828 return _IMP_algebra.DefaultEmbedding4D_get_origin(self)
6830 def get_dimension(self):
6831 """get_dimension(DefaultEmbedding4D self) -> unsigned int"""
6832 return _IMP_algebra.DefaultEmbedding4D_get_dimension(self)
6834 def set_unit_cell(self, *args):
6835 """set_unit_cell(DefaultEmbedding4D self, Vector4D o)"""
6836 return _IMP_algebra.DefaultEmbedding4D_set_unit_cell(self, *args)
6838 def get_inverse_unit_cell(self):
6839 """get_inverse_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
6840 return _IMP_algebra.DefaultEmbedding4D_get_inverse_unit_cell(self)
6842 def get_unit_cell(self):
6843 """get_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
6844 return _IMP_algebra.DefaultEmbedding4D_get_unit_cell(self)
6846 def get_extended_index(self, *args):
6847 """get_extended_index(DefaultEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
6848 return _IMP_algebra.DefaultEmbedding4D_get_extended_index(self, *args)
6851 """get_index(DefaultEmbedding4D self, Vector4D o) -> GridIndex4D"""
6852 return _IMP_algebra.DefaultEmbedding4D_get_index(self, *args)
6854 def get_center(self, *args):
6856 get_center(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
6857 get_center(DefaultEmbedding4D self, GridIndex4D ei) -> Vector4D
6859 return _IMP_algebra.DefaultEmbedding4D_get_center(self, *args)
6863 get_bounding_box(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
6864 get_bounding_box(DefaultEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
6866 return _IMP_algebra.DefaultEmbedding4D_get_bounding_box(self, *args)
6868 def show(self, *args):
6870 show(DefaultEmbedding4D self, _ostream out=std::cout)
6871 show(DefaultEmbedding4D self)
6873 return _IMP_algebra.DefaultEmbedding4D_show(self, *args)
6876 """__str__(DefaultEmbedding4D self) -> std::string"""
6877 return _IMP_algebra.DefaultEmbedding4D___str__(self)
6880 """__repr__(DefaultEmbedding4D self) -> std::string"""
6881 return _IMP_algebra.DefaultEmbedding4D___repr__(self)
6883 def __cmp__(self, *args):
6884 """__cmp__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> int"""
6885 return _IMP_algebra.DefaultEmbedding4D___cmp__(self, *args)
6887 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding4D
6888 __del__ =
lambda self :
None;
6889 DefaultEmbedding4D_swigregister = _IMP_algebra.DefaultEmbedding4D_swigregister
6890 DefaultEmbedding4D_swigregister(DefaultEmbedding4D)
6892 class DefaultEmbedding5D(_object):
6893 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(5)> class"""
6894 __swig_setmethods__ = {}
6895 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbedding5D, name, value)
6896 __swig_getmethods__ = {}
6897 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbedding5D, name)
6898 def __init__(self, *args):
6900 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self, Vector5D origin, Vector5D cell) -> DefaultEmbedding5D
6901 __init__(IMP::algebra::DefaultEmbeddingD<(5)> self) -> DefaultEmbedding5D
6903 this = _IMP_algebra.new_DefaultEmbedding5D(*args)
6904 try: self.this.append(this)
6905 except: self.this = this
6906 def set_origin(self, *args):
6907 """set_origin(DefaultEmbedding5D self, Vector5D o)"""
6908 return _IMP_algebra.DefaultEmbedding5D_set_origin(self, *args)
6910 def get_origin(self):
6911 """get_origin(DefaultEmbedding5D self) -> Vector5D"""
6912 return _IMP_algebra.DefaultEmbedding5D_get_origin(self)
6914 def get_dimension(self):
6915 """get_dimension(DefaultEmbedding5D self) -> unsigned int"""
6916 return _IMP_algebra.DefaultEmbedding5D_get_dimension(self)
6918 def set_unit_cell(self, *args):
6919 """set_unit_cell(DefaultEmbedding5D self, Vector5D o)"""
6920 return _IMP_algebra.DefaultEmbedding5D_set_unit_cell(self, *args)
6922 def get_inverse_unit_cell(self):
6923 """get_inverse_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
6924 return _IMP_algebra.DefaultEmbedding5D_get_inverse_unit_cell(self)
6926 def get_unit_cell(self):
6927 """get_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
6928 return _IMP_algebra.DefaultEmbedding5D_get_unit_cell(self)
6930 def get_extended_index(self, *args):
6931 """get_extended_index(DefaultEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
6932 return _IMP_algebra.DefaultEmbedding5D_get_extended_index(self, *args)
6935 """get_index(DefaultEmbedding5D self, Vector5D o) -> GridIndex5D"""
6936 return _IMP_algebra.DefaultEmbedding5D_get_index(self, *args)
6938 def get_center(self, *args):
6940 get_center(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
6941 get_center(DefaultEmbedding5D self, GridIndex5D ei) -> Vector5D
6943 return _IMP_algebra.DefaultEmbedding5D_get_center(self, *args)
6947 get_bounding_box(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
6948 get_bounding_box(DefaultEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
6950 return _IMP_algebra.DefaultEmbedding5D_get_bounding_box(self, *args)
6952 def show(self, *args):
6954 show(DefaultEmbedding5D self, _ostream out=std::cout)
6955 show(DefaultEmbedding5D self)
6957 return _IMP_algebra.DefaultEmbedding5D_show(self, *args)
6960 """__str__(DefaultEmbedding5D self) -> std::string"""
6961 return _IMP_algebra.DefaultEmbedding5D___str__(self)
6964 """__repr__(DefaultEmbedding5D self) -> std::string"""
6965 return _IMP_algebra.DefaultEmbedding5D___repr__(self)
6967 def __cmp__(self, *args):
6968 """__cmp__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> int"""
6969 return _IMP_algebra.DefaultEmbedding5D___cmp__(self, *args)
6971 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding5D
6972 __del__ =
lambda self :
None;
6973 DefaultEmbedding5D_swigregister = _IMP_algebra.DefaultEmbedding5D_swigregister
6974 DefaultEmbedding5D_swigregister(DefaultEmbedding5D)
6976 class DefaultEmbedding6D(_object):
6977 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(6)> class"""
6978 __swig_setmethods__ = {}
6979 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbedding6D, name, value)
6980 __swig_getmethods__ = {}
6981 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbedding6D, name)
6982 def __init__(self, *args):
6984 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self, Vector6D origin, Vector6D cell) -> DefaultEmbedding6D
6985 __init__(IMP::algebra::DefaultEmbeddingD<(6)> self) -> DefaultEmbedding6D
6987 this = _IMP_algebra.new_DefaultEmbedding6D(*args)
6988 try: self.this.append(this)
6989 except: self.this = this
6990 def set_origin(self, *args):
6991 """set_origin(DefaultEmbedding6D self, Vector6D o)"""
6992 return _IMP_algebra.DefaultEmbedding6D_set_origin(self, *args)
6994 def get_origin(self):
6995 """get_origin(DefaultEmbedding6D self) -> Vector6D"""
6996 return _IMP_algebra.DefaultEmbedding6D_get_origin(self)
6998 def get_dimension(self):
6999 """get_dimension(DefaultEmbedding6D self) -> unsigned int"""
7000 return _IMP_algebra.DefaultEmbedding6D_get_dimension(self)
7002 def set_unit_cell(self, *args):
7003 """set_unit_cell(DefaultEmbedding6D self, Vector6D o)"""
7004 return _IMP_algebra.DefaultEmbedding6D_set_unit_cell(self, *args)
7006 def get_inverse_unit_cell(self):
7007 """get_inverse_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
7008 return _IMP_algebra.DefaultEmbedding6D_get_inverse_unit_cell(self)
7010 def get_unit_cell(self):
7011 """get_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
7012 return _IMP_algebra.DefaultEmbedding6D_get_unit_cell(self)
7014 def get_extended_index(self, *args):
7015 """get_extended_index(DefaultEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
7016 return _IMP_algebra.DefaultEmbedding6D_get_extended_index(self, *args)
7019 """get_index(DefaultEmbedding6D self, Vector6D o) -> GridIndex6D"""
7020 return _IMP_algebra.DefaultEmbedding6D_get_index(self, *args)
7022 def get_center(self, *args):
7024 get_center(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
7025 get_center(DefaultEmbedding6D self, GridIndex6D ei) -> Vector6D
7027 return _IMP_algebra.DefaultEmbedding6D_get_center(self, *args)
7031 get_bounding_box(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
7032 get_bounding_box(DefaultEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
7034 return _IMP_algebra.DefaultEmbedding6D_get_bounding_box(self, *args)
7036 def show(self, *args):
7038 show(DefaultEmbedding6D self, _ostream out=std::cout)
7039 show(DefaultEmbedding6D self)
7041 return _IMP_algebra.DefaultEmbedding6D_show(self, *args)
7044 """__str__(DefaultEmbedding6D self) -> std::string"""
7045 return _IMP_algebra.DefaultEmbedding6D___str__(self)
7048 """__repr__(DefaultEmbedding6D self) -> std::string"""
7049 return _IMP_algebra.DefaultEmbedding6D___repr__(self)
7051 def __cmp__(self, *args):
7052 """__cmp__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> int"""
7053 return _IMP_algebra.DefaultEmbedding6D___cmp__(self, *args)
7055 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding6D
7056 __del__ =
lambda self :
None;
7057 DefaultEmbedding6D_swigregister = _IMP_algebra.DefaultEmbedding6D_swigregister
7058 DefaultEmbedding6D_swigregister(DefaultEmbedding6D)
7060 class DefaultEmbeddingKD(_object):
7061 """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(-1)> class"""
7062 __swig_setmethods__ = {}
7063 __setattr__ =
lambda self, name, value: _swig_setattr(self, DefaultEmbeddingKD, name, value)
7064 __swig_getmethods__ = {}
7065 __getattr__ =
lambda self, name: _swig_getattr(self, DefaultEmbeddingKD, name)
7066 def __init__(self, *args):
7068 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell) -> DefaultEmbeddingKD
7069 __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self) -> DefaultEmbeddingKD
7071 this = _IMP_algebra.new_DefaultEmbeddingKD(*args)
7072 try: self.this.append(this)
7073 except: self.this = this
7074 def set_origin(self, *args):
7075 """set_origin(DefaultEmbeddingKD self, VectorKD o)"""
7076 return _IMP_algebra.DefaultEmbeddingKD_set_origin(self, *args)
7078 def get_origin(self):
7079 """get_origin(DefaultEmbeddingKD self) -> VectorKD"""
7080 return _IMP_algebra.DefaultEmbeddingKD_get_origin(self)
7082 def get_dimension(self):
7083 """get_dimension(DefaultEmbeddingKD self) -> unsigned int"""
7084 return _IMP_algebra.DefaultEmbeddingKD_get_dimension(self)
7086 def set_unit_cell(self, *args):
7087 """set_unit_cell(DefaultEmbeddingKD self, VectorKD o)"""
7088 return _IMP_algebra.DefaultEmbeddingKD_set_unit_cell(self, *args)
7090 def get_inverse_unit_cell(self):
7091 """get_inverse_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
7092 return _IMP_algebra.DefaultEmbeddingKD_get_inverse_unit_cell(self)
7094 def get_unit_cell(self):
7095 """get_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
7096 return _IMP_algebra.DefaultEmbeddingKD_get_unit_cell(self)
7098 def get_extended_index(self, *args):
7099 """get_extended_index(DefaultEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
7100 return _IMP_algebra.DefaultEmbeddingKD_get_extended_index(self, *args)
7103 """get_index(DefaultEmbeddingKD self, VectorKD o) -> GridIndexKD"""
7104 return _IMP_algebra.DefaultEmbeddingKD_get_index(self, *args)
7106 def get_center(self, *args):
7108 get_center(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
7109 get_center(DefaultEmbeddingKD self, GridIndexKD ei) -> VectorKD
7111 return _IMP_algebra.DefaultEmbeddingKD_get_center(self, *args)
7115 get_bounding_box(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
7116 get_bounding_box(DefaultEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
7118 return _IMP_algebra.DefaultEmbeddingKD_get_bounding_box(self, *args)
7120 def show(self, *args):
7122 show(DefaultEmbeddingKD self, _ostream out=std::cout)
7123 show(DefaultEmbeddingKD self)
7125 return _IMP_algebra.DefaultEmbeddingKD_show(self, *args)
7128 """__str__(DefaultEmbeddingKD self) -> std::string"""
7129 return _IMP_algebra.DefaultEmbeddingKD___str__(self)
7132 """__repr__(DefaultEmbeddingKD self) -> std::string"""
7133 return _IMP_algebra.DefaultEmbeddingKD___repr__(self)
7135 def __cmp__(self, *args):
7136 """__cmp__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> int"""
7137 return _IMP_algebra.DefaultEmbeddingKD___cmp__(self, *args)
7139 __swig_destroy__ = _IMP_algebra.delete_DefaultEmbeddingKD
7140 __del__ =
lambda self :
None;
7141 DefaultEmbeddingKD_swigregister = _IMP_algebra.DefaultEmbeddingKD_swigregister
7142 DefaultEmbeddingKD_swigregister(DefaultEmbeddingKD)
7144 class LogEmbedding1D(_object):
7145 """Proxy of C++ IMP::algebra::LogEmbeddingD<(1)> class"""
7146 __swig_setmethods__ = {}
7147 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbedding1D, name, value)
7148 __swig_getmethods__ = {}
7149 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbedding1D, name)
7150 def __init__(self, *args):
7152 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D origin, Vector1D cell, Vector1D base) -> LogEmbedding1D
7153 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding1D
7154 __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts) -> LogEmbedding1D
7155 __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D arg2, Vector1D arg3) -> LogEmbedding1D
7156 __init__(IMP::algebra::LogEmbeddingD<(1)> self) -> LogEmbedding1D
7158 this = _IMP_algebra.new_LogEmbedding1D(*args)
7159 try: self.this.append(this)
7160 except: self.this = this
7161 def set_origin(self, *args):
7162 """set_origin(LogEmbedding1D self, Vector1D o)"""
7163 return _IMP_algebra.LogEmbedding1D_set_origin(self, *args)
7165 def get_origin(self):
7166 """get_origin(LogEmbedding1D self) -> Vector1D"""
7167 return _IMP_algebra.LogEmbedding1D_get_origin(self)
7169 def get_dimension(self):
7170 """get_dimension(LogEmbedding1D self) -> unsigned int"""
7171 return _IMP_algebra.LogEmbedding1D_get_dimension(self)
7173 def set_unit_cell(self, *args):
7175 set_unit_cell(LogEmbedding1D self, Vector1D o, Vector1D base)
7176 set_unit_cell(LogEmbedding1D self, Vector1D o)
7178 return _IMP_algebra.LogEmbedding1D_set_unit_cell(self, *args)
7180 def get_unit_cell(self):
7181 """get_unit_cell(LogEmbedding1D self) -> Vector1D"""
7182 return _IMP_algebra.LogEmbedding1D_get_unit_cell(self)
7184 def get_extended_index(self, *args):
7185 """get_extended_index(LogEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
7186 return _IMP_algebra.LogEmbedding1D_get_extended_index(self, *args)
7189 """get_index(LogEmbedding1D self, Vector1D o) -> GridIndex1D"""
7190 return _IMP_algebra.LogEmbedding1D_get_index(self, *args)
7192 def get_center(self, *args):
7194 get_center(LogEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
7195 get_center(LogEmbedding1D self, GridIndex1D ei) -> Vector1D
7197 return _IMP_algebra.LogEmbedding1D_get_center(self, *args)
7201 get_bounding_box(LogEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
7202 get_bounding_box(LogEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
7204 return _IMP_algebra.LogEmbedding1D_get_bounding_box(self, *args)
7206 def show(self, *args):
7208 show(LogEmbedding1D self, _ostream out=std::cout)
7209 show(LogEmbedding1D self)
7211 return _IMP_algebra.LogEmbedding1D_show(self, *args)
7214 """__str__(LogEmbedding1D self) -> std::string"""
7215 return _IMP_algebra.LogEmbedding1D___str__(self)
7218 """__repr__(LogEmbedding1D self) -> std::string"""
7219 return _IMP_algebra.LogEmbedding1D___repr__(self)
7221 def __cmp__(self, *args):
7222 """__cmp__(LogEmbedding1D self, LogEmbedding1D arg2) -> int"""
7223 return _IMP_algebra.LogEmbedding1D___cmp__(self, *args)
7225 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding1D
7226 __del__ =
lambda self :
None;
7227 LogEmbedding1D_swigregister = _IMP_algebra.LogEmbedding1D_swigregister
7228 LogEmbedding1D_swigregister(LogEmbedding1D)
7230 class LogEmbedding2D(_object):
7231 """Proxy of C++ IMP::algebra::LogEmbeddingD<(2)> class"""
7232 __swig_setmethods__ = {}
7233 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbedding2D, name, value)
7234 __swig_getmethods__ = {}
7235 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbedding2D, name)
7236 def __init__(self, *args):
7238 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D origin, Vector2D cell, Vector2D base) -> LogEmbedding2D
7239 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding2D
7240 __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts) -> LogEmbedding2D
7241 __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D arg2, Vector2D arg3) -> LogEmbedding2D
7242 __init__(IMP::algebra::LogEmbeddingD<(2)> self) -> LogEmbedding2D
7244 this = _IMP_algebra.new_LogEmbedding2D(*args)
7245 try: self.this.append(this)
7246 except: self.this = this
7247 def set_origin(self, *args):
7248 """set_origin(LogEmbedding2D self, Vector2D o)"""
7249 return _IMP_algebra.LogEmbedding2D_set_origin(self, *args)
7251 def get_origin(self):
7252 """get_origin(LogEmbedding2D self) -> Vector2D"""
7253 return _IMP_algebra.LogEmbedding2D_get_origin(self)
7255 def get_dimension(self):
7256 """get_dimension(LogEmbedding2D self) -> unsigned int"""
7257 return _IMP_algebra.LogEmbedding2D_get_dimension(self)
7259 def set_unit_cell(self, *args):
7261 set_unit_cell(LogEmbedding2D self, Vector2D o, Vector2D base)
7262 set_unit_cell(LogEmbedding2D self, Vector2D o)
7264 return _IMP_algebra.LogEmbedding2D_set_unit_cell(self, *args)
7266 def get_unit_cell(self):
7267 """get_unit_cell(LogEmbedding2D self) -> Vector2D"""
7268 return _IMP_algebra.LogEmbedding2D_get_unit_cell(self)
7270 def get_extended_index(self, *args):
7271 """get_extended_index(LogEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
7272 return _IMP_algebra.LogEmbedding2D_get_extended_index(self, *args)
7275 """get_index(LogEmbedding2D self, Vector2D o) -> GridIndex2D"""
7276 return _IMP_algebra.LogEmbedding2D_get_index(self, *args)
7278 def get_center(self, *args):
7280 get_center(LogEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
7281 get_center(LogEmbedding2D self, GridIndex2D ei) -> Vector2D
7283 return _IMP_algebra.LogEmbedding2D_get_center(self, *args)
7287 get_bounding_box(LogEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
7288 get_bounding_box(LogEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
7290 return _IMP_algebra.LogEmbedding2D_get_bounding_box(self, *args)
7292 def show(self, *args):
7294 show(LogEmbedding2D self, _ostream out=std::cout)
7295 show(LogEmbedding2D self)
7297 return _IMP_algebra.LogEmbedding2D_show(self, *args)
7300 """__str__(LogEmbedding2D self) -> std::string"""
7301 return _IMP_algebra.LogEmbedding2D___str__(self)
7304 """__repr__(LogEmbedding2D self) -> std::string"""
7305 return _IMP_algebra.LogEmbedding2D___repr__(self)
7307 def __cmp__(self, *args):
7308 """__cmp__(LogEmbedding2D self, LogEmbedding2D arg2) -> int"""
7309 return _IMP_algebra.LogEmbedding2D___cmp__(self, *args)
7311 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding2D
7312 __del__ =
lambda self :
None;
7313 LogEmbedding2D_swigregister = _IMP_algebra.LogEmbedding2D_swigregister
7314 LogEmbedding2D_swigregister(LogEmbedding2D)
7316 class LogEmbedding3D(_object):
7317 """Proxy of C++ IMP::algebra::LogEmbeddingD<(3)> class"""
7318 __swig_setmethods__ = {}
7319 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbedding3D, name, value)
7320 __swig_getmethods__ = {}
7321 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbedding3D, name)
7322 def __init__(self, *args):
7324 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D origin, Vector3D cell, Vector3D base) -> LogEmbedding3D
7325 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding3D
7326 __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts) -> LogEmbedding3D
7327 __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D arg2, Vector3D arg3) -> LogEmbedding3D
7328 __init__(IMP::algebra::LogEmbeddingD<(3)> self) -> LogEmbedding3D
7330 this = _IMP_algebra.new_LogEmbedding3D(*args)
7331 try: self.this.append(this)
7332 except: self.this = this
7333 def set_origin(self, *args):
7334 """set_origin(LogEmbedding3D self, Vector3D o)"""
7335 return _IMP_algebra.LogEmbedding3D_set_origin(self, *args)
7337 def get_origin(self):
7338 """get_origin(LogEmbedding3D self) -> Vector3D"""
7339 return _IMP_algebra.LogEmbedding3D_get_origin(self)
7341 def get_dimension(self):
7342 """get_dimension(LogEmbedding3D self) -> unsigned int"""
7343 return _IMP_algebra.LogEmbedding3D_get_dimension(self)
7345 def set_unit_cell(self, *args):
7347 set_unit_cell(LogEmbedding3D self, Vector3D o, Vector3D base)
7348 set_unit_cell(LogEmbedding3D self, Vector3D o)
7350 return _IMP_algebra.LogEmbedding3D_set_unit_cell(self, *args)
7352 def get_unit_cell(self):
7353 """get_unit_cell(LogEmbedding3D self) -> Vector3D"""
7354 return _IMP_algebra.LogEmbedding3D_get_unit_cell(self)
7356 def get_extended_index(self, *args):
7357 """get_extended_index(LogEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
7358 return _IMP_algebra.LogEmbedding3D_get_extended_index(self, *args)
7361 """get_index(LogEmbedding3D self, Vector3D o) -> GridIndex3D"""
7362 return _IMP_algebra.LogEmbedding3D_get_index(self, *args)
7364 def get_center(self, *args):
7366 get_center(LogEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
7367 get_center(LogEmbedding3D self, GridIndex3D ei) -> Vector3D
7369 return _IMP_algebra.LogEmbedding3D_get_center(self, *args)
7373 get_bounding_box(LogEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
7374 get_bounding_box(LogEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
7376 return _IMP_algebra.LogEmbedding3D_get_bounding_box(self, *args)
7378 def show(self, *args):
7380 show(LogEmbedding3D self, _ostream out=std::cout)
7381 show(LogEmbedding3D self)
7383 return _IMP_algebra.LogEmbedding3D_show(self, *args)
7386 """__str__(LogEmbedding3D self) -> std::string"""
7387 return _IMP_algebra.LogEmbedding3D___str__(self)
7390 """__repr__(LogEmbedding3D self) -> std::string"""
7391 return _IMP_algebra.LogEmbedding3D___repr__(self)
7393 def __cmp__(self, *args):
7394 """__cmp__(LogEmbedding3D self, LogEmbedding3D arg2) -> int"""
7395 return _IMP_algebra.LogEmbedding3D___cmp__(self, *args)
7397 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding3D
7398 __del__ =
lambda self :
None;
7399 LogEmbedding3D_swigregister = _IMP_algebra.LogEmbedding3D_swigregister
7400 LogEmbedding3D_swigregister(LogEmbedding3D)
7402 class LogEmbedding4D(_object):
7403 """Proxy of C++ IMP::algebra::LogEmbeddingD<(4)> class"""
7404 __swig_setmethods__ = {}
7405 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbedding4D, name, value)
7406 __swig_getmethods__ = {}
7407 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbedding4D, name)
7408 def __init__(self, *args):
7410 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D origin, Vector4D cell, Vector4D base) -> LogEmbedding4D
7411 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding4D
7412 __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts) -> LogEmbedding4D
7413 __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D arg2, Vector4D arg3) -> LogEmbedding4D
7414 __init__(IMP::algebra::LogEmbeddingD<(4)> self) -> LogEmbedding4D
7416 this = _IMP_algebra.new_LogEmbedding4D(*args)
7417 try: self.this.append(this)
7418 except: self.this = this
7419 def set_origin(self, *args):
7420 """set_origin(LogEmbedding4D self, Vector4D o)"""
7421 return _IMP_algebra.LogEmbedding4D_set_origin(self, *args)
7423 def get_origin(self):
7424 """get_origin(LogEmbedding4D self) -> Vector4D"""
7425 return _IMP_algebra.LogEmbedding4D_get_origin(self)
7427 def get_dimension(self):
7428 """get_dimension(LogEmbedding4D self) -> unsigned int"""
7429 return _IMP_algebra.LogEmbedding4D_get_dimension(self)
7431 def set_unit_cell(self, *args):
7433 set_unit_cell(LogEmbedding4D self, Vector4D o, Vector4D base)
7434 set_unit_cell(LogEmbedding4D self, Vector4D o)
7436 return _IMP_algebra.LogEmbedding4D_set_unit_cell(self, *args)
7438 def get_unit_cell(self):
7439 """get_unit_cell(LogEmbedding4D self) -> Vector4D"""
7440 return _IMP_algebra.LogEmbedding4D_get_unit_cell(self)
7442 def get_extended_index(self, *args):
7443 """get_extended_index(LogEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
7444 return _IMP_algebra.LogEmbedding4D_get_extended_index(self, *args)
7447 """get_index(LogEmbedding4D self, Vector4D o) -> GridIndex4D"""
7448 return _IMP_algebra.LogEmbedding4D_get_index(self, *args)
7450 def get_center(self, *args):
7452 get_center(LogEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
7453 get_center(LogEmbedding4D self, GridIndex4D ei) -> Vector4D
7455 return _IMP_algebra.LogEmbedding4D_get_center(self, *args)
7459 get_bounding_box(LogEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
7460 get_bounding_box(LogEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
7462 return _IMP_algebra.LogEmbedding4D_get_bounding_box(self, *args)
7464 def show(self, *args):
7466 show(LogEmbedding4D self, _ostream out=std::cout)
7467 show(LogEmbedding4D self)
7469 return _IMP_algebra.LogEmbedding4D_show(self, *args)
7472 """__str__(LogEmbedding4D self) -> std::string"""
7473 return _IMP_algebra.LogEmbedding4D___str__(self)
7476 """__repr__(LogEmbedding4D self) -> std::string"""
7477 return _IMP_algebra.LogEmbedding4D___repr__(self)
7479 def __cmp__(self, *args):
7480 """__cmp__(LogEmbedding4D self, LogEmbedding4D arg2) -> int"""
7481 return _IMP_algebra.LogEmbedding4D___cmp__(self, *args)
7483 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding4D
7484 __del__ =
lambda self :
None;
7485 LogEmbedding4D_swigregister = _IMP_algebra.LogEmbedding4D_swigregister
7486 LogEmbedding4D_swigregister(LogEmbedding4D)
7488 class LogEmbedding5D(_object):
7489 """Proxy of C++ IMP::algebra::LogEmbeddingD<(5)> class"""
7490 __swig_setmethods__ = {}
7491 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbedding5D, name, value)
7492 __swig_getmethods__ = {}
7493 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbedding5D, name)
7494 def __init__(self, *args):
7496 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D origin, Vector5D cell, Vector5D base) -> LogEmbedding5D
7497 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding5D
7498 __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts) -> LogEmbedding5D
7499 __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D arg2, Vector5D arg3) -> LogEmbedding5D
7500 __init__(IMP::algebra::LogEmbeddingD<(5)> self) -> LogEmbedding5D
7502 this = _IMP_algebra.new_LogEmbedding5D(*args)
7503 try: self.this.append(this)
7504 except: self.this = this
7505 def set_origin(self, *args):
7506 """set_origin(LogEmbedding5D self, Vector5D o)"""
7507 return _IMP_algebra.LogEmbedding5D_set_origin(self, *args)
7509 def get_origin(self):
7510 """get_origin(LogEmbedding5D self) -> Vector5D"""
7511 return _IMP_algebra.LogEmbedding5D_get_origin(self)
7513 def get_dimension(self):
7514 """get_dimension(LogEmbedding5D self) -> unsigned int"""
7515 return _IMP_algebra.LogEmbedding5D_get_dimension(self)
7517 def set_unit_cell(self, *args):
7519 set_unit_cell(LogEmbedding5D self, Vector5D o, Vector5D base)
7520 set_unit_cell(LogEmbedding5D self, Vector5D o)
7522 return _IMP_algebra.LogEmbedding5D_set_unit_cell(self, *args)
7524 def get_unit_cell(self):
7525 """get_unit_cell(LogEmbedding5D self) -> Vector5D"""
7526 return _IMP_algebra.LogEmbedding5D_get_unit_cell(self)
7528 def get_extended_index(self, *args):
7529 """get_extended_index(LogEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
7530 return _IMP_algebra.LogEmbedding5D_get_extended_index(self, *args)
7533 """get_index(LogEmbedding5D self, Vector5D o) -> GridIndex5D"""
7534 return _IMP_algebra.LogEmbedding5D_get_index(self, *args)
7536 def get_center(self, *args):
7538 get_center(LogEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
7539 get_center(LogEmbedding5D self, GridIndex5D ei) -> Vector5D
7541 return _IMP_algebra.LogEmbedding5D_get_center(self, *args)
7545 get_bounding_box(LogEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
7546 get_bounding_box(LogEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
7548 return _IMP_algebra.LogEmbedding5D_get_bounding_box(self, *args)
7550 def show(self, *args):
7552 show(LogEmbedding5D self, _ostream out=std::cout)
7553 show(LogEmbedding5D self)
7555 return _IMP_algebra.LogEmbedding5D_show(self, *args)
7558 """__str__(LogEmbedding5D self) -> std::string"""
7559 return _IMP_algebra.LogEmbedding5D___str__(self)
7562 """__repr__(LogEmbedding5D self) -> std::string"""
7563 return _IMP_algebra.LogEmbedding5D___repr__(self)
7565 def __cmp__(self, *args):
7566 """__cmp__(LogEmbedding5D self, LogEmbedding5D arg2) -> int"""
7567 return _IMP_algebra.LogEmbedding5D___cmp__(self, *args)
7569 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding5D
7570 __del__ =
lambda self :
None;
7571 LogEmbedding5D_swigregister = _IMP_algebra.LogEmbedding5D_swigregister
7572 LogEmbedding5D_swigregister(LogEmbedding5D)
7574 class LogEmbedding6D(_object):
7575 """Proxy of C++ IMP::algebra::LogEmbeddingD<(6)> class"""
7576 __swig_setmethods__ = {}
7577 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbedding6D, name, value)
7578 __swig_getmethods__ = {}
7579 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbedding6D, name)
7580 def __init__(self, *args):
7582 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D origin, Vector6D cell, Vector6D base) -> LogEmbedding6D
7583 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding6D
7584 __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts) -> LogEmbedding6D
7585 __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D arg2, Vector6D arg3) -> LogEmbedding6D
7586 __init__(IMP::algebra::LogEmbeddingD<(6)> self) -> LogEmbedding6D
7588 this = _IMP_algebra.new_LogEmbedding6D(*args)
7589 try: self.this.append(this)
7590 except: self.this = this
7591 def set_origin(self, *args):
7592 """set_origin(LogEmbedding6D self, Vector6D o)"""
7593 return _IMP_algebra.LogEmbedding6D_set_origin(self, *args)
7595 def get_origin(self):
7596 """get_origin(LogEmbedding6D self) -> Vector6D"""
7597 return _IMP_algebra.LogEmbedding6D_get_origin(self)
7599 def get_dimension(self):
7600 """get_dimension(LogEmbedding6D self) -> unsigned int"""
7601 return _IMP_algebra.LogEmbedding6D_get_dimension(self)
7603 def set_unit_cell(self, *args):
7605 set_unit_cell(LogEmbedding6D self, Vector6D o, Vector6D base)
7606 set_unit_cell(LogEmbedding6D self, Vector6D o)
7608 return _IMP_algebra.LogEmbedding6D_set_unit_cell(self, *args)
7610 def get_unit_cell(self):
7611 """get_unit_cell(LogEmbedding6D self) -> Vector6D"""
7612 return _IMP_algebra.LogEmbedding6D_get_unit_cell(self)
7614 def get_extended_index(self, *args):
7615 """get_extended_index(LogEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
7616 return _IMP_algebra.LogEmbedding6D_get_extended_index(self, *args)
7619 """get_index(LogEmbedding6D self, Vector6D o) -> GridIndex6D"""
7620 return _IMP_algebra.LogEmbedding6D_get_index(self, *args)
7622 def get_center(self, *args):
7624 get_center(LogEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
7625 get_center(LogEmbedding6D self, GridIndex6D ei) -> Vector6D
7627 return _IMP_algebra.LogEmbedding6D_get_center(self, *args)
7631 get_bounding_box(LogEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
7632 get_bounding_box(LogEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
7634 return _IMP_algebra.LogEmbedding6D_get_bounding_box(self, *args)
7636 def show(self, *args):
7638 show(LogEmbedding6D self, _ostream out=std::cout)
7639 show(LogEmbedding6D self)
7641 return _IMP_algebra.LogEmbedding6D_show(self, *args)
7644 """__str__(LogEmbedding6D self) -> std::string"""
7645 return _IMP_algebra.LogEmbedding6D___str__(self)
7648 """__repr__(LogEmbedding6D self) -> std::string"""
7649 return _IMP_algebra.LogEmbedding6D___repr__(self)
7651 def __cmp__(self, *args):
7652 """__cmp__(LogEmbedding6D self, LogEmbedding6D arg2) -> int"""
7653 return _IMP_algebra.LogEmbedding6D___cmp__(self, *args)
7655 __swig_destroy__ = _IMP_algebra.delete_LogEmbedding6D
7656 __del__ =
lambda self :
None;
7657 LogEmbedding6D_swigregister = _IMP_algebra.LogEmbedding6D_swigregister
7658 LogEmbedding6D_swigregister(LogEmbedding6D)
7660 class LogEmbeddingKD(_object):
7661 """Proxy of C++ IMP::algebra::LogEmbeddingD<(-1)> class"""
7662 __swig_setmethods__ = {}
7663 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogEmbeddingKD, name, value)
7664 __swig_getmethods__ = {}
7665 __getattr__ =
lambda self, name: _swig_getattr(self, LogEmbeddingKD, name)
7666 def __init__(self, *args):
7668 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell, VectorKD base) -> LogEmbeddingKD
7669 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbeddingKD
7670 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts) -> LogEmbeddingKD
7671 __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD arg2, VectorKD arg3) -> LogEmbeddingKD
7672 __init__(IMP::algebra::LogEmbeddingD<(-1)> self) -> LogEmbeddingKD
7674 this = _IMP_algebra.new_LogEmbeddingKD(*args)
7675 try: self.this.append(this)
7676 except: self.this = this
7677 def set_origin(self, *args):
7678 """set_origin(LogEmbeddingKD self, VectorKD o)"""
7679 return _IMP_algebra.LogEmbeddingKD_set_origin(self, *args)
7681 def get_origin(self):
7682 """get_origin(LogEmbeddingKD self) -> VectorKD"""
7683 return _IMP_algebra.LogEmbeddingKD_get_origin(self)
7685 def get_dimension(self):
7686 """get_dimension(LogEmbeddingKD self) -> unsigned int"""
7687 return _IMP_algebra.LogEmbeddingKD_get_dimension(self)
7689 def set_unit_cell(self, *args):
7691 set_unit_cell(LogEmbeddingKD self, VectorKD o, VectorKD base)
7692 set_unit_cell(LogEmbeddingKD self, VectorKD o)
7694 return _IMP_algebra.LogEmbeddingKD_set_unit_cell(self, *args)
7696 def get_unit_cell(self):
7697 """get_unit_cell(LogEmbeddingKD self) -> VectorKD"""
7698 return _IMP_algebra.LogEmbeddingKD_get_unit_cell(self)
7700 def get_extended_index(self, *args):
7701 """get_extended_index(LogEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
7702 return _IMP_algebra.LogEmbeddingKD_get_extended_index(self, *args)
7705 """get_index(LogEmbeddingKD self, VectorKD o) -> GridIndexKD"""
7706 return _IMP_algebra.LogEmbeddingKD_get_index(self, *args)
7708 def get_center(self, *args):
7710 get_center(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
7711 get_center(LogEmbeddingKD self, GridIndexKD ei) -> VectorKD
7713 return _IMP_algebra.LogEmbeddingKD_get_center(self, *args)
7717 get_bounding_box(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
7718 get_bounding_box(LogEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
7720 return _IMP_algebra.LogEmbeddingKD_get_bounding_box(self, *args)
7722 def show(self, *args):
7724 show(LogEmbeddingKD self, _ostream out=std::cout)
7725 show(LogEmbeddingKD self)
7727 return _IMP_algebra.LogEmbeddingKD_show(self, *args)
7730 """__str__(LogEmbeddingKD self) -> std::string"""
7731 return _IMP_algebra.LogEmbeddingKD___str__(self)
7734 """__repr__(LogEmbeddingKD self) -> std::string"""
7735 return _IMP_algebra.LogEmbeddingKD___repr__(self)
7737 def __cmp__(self, *args):
7738 """__cmp__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> int"""
7739 return _IMP_algebra.LogEmbeddingKD___cmp__(self, *args)
7741 __swig_destroy__ = _IMP_algebra.delete_LogEmbeddingKD
7742 __del__ =
lambda self :
None;
7743 LogEmbeddingKD_swigregister = _IMP_algebra.LogEmbeddingKD_swigregister
7744 LogEmbeddingKD_swigregister(LogEmbeddingKD)
7746 class SpherePatch3D(_GeometricPrimitive3D):
7747 """Proxy of C++ IMP::algebra::SpherePatch3D class"""
7748 __swig_setmethods__ = {}
7749 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7750 __setattr__ =
lambda self, name, value: _swig_setattr(self, SpherePatch3D, name, value)
7751 __swig_getmethods__ = {}
7752 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7753 __getattr__ =
lambda self, name: _swig_getattr(self, SpherePatch3D, name)
7754 def __init__(self, *args):
7756 __init__(IMP::algebra::SpherePatch3D self) -> SpherePatch3D
7757 __init__(IMP::algebra::SpherePatch3D self, Sphere3D sph, Plane3D crossing_plane) -> SpherePatch3D
7759 this = _IMP_algebra.new_SpherePatch3D(*args)
7760 try: self.this.append(this)
7761 except: self.this = this
7762 def get_contains(self, *args):
7763 """get_contains(SpherePatch3D self, Vector3D p) -> bool"""
7764 return _IMP_algebra.SpherePatch3D_get_contains(self, *args)
7766 def get_plane(self):
7767 """get_plane(SpherePatch3D self) -> Plane3D"""
7768 return _IMP_algebra.SpherePatch3D_get_plane(self)
7770 def get_sphere(self):
7771 """get_sphere(SpherePatch3D self) -> Sphere3D"""
7772 return _IMP_algebra.SpherePatch3D_get_sphere(self)
7774 def show(self, *args):
7776 show(SpherePatch3D self, _ostream out=std::cout)
7777 show(SpherePatch3D self)
7779 return _IMP_algebra.SpherePatch3D_show(self, *args)
7781 def get_boundary_point(self):
7782 """get_boundary_point(SpherePatch3D self) -> Vector3D"""
7783 return _IMP_algebra.SpherePatch3D_get_boundary_point(self)
7786 """__str__(SpherePatch3D self) -> std::string"""
7787 return _IMP_algebra.SpherePatch3D___str__(self)
7790 """__repr__(SpherePatch3D self) -> std::string"""
7791 return _IMP_algebra.SpherePatch3D___repr__(self)
7793 __swig_destroy__ = _IMP_algebra.delete_SpherePatch3D
7794 __del__ =
lambda self :
None;
7795 SpherePatch3D_swigregister = _IMP_algebra.SpherePatch3D_swigregister
7796 SpherePatch3D_swigregister(SpherePatch3D)
7801 get_area(Plane3D g) -> double
7802 get_area(SpherePatch3D g) -> double
7804 return _IMP_algebra.get_area(*args)
7807 """get_sphere_patch_3d_geometry(SpherePatch3D g) -> SpherePatch3D"""
7808 return _IMP_algebra.get_sphere_patch_3d_geometry(*args)
7809 class Cone3D(_GeometricPrimitive3D):
7810 """Proxy of C++ IMP::algebra::Cone3D class"""
7811 __swig_setmethods__ = {}
7812 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7813 __setattr__ =
lambda self, name, value: _swig_setattr(self, Cone3D, name, value)
7814 __swig_getmethods__ = {}
7815 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7816 __getattr__ =
lambda self, name: _swig_getattr(self, Cone3D, name)
7817 def __init__(self, *args):
7819 __init__(IMP::algebra::Cone3D self) -> Cone3D
7820 __init__(IMP::algebra::Cone3D self, Segment3D s, double radius) -> Cone3D
7822 this = _IMP_algebra.new_Cone3D(*args)
7823 try: self.this.append(this)
7824 except: self.this = this
7826 """get_tip(Cone3D self) -> Vector3D"""
7827 return _IMP_algebra.Cone3D_get_tip(self)
7829 def get_direction(self):
7830 """get_direction(Cone3D self) -> Vector3D"""
7831 return _IMP_algebra.Cone3D_get_direction(self)
7833 def get_height(self):
7834 """get_height(Cone3D self) -> double"""
7835 return _IMP_algebra.Cone3D_get_height(self)
7837 def get_angle(self):
7838 """get_angle(Cone3D self) -> double"""
7839 return _IMP_algebra.Cone3D_get_angle(self)
7841 def get_radius(self):
7842 """get_radius(Cone3D self) -> double"""
7843 return _IMP_algebra.Cone3D_get_radius(self)
7845 def get_contains(self, *args):
7846 """get_contains(Cone3D self, Vector3D v) -> bool"""
7847 return _IMP_algebra.Cone3D_get_contains(self, *args)
7849 def get_base_plane(self):
7850 """get_base_plane(Cone3D self) -> Plane3D"""
7851 return _IMP_algebra.Cone3D_get_base_plane(self)
7853 def show(self, *args):
7855 show(Cone3D self, _ostream out=std::cout)
7858 return _IMP_algebra.Cone3D_show(self, *args)
7861 """__str__(Cone3D self) -> std::string"""
7862 return _IMP_algebra.Cone3D___str__(self)
7865 """__repr__(Cone3D self) -> std::string"""
7866 return _IMP_algebra.Cone3D___repr__(self)
7868 __swig_destroy__ = _IMP_algebra.delete_Cone3D
7869 __del__ =
lambda self :
None;
7870 Cone3D_swigregister = _IMP_algebra.Cone3D_swigregister
7871 Cone3D_swigregister(Cone3D)
7876 get_surface_area(BoundingBox3D g) -> double
7877 get_surface_area(Sphere3D g) -> double
7878 get_surface_area(Cylinder3D g) -> double
7879 get_surface_area(Ellipsoid3D g) -> double
7880 get_surface_area(Cone3D g) -> double
7882 return _IMP_algebra.get_surface_area(*args)
7886 get_volume(BoundingBox3D g) -> double
7887 get_volume(Sphere3D g) -> double
7888 get_volume(Cylinder3D g) -> double
7889 get_volume(Ellipsoid3D g) -> double
7890 get_volume(Cone3D g) -> double
7892 return _IMP_algebra.get_volume(*args)
7895 """get_cone_3d_geometry(Cone3D g) -> Cone3D"""
7896 return _IMP_algebra.get_cone_3d_geometry(*args)
7899 """write_pts(IMP::algebra::Vector3Ds const & vs, TextOutput out)"""
7900 return _IMP_algebra.write_pts(*args)
7903 """read_pts(TextInput input) -> IMP::algebra::Vector3Ds"""
7904 return _IMP_algebra.read_pts(*args)
7907 """write_spheres(IMP::algebra::Sphere3Ds const & vs, TextOutput out)"""
7908 return _IMP_algebra.write_spheres(*args)
7911 """read_spheres(TextInput input) -> IMP::algebra::Sphere3Ds"""
7912 return _IMP_algebra.read_spheres(*args)
7915 """get_grid_surface_cover(Cylinder3D cyl, int number_of_cycles, int number_of_points_on_cycle) -> IMP::algebra::Vector3Ds"""
7916 return _IMP_algebra.get_grid_surface_cover(*args)
7920 get_random_chain(unsigned int n, double r, Vector3D start=IMP::algebra::Vector3D(0,0,0), IMP::algebra::Sphere3Ds const & obstacles=IMP::algebra::Sphere3Ds()) -> IMP::algebra::Vector3Ds
7921 get_random_chain(unsigned int n, double r, Vector3D start=IMP::algebra::Vector3D(0,0,0)) -> IMP::algebra::Vector3Ds
7922 get_random_chain(unsigned int n, double r) -> IMP::algebra::Vector3Ds
7924 return _IMP_algebra.get_random_chain(*args)
7927 """reversed_read(void * dest, size_t size, size_t nitems, std::ifstream & f, bool reverse)"""
7928 return _IMP_algebra.reversed_read(*args)
7932 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f, bool reverse=False)
7933 reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f)
7935 return _IMP_algebra.reversed_write(*args)
7938 """get_is_big_endian() -> bool"""
7939 return _IMP_algebra.get_is_big_endian()
7942 """get_is_little_endian() -> bool"""
7943 return _IMP_algebra.get_is_little_endian()
7945 def get_shortest_segment(*args):
7947 get_shortest_segment(Segment3D s, Vector3D p) -> Segment3D
7948 get_shortest_segment(Segment3D sa, Segment3D sb) -> Segment3D
7950 return _IMP_algebra.get_shortest_segment(*args)
7952 """Proxy of C++ IMP::algebra::DynamicNearestNeighbor3D class"""
7953 __swig_setmethods__ = {}
7954 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7955 __setattr__ =
lambda self, name, value: _swig_setattr(self, DynamicNearestNeighbor3D, name, value)
7956 __swig_getmethods__ = {}
7957 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7958 __getattr__ =
lambda self, name: _swig_getattr(self, DynamicNearestNeighbor3D, name)
7959 def __init__(self, *args):
7961 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs, double query_estimate=1) -> DynamicNearestNeighbor3D
7962 __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs) -> DynamicNearestNeighbor3D
7964 this = _IMP_algebra.new_DynamicNearestNeighbor3D(*args)
7965 try: self.this.append(this)
7966 except: self.this = this
7967 def get_in_ball(self, *args):
7968 """get_in_ball(DynamicNearestNeighbor3D self, int id, double distance) -> IMP::Ints"""
7969 return _IMP_algebra.DynamicNearestNeighbor3D_get_in_ball(self, *args)
7971 def set_coordinates(self, *args):
7972 """set_coordinates(DynamicNearestNeighbor3D self, int id, Vector3D nc)"""
7973 return _IMP_algebra.DynamicNearestNeighbor3D_set_coordinates(self, *args)
7975 def get_version_info(self):
7976 """get_version_info(DynamicNearestNeighbor3D self) -> VersionInfo"""
7977 return _IMP_algebra.DynamicNearestNeighbor3D_get_version_info(self)
7979 __swig_destroy__ = _IMP_algebra.delete_DynamicNearestNeighbor3D
7980 __del__ =
lambda self :
None;
7982 """__str__(DynamicNearestNeighbor3D self) -> std::string"""
7983 return _IMP_algebra.DynamicNearestNeighbor3D___str__(self)
7986 """__repr__(DynamicNearestNeighbor3D self) -> std::string"""
7987 return _IMP_algebra.DynamicNearestNeighbor3D___repr__(self)
7990 return _object_cast_to_DynamicNearestNeighbor3D(o)
7991 get_from = staticmethod(get_from)
7993 DynamicNearestNeighbor3D_swigregister = _IMP_algebra.DynamicNearestNeighbor3D_swigregister
7994 DynamicNearestNeighbor3D_swigregister(DynamicNearestNeighbor3D)
7997 """Proxy of C++ IMP::algebra::VectorKDMetric class"""
7998 __swig_setmethods__ = {}
7999 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8000 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorKDMetric, name, value)
8001 __swig_getmethods__ = {}
8002 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8003 __getattr__ =
lambda self, name: _swig_getattr(self, VectorKDMetric, name)
8004 def __init__(self, *args):
8005 """__init__(IMP::algebra::VectorKDMetric self, std::string name) -> VectorKDMetric"""
8006 if self.__class__ == VectorKDMetric:
8010 this = _IMP_algebra.new_VectorKDMetric(_self, *args)
8011 try: self.this.append(this)
8012 except: self.this = this
8013 if self.__class__ != VectorKDMetric:
8015 IMP.base._director_objects.register(self)
8020 """get_distance(VectorKDMetric self, VectorKD a, VectorKD b) -> double"""
8021 return _IMP_algebra.VectorKDMetric_get_distance(self, *args)
8024 """get_centroid(VectorKDMetric self, IMP::algebra::VectorKDs const & vs) -> VectorKD"""
8025 return _IMP_algebra.VectorKDMetric_get_centroid(self, *args)
8028 """__str__(VectorKDMetric self) -> std::string"""
8029 return _IMP_algebra.VectorKDMetric___str__(self)
8032 """__repr__(VectorKDMetric self) -> std::string"""
8033 return _IMP_algebra.VectorKDMetric___repr__(self)
8036 return _object_cast_to_VectorKDMetric(o)
8037 get_from = staticmethod(get_from)
8039 def get_type_name(self):
8040 return self.__class__.__name__
8041 def do_show(self, out):
8043 def get_version_info(self):
8044 if"IMP::algebra" ==
"IMP":
8045 return VersionInfo(
"python",
"0")
8047 return IMP.VersionInfo(
"python",
"0")
8049 return _object_cast_to_VectorKDMetric(o)
8050 get_from = staticmethod(get_from)
8052 __swig_destroy__ = _IMP_algebra.delete_VectorKDMetric
8053 __del__ =
lambda self :
None;
8054 def __disown__(self):
8056 _IMP_algebra.disown_VectorKDMetric(self)
8057 return weakref_proxy(self)
8058 VectorKDMetric_swigregister = _IMP_algebra.VectorKDMetric_swigregister
8059 VectorKDMetric_swigregister(VectorKDMetric)
8061 class EuclideanVectorKDMetric(VectorKDMetric):
8062 """Proxy of C++ IMP::algebra::EuclideanVectorKDMetric class"""
8063 __swig_setmethods__ = {}
8064 for _s
in [VectorKDMetric]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8065 __setattr__ =
lambda self, name, value: _swig_setattr(self, EuclideanVectorKDMetric, name, value)
8066 __swig_getmethods__ = {}
8067 for _s
in [VectorKDMetric]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8068 __getattr__ =
lambda self, name: _swig_getattr(self, EuclideanVectorKDMetric, name)
8069 def __init__(self, name="EuclideanVectorKDMetric%1%"):
8071 __init__(IMP::algebra::EuclideanVectorKDMetric self, std::string name="EuclideanVectorKDMetric%1%") -> EuclideanVectorKDMetric
8072 __init__(IMP::algebra::EuclideanVectorKDMetric self) -> EuclideanVectorKDMetric
8074 this = _IMP_algebra.new_EuclideanVectorKDMetric(name)
8075 try: self.this.append(this)
8076 except: self.this = this
8077 def get_version_info(self):
8078 """get_version_info(EuclideanVectorKDMetric self) -> VersionInfo"""
8079 return _IMP_algebra.EuclideanVectorKDMetric_get_version_info(self)
8081 __swig_destroy__ = _IMP_algebra.delete_EuclideanVectorKDMetric
8082 __del__ =
lambda self :
None;
8084 """__str__(EuclideanVectorKDMetric self) -> std::string"""
8085 return _IMP_algebra.EuclideanVectorKDMetric___str__(self)
8088 """__repr__(EuclideanVectorKDMetric self) -> std::string"""
8089 return _IMP_algebra.EuclideanVectorKDMetric___repr__(self)
8092 return _object_cast_to_EuclideanVectorKDMetric(o)
8093 get_from = staticmethod(get_from)
8095 EuclideanVectorKDMetric_swigregister = _IMP_algebra.EuclideanVectorKDMetric_swigregister
8096 EuclideanVectorKDMetric_swigregister(EuclideanVectorKDMetric)
8098 class MaxVectorKDMetric(VectorKDMetric):
8099 """Proxy of C++ IMP::algebra::MaxVectorKDMetric class"""
8100 __swig_setmethods__ = {}
8101 for _s
in [VectorKDMetric]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8102 __setattr__ =
lambda self, name, value: _swig_setattr(self, MaxVectorKDMetric, name, value)
8103 __swig_getmethods__ = {}
8104 for _s
in [VectorKDMetric]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8105 __getattr__ =
lambda self, name: _swig_getattr(self, MaxVectorKDMetric, name)
8106 def __init__(self, name="MaxVectorKDMetric%1%"):
8108 __init__(IMP::algebra::MaxVectorKDMetric self, std::string name="MaxVectorKDMetric%1%") -> MaxVectorKDMetric
8109 __init__(IMP::algebra::MaxVectorKDMetric self) -> MaxVectorKDMetric
8111 this = _IMP_algebra.new_MaxVectorKDMetric(name)
8112 try: self.this.append(this)
8113 except: self.this = this
8114 def get_version_info(self):
8115 """get_version_info(MaxVectorKDMetric self) -> VersionInfo"""
8116 return _IMP_algebra.MaxVectorKDMetric_get_version_info(self)
8118 __swig_destroy__ = _IMP_algebra.delete_MaxVectorKDMetric
8119 __del__ =
lambda self :
None;
8121 """__str__(MaxVectorKDMetric self) -> std::string"""
8122 return _IMP_algebra.MaxVectorKDMetric___str__(self)
8125 """__repr__(MaxVectorKDMetric self) -> std::string"""
8126 return _IMP_algebra.MaxVectorKDMetric___repr__(self)
8129 return _object_cast_to_MaxVectorKDMetric(o)
8130 get_from = staticmethod(get_from)
8132 MaxVectorKDMetric_swigregister = _IMP_algebra.MaxVectorKDMetric_swigregister
8133 MaxVectorKDMetric_swigregister(MaxVectorKDMetric)
8136 """Proxy of C++ IMP::algebra::NearestNeighborD<(1)> class"""
8137 __swig_setmethods__ = {}
8138 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8139 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighbor1D, name, value)
8140 __swig_getmethods__ = {}
8141 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8142 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighbor1D, name)
8143 def __init__(self, *args):
8145 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & vs, double epsilon=0) -> NearestNeighbor1D
8146 __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & vs) -> NearestNeighbor1D
8148 this = _IMP_algebra.new_NearestNeighbor1D(*args)
8149 try: self.this.append(this)
8150 except: self.this = this
8151 def set_query_log(self, *args):
8152 """set_query_log(NearestNeighbor1D self, std::string fname)"""
8153 return _IMP_algebra.NearestNeighbor1D_set_query_log(self, *args)
8155 def get_nearest_neighbor(self, *args):
8157 get_nearest_neighbor(NearestNeighbor1D self, Vector1D q) -> unsigned int
8158 get_nearest_neighbor(NearestNeighbor1D self, unsigned int i) -> unsigned int
8160 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbor(self, *args)
8162 def get_nearest_neighbors(self, *args):
8164 get_nearest_neighbors(NearestNeighbor1D self, unsigned int i, unsigned int k) -> IMP::Ints
8165 get_nearest_neighbors(NearestNeighbor1D self, Vector1D v, unsigned int k) -> IMP::Ints
8167 return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbors(self, *args)
8169 def get_in_ball(self, *args):
8171 get_in_ball(NearestNeighbor1D self, unsigned int i, double distance) -> IMP::Ints
8172 get_in_ball(NearestNeighbor1D self, Vector1D pt, double distance) -> IMP::Ints
8174 return _IMP_algebra.NearestNeighbor1D_get_in_ball(self, *args)
8176 def get_version_info(self):
8177 """get_version_info(NearestNeighbor1D self) -> VersionInfo"""
8178 return _IMP_algebra.NearestNeighbor1D_get_version_info(self)
8180 __swig_destroy__ = _IMP_algebra.delete_NearestNeighbor1D
8181 __del__ =
lambda self :
None;
8183 """__str__(NearestNeighbor1D self) -> std::string"""
8184 return _IMP_algebra.NearestNeighbor1D___str__(self)
8187 """__repr__(NearestNeighbor1D self) -> std::string"""
8188 return _IMP_algebra.NearestNeighbor1D___repr__(self)
8191 return _object_cast_to_NearestNeighborD(o)
8192 get_from = staticmethod(get_from)
8194 NearestNeighbor1D_swigregister = _IMP_algebra.NearestNeighbor1D_swigregister
8195 NearestNeighbor1D_swigregister(NearestNeighbor1D)
8198 """Proxy of C++ IMP::algebra::NearestNeighborD<(2)> class"""
8199 __swig_setmethods__ = {}
8200 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8201 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighbor2D, name, value)
8202 __swig_getmethods__ = {}
8203 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8204 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighbor2D, name)
8205 def __init__(self, *args):
8207 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & vs, double epsilon=0) -> NearestNeighbor2D
8208 __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & vs) -> NearestNeighbor2D
8210 this = _IMP_algebra.new_NearestNeighbor2D(*args)
8211 try: self.this.append(this)
8212 except: self.this = this
8213 def set_query_log(self, *args):
8214 """set_query_log(NearestNeighbor2D self, std::string fname)"""
8215 return _IMP_algebra.NearestNeighbor2D_set_query_log(self, *args)
8217 def get_nearest_neighbor(self, *args):
8219 get_nearest_neighbor(NearestNeighbor2D self, Vector2D q) -> unsigned int
8220 get_nearest_neighbor(NearestNeighbor2D self, unsigned int i) -> unsigned int
8222 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbor(self, *args)
8224 def get_nearest_neighbors(self, *args):
8226 get_nearest_neighbors(NearestNeighbor2D self, unsigned int i, unsigned int k) -> IMP::Ints
8227 get_nearest_neighbors(NearestNeighbor2D self, Vector2D v, unsigned int k) -> IMP::Ints
8229 return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbors(self, *args)
8231 def get_in_ball(self, *args):
8233 get_in_ball(NearestNeighbor2D self, unsigned int i, double distance) -> IMP::Ints
8234 get_in_ball(NearestNeighbor2D self, Vector2D pt, double distance) -> IMP::Ints
8236 return _IMP_algebra.NearestNeighbor2D_get_in_ball(self, *args)
8238 def get_version_info(self):
8239 """get_version_info(NearestNeighbor2D self) -> VersionInfo"""
8240 return _IMP_algebra.NearestNeighbor2D_get_version_info(self)
8242 __swig_destroy__ = _IMP_algebra.delete_NearestNeighbor2D
8243 __del__ =
lambda self :
None;
8245 """__str__(NearestNeighbor2D self) -> std::string"""
8246 return _IMP_algebra.NearestNeighbor2D___str__(self)
8249 """__repr__(NearestNeighbor2D self) -> std::string"""
8250 return _IMP_algebra.NearestNeighbor2D___repr__(self)
8253 return _object_cast_to_NearestNeighborD(o)
8254 get_from = staticmethod(get_from)
8256 NearestNeighbor2D_swigregister = _IMP_algebra.NearestNeighbor2D_swigregister
8257 NearestNeighbor2D_swigregister(NearestNeighbor2D)
8260 """Proxy of C++ IMP::algebra::NearestNeighborD<(3)> class"""
8261 __swig_setmethods__ = {}
8262 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8263 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighbor3D, name, value)
8264 __swig_getmethods__ = {}
8265 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8266 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighbor3D, name)
8267 def __init__(self, *args):
8269 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & vs, double epsilon=0) -> NearestNeighbor3D
8270 __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & vs) -> NearestNeighbor3D
8272 this = _IMP_algebra.new_NearestNeighbor3D(*args)
8273 try: self.this.append(this)
8274 except: self.this = this
8275 def set_query_log(self, *args):
8276 """set_query_log(NearestNeighbor3D self, std::string fname)"""
8277 return _IMP_algebra.NearestNeighbor3D_set_query_log(self, *args)
8279 def get_nearest_neighbor(self, *args):
8281 get_nearest_neighbor(NearestNeighbor3D self, Vector3D q) -> unsigned int
8282 get_nearest_neighbor(NearestNeighbor3D self, unsigned int i) -> unsigned int
8284 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbor(self, *args)
8286 def get_nearest_neighbors(self, *args):
8288 get_nearest_neighbors(NearestNeighbor3D self, unsigned int i, unsigned int k) -> IMP::Ints
8289 get_nearest_neighbors(NearestNeighbor3D self, Vector3D v, unsigned int k) -> IMP::Ints
8291 return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbors(self, *args)
8293 def get_in_ball(self, *args):
8295 get_in_ball(NearestNeighbor3D self, unsigned int i, double distance) -> IMP::Ints
8296 get_in_ball(NearestNeighbor3D self, Vector3D pt, double distance) -> IMP::Ints
8298 return _IMP_algebra.NearestNeighbor3D_get_in_ball(self, *args)
8300 def get_version_info(self):
8301 """get_version_info(NearestNeighbor3D self) -> VersionInfo"""
8302 return _IMP_algebra.NearestNeighbor3D_get_version_info(self)
8304 __swig_destroy__ = _IMP_algebra.delete_NearestNeighbor3D
8305 __del__ =
lambda self :
None;
8307 """__str__(NearestNeighbor3D self) -> std::string"""
8308 return _IMP_algebra.NearestNeighbor3D___str__(self)
8311 """__repr__(NearestNeighbor3D self) -> std::string"""
8312 return _IMP_algebra.NearestNeighbor3D___repr__(self)
8315 return _object_cast_to_NearestNeighborD(o)
8316 get_from = staticmethod(get_from)
8318 NearestNeighbor3D_swigregister = _IMP_algebra.NearestNeighbor3D_swigregister
8319 NearestNeighbor3D_swigregister(NearestNeighbor3D)
8322 """Proxy of C++ IMP::algebra::NearestNeighborD<(4)> class"""
8323 __swig_setmethods__ = {}
8324 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8325 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighbor4D, name, value)
8326 __swig_getmethods__ = {}
8327 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8328 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighbor4D, name)
8329 def __init__(self, *args):
8331 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & vs, double epsilon=0) -> NearestNeighbor4D
8332 __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & vs) -> NearestNeighbor4D
8334 this = _IMP_algebra.new_NearestNeighbor4D(*args)
8335 try: self.this.append(this)
8336 except: self.this = this
8337 def set_query_log(self, *args):
8338 """set_query_log(NearestNeighbor4D self, std::string fname)"""
8339 return _IMP_algebra.NearestNeighbor4D_set_query_log(self, *args)
8341 def get_nearest_neighbor(self, *args):
8343 get_nearest_neighbor(NearestNeighbor4D self, Vector4D q) -> unsigned int
8344 get_nearest_neighbor(NearestNeighbor4D self, unsigned int i) -> unsigned int
8346 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbor(self, *args)
8348 def get_nearest_neighbors(self, *args):
8350 get_nearest_neighbors(NearestNeighbor4D self, unsigned int i, unsigned int k) -> IMP::Ints
8351 get_nearest_neighbors(NearestNeighbor4D self, Vector4D v, unsigned int k) -> IMP::Ints
8353 return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbors(self, *args)
8355 def get_in_ball(self, *args):
8357 get_in_ball(NearestNeighbor4D self, unsigned int i, double distance) -> IMP::Ints
8358 get_in_ball(NearestNeighbor4D self, Vector4D pt, double distance) -> IMP::Ints
8360 return _IMP_algebra.NearestNeighbor4D_get_in_ball(self, *args)
8362 def get_version_info(self):
8363 """get_version_info(NearestNeighbor4D self) -> VersionInfo"""
8364 return _IMP_algebra.NearestNeighbor4D_get_version_info(self)
8366 __swig_destroy__ = _IMP_algebra.delete_NearestNeighbor4D
8367 __del__ =
lambda self :
None;
8369 """__str__(NearestNeighbor4D self) -> std::string"""
8370 return _IMP_algebra.NearestNeighbor4D___str__(self)
8373 """__repr__(NearestNeighbor4D self) -> std::string"""
8374 return _IMP_algebra.NearestNeighbor4D___repr__(self)
8377 return _object_cast_to_NearestNeighborD(o)
8378 get_from = staticmethod(get_from)
8380 NearestNeighbor4D_swigregister = _IMP_algebra.NearestNeighbor4D_swigregister
8381 NearestNeighbor4D_swigregister(NearestNeighbor4D)
8384 """Proxy of C++ IMP::algebra::NearestNeighborD<(5)> class"""
8385 __swig_setmethods__ = {}
8386 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8387 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighbor5D, name, value)
8388 __swig_getmethods__ = {}
8389 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8390 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighbor5D, name)
8391 def __init__(self, *args):
8393 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & vs, double epsilon=0) -> NearestNeighbor5D
8394 __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & vs) -> NearestNeighbor5D
8396 this = _IMP_algebra.new_NearestNeighbor5D(*args)
8397 try: self.this.append(this)
8398 except: self.this = this
8399 def set_query_log(self, *args):
8400 """set_query_log(NearestNeighbor5D self, std::string fname)"""
8401 return _IMP_algebra.NearestNeighbor5D_set_query_log(self, *args)
8403 def get_nearest_neighbor(self, *args):
8405 get_nearest_neighbor(NearestNeighbor5D self, Vector5D q) -> unsigned int
8406 get_nearest_neighbor(NearestNeighbor5D self, unsigned int i) -> unsigned int
8408 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbor(self, *args)
8410 def get_nearest_neighbors(self, *args):
8412 get_nearest_neighbors(NearestNeighbor5D self, unsigned int i, unsigned int k) -> IMP::Ints
8413 get_nearest_neighbors(NearestNeighbor5D self, Vector5D v, unsigned int k) -> IMP::Ints
8415 return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbors(self, *args)
8417 def get_in_ball(self, *args):
8419 get_in_ball(NearestNeighbor5D self, unsigned int i, double distance) -> IMP::Ints
8420 get_in_ball(NearestNeighbor5D self, Vector5D pt, double distance) -> IMP::Ints
8422 return _IMP_algebra.NearestNeighbor5D_get_in_ball(self, *args)
8424 def get_version_info(self):
8425 """get_version_info(NearestNeighbor5D self) -> VersionInfo"""
8426 return _IMP_algebra.NearestNeighbor5D_get_version_info(self)
8428 __swig_destroy__ = _IMP_algebra.delete_NearestNeighbor5D
8429 __del__ =
lambda self :
None;
8431 """__str__(NearestNeighbor5D self) -> std::string"""
8432 return _IMP_algebra.NearestNeighbor5D___str__(self)
8435 """__repr__(NearestNeighbor5D self) -> std::string"""
8436 return _IMP_algebra.NearestNeighbor5D___repr__(self)
8439 return _object_cast_to_NearestNeighborD(o)
8440 get_from = staticmethod(get_from)
8442 NearestNeighbor5D_swigregister = _IMP_algebra.NearestNeighbor5D_swigregister
8443 NearestNeighbor5D_swigregister(NearestNeighbor5D)
8446 """Proxy of C++ IMP::algebra::NearestNeighborD<(6)> class"""
8447 __swig_setmethods__ = {}
8448 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8449 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighbor6D, name, value)
8450 __swig_getmethods__ = {}
8451 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8452 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighbor6D, name)
8453 def __init__(self, *args):
8455 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & vs, double epsilon=0) -> NearestNeighbor6D
8456 __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & vs) -> NearestNeighbor6D
8458 this = _IMP_algebra.new_NearestNeighbor6D(*args)
8459 try: self.this.append(this)
8460 except: self.this = this
8461 def set_query_log(self, *args):
8462 """set_query_log(NearestNeighbor6D self, std::string fname)"""
8463 return _IMP_algebra.NearestNeighbor6D_set_query_log(self, *args)
8465 def get_nearest_neighbor(self, *args):
8467 get_nearest_neighbor(NearestNeighbor6D self, Vector6D q) -> unsigned int
8468 get_nearest_neighbor(NearestNeighbor6D self, unsigned int i) -> unsigned int
8470 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbor(self, *args)
8472 def get_nearest_neighbors(self, *args):
8474 get_nearest_neighbors(NearestNeighbor6D self, unsigned int i, unsigned int k) -> IMP::Ints
8475 get_nearest_neighbors(NearestNeighbor6D self, Vector6D v, unsigned int k) -> IMP::Ints
8477 return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbors(self, *args)
8479 def get_in_ball(self, *args):
8481 get_in_ball(NearestNeighbor6D self, unsigned int i, double distance) -> IMP::Ints
8482 get_in_ball(NearestNeighbor6D self, Vector6D pt, double distance) -> IMP::Ints
8484 return _IMP_algebra.NearestNeighbor6D_get_in_ball(self, *args)
8486 def get_version_info(self):
8487 """get_version_info(NearestNeighbor6D self) -> VersionInfo"""
8488 return _IMP_algebra.NearestNeighbor6D_get_version_info(self)
8490 __swig_destroy__ = _IMP_algebra.delete_NearestNeighbor6D
8491 __del__ =
lambda self :
None;
8493 """__str__(NearestNeighbor6D self) -> std::string"""
8494 return _IMP_algebra.NearestNeighbor6D___str__(self)
8497 """__repr__(NearestNeighbor6D self) -> std::string"""
8498 return _IMP_algebra.NearestNeighbor6D___repr__(self)
8501 return _object_cast_to_NearestNeighborD(o)
8502 get_from = staticmethod(get_from)
8504 NearestNeighbor6D_swigregister = _IMP_algebra.NearestNeighbor6D_swigregister
8505 NearestNeighbor6D_swigregister(NearestNeighbor6D)
8508 """Proxy of C++ IMP::algebra::NearestNeighborD<(-1)> class"""
8509 __swig_setmethods__ = {}
8510 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8511 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighborKD, name, value)
8512 __swig_getmethods__ = {}
8513 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8514 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighborKD, name)
8515 def __init__(self, *args):
8517 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & vs, double epsilon=0) -> NearestNeighborKD
8518 __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & vs) -> NearestNeighborKD
8520 this = _IMP_algebra.new_NearestNeighborKD(*args)
8521 try: self.this.append(this)
8522 except: self.this = this
8523 def set_query_log(self, *args):
8524 """set_query_log(NearestNeighborKD self, std::string fname)"""
8525 return _IMP_algebra.NearestNeighborKD_set_query_log(self, *args)
8527 def get_nearest_neighbor(self, *args):
8529 get_nearest_neighbor(NearestNeighborKD self, VectorKD q) -> unsigned int
8530 get_nearest_neighbor(NearestNeighborKD self, unsigned int i) -> unsigned int
8532 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbor(self, *args)
8534 def get_nearest_neighbors(self, *args):
8536 get_nearest_neighbors(NearestNeighborKD self, unsigned int i, unsigned int k) -> IMP::Ints
8537 get_nearest_neighbors(NearestNeighborKD self, VectorKD v, unsigned int k) -> IMP::Ints
8539 return _IMP_algebra.NearestNeighborKD_get_nearest_neighbors(self, *args)
8541 def get_in_ball(self, *args):
8543 get_in_ball(NearestNeighborKD self, unsigned int i, double distance) -> IMP::Ints
8544 get_in_ball(NearestNeighborKD self, VectorKD pt, double distance) -> IMP::Ints
8546 return _IMP_algebra.NearestNeighborKD_get_in_ball(self, *args)
8548 def get_version_info(self):
8549 """get_version_info(NearestNeighborKD self) -> VersionInfo"""
8550 return _IMP_algebra.NearestNeighborKD_get_version_info(self)
8552 __swig_destroy__ = _IMP_algebra.delete_NearestNeighborKD
8553 __del__ =
lambda self :
None;
8555 """__str__(NearestNeighborKD self) -> std::string"""
8556 return _IMP_algebra.NearestNeighborKD___str__(self)
8559 """__repr__(NearestNeighborKD self) -> std::string"""
8560 return _IMP_algebra.NearestNeighborKD___repr__(self)
8563 return _object_cast_to_NearestNeighborD(o)
8564 get_from = staticmethod(get_from)
8566 NearestNeighborKD_swigregister = _IMP_algebra.NearestNeighborKD_swigregister
8567 NearestNeighborKD_swigregister(NearestNeighborKD)
8571 """get_transformation_aligning_pair(IMP::algebra::Vector2Ds const & set_from, IMP::algebra::Vector2Ds const & set_to) -> Transformation2D"""
8572 return _IMP_algebra.get_transformation_aligning_pair(*args)
8573 class PrincipalComponentAnalysis1D(_GeometricPrimitive1D):
8574 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(1)> class"""
8575 __swig_setmethods__ = {}
8576 for _s
in [_GeometricPrimitive1D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8577 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis1D, name, value)
8578 __swig_getmethods__ = {}
8579 for _s
in [_GeometricPrimitive1D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8580 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis1D, name)
8581 def __init__(self, *args):
8583 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self) -> PrincipalComponentAnalysis1D
8584 __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self, IMP::base::Vector< IMP::algebra::VectorD< 1 > > const & pcs, Vector1D values, Vector1D centroid) -> PrincipalComponentAnalysis1D
8586 this = _IMP_algebra.new_PrincipalComponentAnalysis1D(*args)
8587 try: self.this.append(this)
8588 except: self.this = this
8590 """get_principal_components(PrincipalComponentAnalysis1D self) -> IMP::base::Vector< IMP::algebra::VectorD< 1 > >"""
8591 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_components(self)
8593 def get_principal_component(self, *args):
8594 """get_principal_component(PrincipalComponentAnalysis1D self, unsigned int i) -> Vector1D"""
8595 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_component(self, *args)
8597 def get_principal_values(self):
8598 """get_principal_values(PrincipalComponentAnalysis1D self) -> Vector1D"""
8599 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_values(self)
8601 def get_principal_value(self, *args):
8602 """get_principal_value(PrincipalComponentAnalysis1D self, unsigned int i) -> double"""
8603 return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_value(self, *args)
8606 """get_centroid(PrincipalComponentAnalysis1D self) -> Vector1D"""
8607 return _IMP_algebra.PrincipalComponentAnalysis1D_get_centroid(self)
8609 def set_centroid(self, *args):
8610 """set_centroid(PrincipalComponentAnalysis1D self, Vector1D cntr)"""
8611 return _IMP_algebra.PrincipalComponentAnalysis1D_set_centroid(self, *args)
8613 def show(self, *args):
8615 show(PrincipalComponentAnalysis1D self, _ostream out=std::cout)
8616 show(PrincipalComponentAnalysis1D self)
8618 return _IMP_algebra.PrincipalComponentAnalysis1D_show(self, *args)
8620 def __eq__(self, *args):
8621 """__eq__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
8622 return _IMP_algebra.PrincipalComponentAnalysis1D___eq__(self, *args)
8624 def __ne__(self, *args):
8625 """__ne__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
8626 return _IMP_algebra.PrincipalComponentAnalysis1D___ne__(self, *args)
8628 def __lt__(self, *args):
8629 """__lt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
8630 return _IMP_algebra.PrincipalComponentAnalysis1D___lt__(self, *args)
8632 def __gt__(self, *args):
8633 """__gt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
8634 return _IMP_algebra.PrincipalComponentAnalysis1D___gt__(self, *args)
8636 def __ge__(self, *args):
8637 """__ge__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
8638 return _IMP_algebra.PrincipalComponentAnalysis1D___ge__(self, *args)
8640 def __le__(self, *args):
8641 """__le__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
8642 return _IMP_algebra.PrincipalComponentAnalysis1D___le__(self, *args)
8645 """__str__(PrincipalComponentAnalysis1D self) -> std::string"""
8646 return _IMP_algebra.PrincipalComponentAnalysis1D___str__(self)
8649 """__repr__(PrincipalComponentAnalysis1D self) -> std::string"""
8650 return _IMP_algebra.PrincipalComponentAnalysis1D___repr__(self)
8652 def __cmp__(self, *args):
8653 """__cmp__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D arg2) -> int"""
8654 return _IMP_algebra.PrincipalComponentAnalysis1D___cmp__(self, *args)
8656 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis1D
8657 __del__ =
lambda self :
None;
8658 PrincipalComponentAnalysis1D_swigregister = _IMP_algebra.PrincipalComponentAnalysis1D_swigregister
8659 PrincipalComponentAnalysis1D_swigregister(PrincipalComponentAnalysis1D)
8661 class PrincipalComponentAnalysis2D(_GeometricPrimitive2D):
8662 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(2)> class"""
8663 __swig_setmethods__ = {}
8664 for _s
in [_GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8665 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis2D, name, value)
8666 __swig_getmethods__ = {}
8667 for _s
in [_GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8668 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis2D, name)
8669 def __init__(self, *args):
8671 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self) -> PrincipalComponentAnalysis2D
8672 __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self, IMP::base::Vector< IMP::algebra::VectorD< 2 > > const & pcs, Vector2D values, Vector2D centroid) -> PrincipalComponentAnalysis2D
8674 this = _IMP_algebra.new_PrincipalComponentAnalysis2D(*args)
8675 try: self.this.append(this)
8676 except: self.this = this
8678 """get_principal_components(PrincipalComponentAnalysis2D self) -> IMP::base::Vector< IMP::algebra::VectorD< 2 > >"""
8679 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_components(self)
8681 def get_principal_component(self, *args):
8682 """get_principal_component(PrincipalComponentAnalysis2D self, unsigned int i) -> Vector2D"""
8683 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_component(self, *args)
8685 def get_principal_values(self):
8686 """get_principal_values(PrincipalComponentAnalysis2D self) -> Vector2D"""
8687 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_values(self)
8689 def get_principal_value(self, *args):
8690 """get_principal_value(PrincipalComponentAnalysis2D self, unsigned int i) -> double"""
8691 return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_value(self, *args)
8694 """get_centroid(PrincipalComponentAnalysis2D self) -> Vector2D"""
8695 return _IMP_algebra.PrincipalComponentAnalysis2D_get_centroid(self)
8697 def set_centroid(self, *args):
8698 """set_centroid(PrincipalComponentAnalysis2D self, Vector2D cntr)"""
8699 return _IMP_algebra.PrincipalComponentAnalysis2D_set_centroid(self, *args)
8701 def show(self, *args):
8703 show(PrincipalComponentAnalysis2D self, _ostream out=std::cout)
8704 show(PrincipalComponentAnalysis2D self)
8706 return _IMP_algebra.PrincipalComponentAnalysis2D_show(self, *args)
8708 def __eq__(self, *args):
8709 """__eq__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
8710 return _IMP_algebra.PrincipalComponentAnalysis2D___eq__(self, *args)
8712 def __ne__(self, *args):
8713 """__ne__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
8714 return _IMP_algebra.PrincipalComponentAnalysis2D___ne__(self, *args)
8716 def __lt__(self, *args):
8717 """__lt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
8718 return _IMP_algebra.PrincipalComponentAnalysis2D___lt__(self, *args)
8720 def __gt__(self, *args):
8721 """__gt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
8722 return _IMP_algebra.PrincipalComponentAnalysis2D___gt__(self, *args)
8724 def __ge__(self, *args):
8725 """__ge__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
8726 return _IMP_algebra.PrincipalComponentAnalysis2D___ge__(self, *args)
8728 def __le__(self, *args):
8729 """__le__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
8730 return _IMP_algebra.PrincipalComponentAnalysis2D___le__(self, *args)
8733 """__str__(PrincipalComponentAnalysis2D self) -> std::string"""
8734 return _IMP_algebra.PrincipalComponentAnalysis2D___str__(self)
8737 """__repr__(PrincipalComponentAnalysis2D self) -> std::string"""
8738 return _IMP_algebra.PrincipalComponentAnalysis2D___repr__(self)
8740 def __cmp__(self, *args):
8741 """__cmp__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D arg2) -> int"""
8742 return _IMP_algebra.PrincipalComponentAnalysis2D___cmp__(self, *args)
8744 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis2D
8745 __del__ =
lambda self :
None;
8746 PrincipalComponentAnalysis2D_swigregister = _IMP_algebra.PrincipalComponentAnalysis2D_swigregister
8747 PrincipalComponentAnalysis2D_swigregister(PrincipalComponentAnalysis2D)
8749 class PrincipalComponentAnalysis3D(_GeometricPrimitive3D):
8750 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(3)> class"""
8751 __swig_setmethods__ = {}
8752 for _s
in [_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8753 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis3D, name, value)
8754 __swig_getmethods__ = {}
8755 for _s
in [_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8756 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis3D, name)
8757 def __init__(self, *args):
8759 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self) -> PrincipalComponentAnalysis3D
8760 __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & pcs, Vector3D values, Vector3D centroid) -> PrincipalComponentAnalysis3D
8762 this = _IMP_algebra.new_PrincipalComponentAnalysis3D(*args)
8763 try: self.this.append(this)
8764 except: self.this = this
8766 """get_principal_components(PrincipalComponentAnalysis3D self) -> IMP::base::Vector< IMP::algebra::VectorD< 3 > >"""
8767 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_components(self)
8769 def get_principal_component(self, *args):
8770 """get_principal_component(PrincipalComponentAnalysis3D self, unsigned int i) -> Vector3D"""
8771 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_component(self, *args)
8773 def get_principal_values(self):
8774 """get_principal_values(PrincipalComponentAnalysis3D self) -> Vector3D"""
8775 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_values(self)
8777 def get_principal_value(self, *args):
8778 """get_principal_value(PrincipalComponentAnalysis3D self, unsigned int i) -> double"""
8779 return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_value(self, *args)
8782 """get_centroid(PrincipalComponentAnalysis3D self) -> Vector3D"""
8783 return _IMP_algebra.PrincipalComponentAnalysis3D_get_centroid(self)
8785 def set_centroid(self, *args):
8786 """set_centroid(PrincipalComponentAnalysis3D self, Vector3D cntr)"""
8787 return _IMP_algebra.PrincipalComponentAnalysis3D_set_centroid(self, *args)
8789 def show(self, *args):
8791 show(PrincipalComponentAnalysis3D self, _ostream out=std::cout)
8792 show(PrincipalComponentAnalysis3D self)
8794 return _IMP_algebra.PrincipalComponentAnalysis3D_show(self, *args)
8796 def __eq__(self, *args):
8797 """__eq__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
8798 return _IMP_algebra.PrincipalComponentAnalysis3D___eq__(self, *args)
8800 def __ne__(self, *args):
8801 """__ne__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
8802 return _IMP_algebra.PrincipalComponentAnalysis3D___ne__(self, *args)
8804 def __lt__(self, *args):
8805 """__lt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
8806 return _IMP_algebra.PrincipalComponentAnalysis3D___lt__(self, *args)
8808 def __gt__(self, *args):
8809 """__gt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
8810 return _IMP_algebra.PrincipalComponentAnalysis3D___gt__(self, *args)
8812 def __ge__(self, *args):
8813 """__ge__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
8814 return _IMP_algebra.PrincipalComponentAnalysis3D___ge__(self, *args)
8816 def __le__(self, *args):
8817 """__le__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
8818 return _IMP_algebra.PrincipalComponentAnalysis3D___le__(self, *args)
8821 """__str__(PrincipalComponentAnalysis3D self) -> std::string"""
8822 return _IMP_algebra.PrincipalComponentAnalysis3D___str__(self)
8825 """__repr__(PrincipalComponentAnalysis3D self) -> std::string"""
8826 return _IMP_algebra.PrincipalComponentAnalysis3D___repr__(self)
8828 def __cmp__(self, *args):
8829 """__cmp__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D arg2) -> int"""
8830 return _IMP_algebra.PrincipalComponentAnalysis3D___cmp__(self, *args)
8832 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis3D
8833 __del__ =
lambda self :
None;
8834 PrincipalComponentAnalysis3D_swigregister = _IMP_algebra.PrincipalComponentAnalysis3D_swigregister
8835 PrincipalComponentAnalysis3D_swigregister(PrincipalComponentAnalysis3D)
8837 class PrincipalComponentAnalysis4D(_GeometricPrimitive4D):
8838 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(4)> class"""
8839 __swig_setmethods__ = {}
8840 for _s
in [_GeometricPrimitive4D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8841 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis4D, name, value)
8842 __swig_getmethods__ = {}
8843 for _s
in [_GeometricPrimitive4D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8844 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis4D, name)
8845 def __init__(self, *args):
8847 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self) -> PrincipalComponentAnalysis4D
8848 __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self, IMP::base::Vector< IMP::algebra::VectorD< 4 > > const & pcs, Vector4D values, Vector4D centroid) -> PrincipalComponentAnalysis4D
8850 this = _IMP_algebra.new_PrincipalComponentAnalysis4D(*args)
8851 try: self.this.append(this)
8852 except: self.this = this
8854 """get_principal_components(PrincipalComponentAnalysis4D self) -> IMP::base::Vector< IMP::algebra::VectorD< 4 > >"""
8855 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_components(self)
8857 def get_principal_component(self, *args):
8858 """get_principal_component(PrincipalComponentAnalysis4D self, unsigned int i) -> Vector4D"""
8859 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_component(self, *args)
8861 def get_principal_values(self):
8862 """get_principal_values(PrincipalComponentAnalysis4D self) -> Vector4D"""
8863 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_values(self)
8865 def get_principal_value(self, *args):
8866 """get_principal_value(PrincipalComponentAnalysis4D self, unsigned int i) -> double"""
8867 return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_value(self, *args)
8870 """get_centroid(PrincipalComponentAnalysis4D self) -> Vector4D"""
8871 return _IMP_algebra.PrincipalComponentAnalysis4D_get_centroid(self)
8873 def set_centroid(self, *args):
8874 """set_centroid(PrincipalComponentAnalysis4D self, Vector4D cntr)"""
8875 return _IMP_algebra.PrincipalComponentAnalysis4D_set_centroid(self, *args)
8877 def show(self, *args):
8879 show(PrincipalComponentAnalysis4D self, _ostream out=std::cout)
8880 show(PrincipalComponentAnalysis4D self)
8882 return _IMP_algebra.PrincipalComponentAnalysis4D_show(self, *args)
8884 def __eq__(self, *args):
8885 """__eq__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
8886 return _IMP_algebra.PrincipalComponentAnalysis4D___eq__(self, *args)
8888 def __ne__(self, *args):
8889 """__ne__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
8890 return _IMP_algebra.PrincipalComponentAnalysis4D___ne__(self, *args)
8892 def __lt__(self, *args):
8893 """__lt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
8894 return _IMP_algebra.PrincipalComponentAnalysis4D___lt__(self, *args)
8896 def __gt__(self, *args):
8897 """__gt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
8898 return _IMP_algebra.PrincipalComponentAnalysis4D___gt__(self, *args)
8900 def __ge__(self, *args):
8901 """__ge__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
8902 return _IMP_algebra.PrincipalComponentAnalysis4D___ge__(self, *args)
8904 def __le__(self, *args):
8905 """__le__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
8906 return _IMP_algebra.PrincipalComponentAnalysis4D___le__(self, *args)
8909 """__str__(PrincipalComponentAnalysis4D self) -> std::string"""
8910 return _IMP_algebra.PrincipalComponentAnalysis4D___str__(self)
8913 """__repr__(PrincipalComponentAnalysis4D self) -> std::string"""
8914 return _IMP_algebra.PrincipalComponentAnalysis4D___repr__(self)
8916 def __cmp__(self, *args):
8917 """__cmp__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D arg2) -> int"""
8918 return _IMP_algebra.PrincipalComponentAnalysis4D___cmp__(self, *args)
8920 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis4D
8921 __del__ =
lambda self :
None;
8922 PrincipalComponentAnalysis4D_swigregister = _IMP_algebra.PrincipalComponentAnalysis4D_swigregister
8923 PrincipalComponentAnalysis4D_swigregister(PrincipalComponentAnalysis4D)
8925 class PrincipalComponentAnalysis5D(_GeometricPrimitive5D):
8926 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(5)> class"""
8927 __swig_setmethods__ = {}
8928 for _s
in [_GeometricPrimitive5D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8929 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis5D, name, value)
8930 __swig_getmethods__ = {}
8931 for _s
in [_GeometricPrimitive5D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8932 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis5D, name)
8933 def __init__(self, *args):
8935 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self) -> PrincipalComponentAnalysis5D
8936 __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self, IMP::base::Vector< IMP::algebra::VectorD< 5 > > const & pcs, Vector5D values, Vector5D centroid) -> PrincipalComponentAnalysis5D
8938 this = _IMP_algebra.new_PrincipalComponentAnalysis5D(*args)
8939 try: self.this.append(this)
8940 except: self.this = this
8942 """get_principal_components(PrincipalComponentAnalysis5D self) -> IMP::base::Vector< IMP::algebra::VectorD< 5 > >"""
8943 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_components(self)
8945 def get_principal_component(self, *args):
8946 """get_principal_component(PrincipalComponentAnalysis5D self, unsigned int i) -> Vector5D"""
8947 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_component(self, *args)
8949 def get_principal_values(self):
8950 """get_principal_values(PrincipalComponentAnalysis5D self) -> Vector5D"""
8951 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_values(self)
8953 def get_principal_value(self, *args):
8954 """get_principal_value(PrincipalComponentAnalysis5D self, unsigned int i) -> double"""
8955 return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_value(self, *args)
8958 """get_centroid(PrincipalComponentAnalysis5D self) -> Vector5D"""
8959 return _IMP_algebra.PrincipalComponentAnalysis5D_get_centroid(self)
8961 def set_centroid(self, *args):
8962 """set_centroid(PrincipalComponentAnalysis5D self, Vector5D cntr)"""
8963 return _IMP_algebra.PrincipalComponentAnalysis5D_set_centroid(self, *args)
8965 def show(self, *args):
8967 show(PrincipalComponentAnalysis5D self, _ostream out=std::cout)
8968 show(PrincipalComponentAnalysis5D self)
8970 return _IMP_algebra.PrincipalComponentAnalysis5D_show(self, *args)
8972 def __eq__(self, *args):
8973 """__eq__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
8974 return _IMP_algebra.PrincipalComponentAnalysis5D___eq__(self, *args)
8976 def __ne__(self, *args):
8977 """__ne__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
8978 return _IMP_algebra.PrincipalComponentAnalysis5D___ne__(self, *args)
8980 def __lt__(self, *args):
8981 """__lt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
8982 return _IMP_algebra.PrincipalComponentAnalysis5D___lt__(self, *args)
8984 def __gt__(self, *args):
8985 """__gt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
8986 return _IMP_algebra.PrincipalComponentAnalysis5D___gt__(self, *args)
8988 def __ge__(self, *args):
8989 """__ge__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
8990 return _IMP_algebra.PrincipalComponentAnalysis5D___ge__(self, *args)
8992 def __le__(self, *args):
8993 """__le__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
8994 return _IMP_algebra.PrincipalComponentAnalysis5D___le__(self, *args)
8997 """__str__(PrincipalComponentAnalysis5D self) -> std::string"""
8998 return _IMP_algebra.PrincipalComponentAnalysis5D___str__(self)
9001 """__repr__(PrincipalComponentAnalysis5D self) -> std::string"""
9002 return _IMP_algebra.PrincipalComponentAnalysis5D___repr__(self)
9004 def __cmp__(self, *args):
9005 """__cmp__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D arg2) -> int"""
9006 return _IMP_algebra.PrincipalComponentAnalysis5D___cmp__(self, *args)
9008 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis5D
9009 __del__ =
lambda self :
None;
9010 PrincipalComponentAnalysis5D_swigregister = _IMP_algebra.PrincipalComponentAnalysis5D_swigregister
9011 PrincipalComponentAnalysis5D_swigregister(PrincipalComponentAnalysis5D)
9013 class PrincipalComponentAnalysis6D(_GeometricPrimitive6D):
9014 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(6)> class"""
9015 __swig_setmethods__ = {}
9016 for _s
in [_GeometricPrimitive6D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9017 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysis6D, name, value)
9018 __swig_getmethods__ = {}
9019 for _s
in [_GeometricPrimitive6D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9020 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysis6D, name)
9021 def __init__(self, *args):
9023 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self) -> PrincipalComponentAnalysis6D
9024 __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self, IMP::base::Vector< IMP::algebra::VectorD< 6 > > const & pcs, Vector6D values, Vector6D centroid) -> PrincipalComponentAnalysis6D
9026 this = _IMP_algebra.new_PrincipalComponentAnalysis6D(*args)
9027 try: self.this.append(this)
9028 except: self.this = this
9030 """get_principal_components(PrincipalComponentAnalysis6D self) -> IMP::base::Vector< IMP::algebra::VectorD< 6 > >"""
9031 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_components(self)
9033 def get_principal_component(self, *args):
9034 """get_principal_component(PrincipalComponentAnalysis6D self, unsigned int i) -> Vector6D"""
9035 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_component(self, *args)
9037 def get_principal_values(self):
9038 """get_principal_values(PrincipalComponentAnalysis6D self) -> Vector6D"""
9039 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_values(self)
9041 def get_principal_value(self, *args):
9042 """get_principal_value(PrincipalComponentAnalysis6D self, unsigned int i) -> double"""
9043 return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_value(self, *args)
9046 """get_centroid(PrincipalComponentAnalysis6D self) -> Vector6D"""
9047 return _IMP_algebra.PrincipalComponentAnalysis6D_get_centroid(self)
9049 def set_centroid(self, *args):
9050 """set_centroid(PrincipalComponentAnalysis6D self, Vector6D cntr)"""
9051 return _IMP_algebra.PrincipalComponentAnalysis6D_set_centroid(self, *args)
9053 def show(self, *args):
9055 show(PrincipalComponentAnalysis6D self, _ostream out=std::cout)
9056 show(PrincipalComponentAnalysis6D self)
9058 return _IMP_algebra.PrincipalComponentAnalysis6D_show(self, *args)
9060 def __eq__(self, *args):
9061 """__eq__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9062 return _IMP_algebra.PrincipalComponentAnalysis6D___eq__(self, *args)
9064 def __ne__(self, *args):
9065 """__ne__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9066 return _IMP_algebra.PrincipalComponentAnalysis6D___ne__(self, *args)
9068 def __lt__(self, *args):
9069 """__lt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9070 return _IMP_algebra.PrincipalComponentAnalysis6D___lt__(self, *args)
9072 def __gt__(self, *args):
9073 """__gt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9074 return _IMP_algebra.PrincipalComponentAnalysis6D___gt__(self, *args)
9076 def __ge__(self, *args):
9077 """__ge__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9078 return _IMP_algebra.PrincipalComponentAnalysis6D___ge__(self, *args)
9080 def __le__(self, *args):
9081 """__le__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
9082 return _IMP_algebra.PrincipalComponentAnalysis6D___le__(self, *args)
9085 """__str__(PrincipalComponentAnalysis6D self) -> std::string"""
9086 return _IMP_algebra.PrincipalComponentAnalysis6D___str__(self)
9089 """__repr__(PrincipalComponentAnalysis6D self) -> std::string"""
9090 return _IMP_algebra.PrincipalComponentAnalysis6D___repr__(self)
9092 def __cmp__(self, *args):
9093 """__cmp__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D arg2) -> int"""
9094 return _IMP_algebra.PrincipalComponentAnalysis6D___cmp__(self, *args)
9096 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis6D
9097 __del__ =
lambda self :
None;
9098 PrincipalComponentAnalysis6D_swigregister = _IMP_algebra.PrincipalComponentAnalysis6D_swigregister
9099 PrincipalComponentAnalysis6D_swigregister(PrincipalComponentAnalysis6D)
9101 class PrincipalComponentAnalysisKD(_GeometricPrimitiveKD):
9102 """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(-1)> class"""
9103 __swig_setmethods__ = {}
9104 for _s
in [_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9105 __setattr__ =
lambda self, name, value: _swig_setattr(self, PrincipalComponentAnalysisKD, name, value)
9106 __swig_getmethods__ = {}
9107 for _s
in [_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9108 __getattr__ =
lambda self, name: _swig_getattr(self, PrincipalComponentAnalysisKD, name)
9109 def __init__(self, *args):
9111 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self) -> PrincipalComponentAnalysisKD
9112 __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self, IMP::base::Vector< IMP::algebra::VectorD< -1 > > const & pcs, VectorKD values, VectorKD centroid) -> PrincipalComponentAnalysisKD
9114 this = _IMP_algebra.new_PrincipalComponentAnalysisKD(*args)
9115 try: self.this.append(this)
9116 except: self.this = this
9118 """get_principal_components(PrincipalComponentAnalysisKD self) -> IMP::base::Vector< IMP::algebra::VectorD< -1 > >"""
9119 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_components(self)
9121 def get_principal_component(self, *args):
9122 """get_principal_component(PrincipalComponentAnalysisKD self, unsigned int i) -> VectorKD"""
9123 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_component(self, *args)
9125 def get_principal_values(self):
9126 """get_principal_values(PrincipalComponentAnalysisKD self) -> VectorKD"""
9127 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_values(self)
9129 def get_principal_value(self, *args):
9130 """get_principal_value(PrincipalComponentAnalysisKD self, unsigned int i) -> double"""
9131 return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_value(self, *args)
9134 """get_centroid(PrincipalComponentAnalysisKD self) -> VectorKD"""
9135 return _IMP_algebra.PrincipalComponentAnalysisKD_get_centroid(self)
9137 def set_centroid(self, *args):
9138 """set_centroid(PrincipalComponentAnalysisKD self, VectorKD cntr)"""
9139 return _IMP_algebra.PrincipalComponentAnalysisKD_set_centroid(self, *args)
9141 def show(self, *args):
9143 show(PrincipalComponentAnalysisKD self, _ostream out=std::cout)
9144 show(PrincipalComponentAnalysisKD self)
9146 return _IMP_algebra.PrincipalComponentAnalysisKD_show(self, *args)
9148 def __eq__(self, *args):
9149 """__eq__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9150 return _IMP_algebra.PrincipalComponentAnalysisKD___eq__(self, *args)
9152 def __ne__(self, *args):
9153 """__ne__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9154 return _IMP_algebra.PrincipalComponentAnalysisKD___ne__(self, *args)
9156 def __lt__(self, *args):
9157 """__lt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9158 return _IMP_algebra.PrincipalComponentAnalysisKD___lt__(self, *args)
9160 def __gt__(self, *args):
9161 """__gt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9162 return _IMP_algebra.PrincipalComponentAnalysisKD___gt__(self, *args)
9164 def __ge__(self, *args):
9165 """__ge__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9166 return _IMP_algebra.PrincipalComponentAnalysisKD___ge__(self, *args)
9168 def __le__(self, *args):
9169 """__le__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
9170 return _IMP_algebra.PrincipalComponentAnalysisKD___le__(self, *args)
9173 """__str__(PrincipalComponentAnalysisKD self) -> std::string"""
9174 return _IMP_algebra.PrincipalComponentAnalysisKD___str__(self)
9177 """__repr__(PrincipalComponentAnalysisKD self) -> std::string"""
9178 return _IMP_algebra.PrincipalComponentAnalysisKD___repr__(self)
9180 def __cmp__(self, *args):
9181 """__cmp__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD arg2) -> int"""
9182 return _IMP_algebra.PrincipalComponentAnalysisKD___cmp__(self, *args)
9184 __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysisKD
9185 __del__ =
lambda self :
None;
9186 PrincipalComponentAnalysisKD_swigregister = _IMP_algebra.PrincipalComponentAnalysisKD_swigregister
9187 PrincipalComponentAnalysisKD_swigregister(PrincipalComponentAnalysisKD)
9192 get_principal_components(IMP::base::Vector< IMP::algebra::Vector1D > const & a) -> PrincipalComponentAnalysis1D
9193 get_principal_components(IMP::base::Vector< IMP::algebra::Vector2D > const & a) -> PrincipalComponentAnalysis2D
9194 get_principal_components(IMP::base::Vector< IMP::algebra::Vector3D > const & a) -> PrincipalComponentAnalysis3D
9195 get_principal_components(IMP::base::Vector< IMP::algebra::Vector4D > const & a) -> PrincipalComponentAnalysis4D
9196 get_principal_components(IMP::base::Vector< IMP::algebra::Vector5D > const & a) -> PrincipalComponentAnalysis5D
9197 get_principal_components(IMP::base::Vector< IMP::algebra::Vector6D > const & a) -> PrincipalComponentAnalysis6D
9198 get_principal_components(IMP::base::Vector< IMP::algebra::VectorKD > const & a) -> PrincipalComponentAnalysisKD
9200 return _IMP_algebra.get_principal_components(*args)
9204 get_distance(Rotation3D r0, Rotation3D r1) -> double
9205 get_distance(Segment3D s, Vector3D p) -> double
9206 get_distance(Segment3D a, Segment3D b) -> double
9207 get_distance(Plane3D pln, Vector3D p) -> double
9208 get_distance(Vector1D a, Vector1D b) -> double
9209 get_distance(Vector2D a, Vector2D b) -> double
9210 get_distance(Vector3D a, Vector3D b) -> double
9211 get_distance(Vector4D a, Vector4D b) -> double
9212 get_distance(Vector5D a, Vector5D b) -> double
9213 get_distance(Vector6D a, Vector6D b) -> double
9214 get_distance(VectorKD a, VectorKD b) -> double
9215 get_distance(Sphere1D a, Sphere1D b) -> double
9216 get_distance(Sphere2D a, Sphere2D b) -> double
9217 get_distance(Sphere3D a, Sphere3D b) -> double
9218 get_distance(Sphere4D a, Sphere4D b) -> double
9219 get_distance(Sphere5D a, Sphere5D b) -> double
9220 get_distance(Sphere6D a, Sphere6D b) -> double
9221 get_distance(SphereKD a, SphereKD b) -> double
9223 return _IMP_algebra.get_distance(*args)
9227 get_squared_distance(Vector1D a, Vector1D b) -> double
9228 get_squared_distance(Vector2D a, Vector2D b) -> double
9229 get_squared_distance(Vector3D a, Vector3D b) -> double
9230 get_squared_distance(Vector4D a, Vector4D b) -> double
9231 get_squared_distance(Vector5D a, Vector5D b) -> double
9232 get_squared_distance(Vector6D a, Vector6D b) -> double
9233 get_squared_distance(VectorKD a, VectorKD b) -> double
9235 return _IMP_algebra.get_squared_distance(*args)
9237 def get_basis_vector_1d(*args):
9238 """get_basis_vector_1d(unsigned int coordinate) -> Vector1D"""
9239 return _IMP_algebra.get_basis_vector_1d(*args)
9241 def get_basis_vector_2d(*args):
9242 """get_basis_vector_2d(unsigned int coordinate) -> Vector2D"""
9243 return _IMP_algebra.get_basis_vector_2d(*args)
9245 def get_basis_vector_3d(*args):
9246 """get_basis_vector_3d(unsigned int coordinate) -> Vector3D"""
9247 return _IMP_algebra.get_basis_vector_3d(*args)
9249 def get_basis_vector_4d(*args):
9250 """get_basis_vector_4d(unsigned int coordinate) -> Vector4D"""
9251 return _IMP_algebra.get_basis_vector_4d(*args)
9253 def get_basis_vector_5d(*args):
9254 """get_basis_vector_5d(unsigned int coordinate) -> Vector5D"""
9255 return _IMP_algebra.get_basis_vector_5d(*args)
9257 def get_basis_vector_6d(*args):
9258 """get_basis_vector_6d(unsigned int coordinate) -> Vector6D"""
9259 return _IMP_algebra.get_basis_vector_6d(*args)
9261 def get_zero_vector_1d():
9262 """get_zero_vector_1d() -> Vector1D"""
9263 return _IMP_algebra.get_zero_vector_1d()
9265 def get_zero_vector_2d():
9266 """get_zero_vector_2d() -> Vector2D"""
9267 return _IMP_algebra.get_zero_vector_2d()
9269 def get_zero_vector_3d():
9270 """get_zero_vector_3d() -> Vector3D"""
9271 return _IMP_algebra.get_zero_vector_3d()
9273 def get_zero_vector_4d():
9274 """get_zero_vector_4d() -> Vector4D"""
9275 return _IMP_algebra.get_zero_vector_4d()
9277 def get_zero_vector_5d():
9278 """get_zero_vector_5d() -> Vector5D"""
9279 return _IMP_algebra.get_zero_vector_5d()
9281 def get_zero_vector_6d():
9282 """get_zero_vector_6d() -> Vector6D"""
9283 return _IMP_algebra.get_zero_vector_6d()
9285 def get_ones_vector_1d(v=1):
9287 get_ones_vector_1d(double v=1) -> Vector1D
9288 get_ones_vector_1d() -> Vector1D
9290 return _IMP_algebra.get_ones_vector_1d(v)
9292 def get_ones_vector_2d(v=1):
9294 get_ones_vector_2d(double v=1) -> Vector2D
9295 get_ones_vector_2d() -> Vector2D
9297 return _IMP_algebra.get_ones_vector_2d(v)
9299 def get_ones_vector_3d(v=1):
9301 get_ones_vector_3d(double v=1) -> Vector3D
9302 get_ones_vector_3d() -> Vector3D
9304 return _IMP_algebra.get_ones_vector_3d(v)
9306 def get_ones_vector_4d(v=1):
9308 get_ones_vector_4d(double v=1) -> Vector4D
9309 get_ones_vector_4d() -> Vector4D
9311 return _IMP_algebra.get_ones_vector_4d(v)
9313 def get_ones_vector_5d(v=1):
9315 get_ones_vector_5d(double v=1) -> Vector5D
9316 get_ones_vector_5d() -> Vector5D
9318 return _IMP_algebra.get_ones_vector_5d(v)
9320 def get_ones_vector_6d(v=1):
9322 get_ones_vector_6d(double v=1) -> Vector6D
9323 get_ones_vector_6d() -> Vector6D
9325 return _IMP_algebra.get_ones_vector_6d(v)
9327 def get_unit_bounding_box_1d():
9328 """get_unit_bounding_box_1d() -> BoundingBox1D"""
9329 return _IMP_algebra.get_unit_bounding_box_1d()
9331 def get_unit_bounding_box_2d():
9332 """get_unit_bounding_box_2d() -> BoundingBox2D"""
9333 return _IMP_algebra.get_unit_bounding_box_2d()
9335 def get_unit_bounding_box_3d():
9336 """get_unit_bounding_box_3d() -> BoundingBox3D"""
9337 return _IMP_algebra.get_unit_bounding_box_3d()
9339 def get_unit_bounding_box_4d():
9340 """get_unit_bounding_box_4d() -> BoundingBox4D"""
9341 return _IMP_algebra.get_unit_bounding_box_4d()
9343 def get_unit_bounding_box_5d():
9344 """get_unit_bounding_box_5d() -> BoundingBox5D"""
9345 return _IMP_algebra.get_unit_bounding_box_5d()
9347 def get_unit_bounding_box_6d():
9348 """get_unit_bounding_box_6d() -> BoundingBox6D"""
9349 return _IMP_algebra.get_unit_bounding_box_6d()
9351 def get_cube_1d(*args):
9352 """get_cube_1d(double radius) -> BoundingBox1D"""
9353 return _IMP_algebra.get_cube_1d(*args)
9355 def get_cube_2d(*args):
9356 """get_cube_2d(double radius) -> BoundingBox2D"""
9357 return _IMP_algebra.get_cube_2d(*args)
9359 def get_cube_3d(*args):
9360 """get_cube_3d(double radius) -> BoundingBox3D"""
9361 return _IMP_algebra.get_cube_3d(*args)
9363 def get_cube_4d(*args):
9364 """get_cube_4d(double radius) -> BoundingBox4D"""
9365 return _IMP_algebra.get_cube_4d(*args)
9367 def get_cube_5d(*args):
9368 """get_cube_5d(double radius) -> BoundingBox5D"""
9369 return _IMP_algebra.get_cube_5d(*args)
9371 def get_cube_6d(*args):
9372 """get_cube_6d(double radius) -> BoundingBox6D"""
9373 return _IMP_algebra.get_cube_6d(*args)
9375 def get_unit_sphere_1d():
9376 """get_unit_sphere_1d() -> Sphere1D"""
9377 return _IMP_algebra.get_unit_sphere_1d()
9379 def get_unit_sphere_2d():
9380 """get_unit_sphere_2d() -> Sphere2D"""
9381 return _IMP_algebra.get_unit_sphere_2d()
9383 def get_unit_sphere_3d():
9384 """get_unit_sphere_3d() -> Sphere3D"""
9385 return _IMP_algebra.get_unit_sphere_3d()
9387 def get_unit_sphere_4d():
9388 """get_unit_sphere_4d() -> Sphere4D"""
9389 return _IMP_algebra.get_unit_sphere_4d()
9391 def get_unit_sphere_5d():
9392 """get_unit_sphere_5d() -> Sphere5D"""
9393 return _IMP_algebra.get_unit_sphere_5d()
9395 def get_unit_sphere_6d():
9396 """get_unit_sphere_6d() -> Sphere6D"""
9397 return _IMP_algebra.get_unit_sphere_6d()
9401 get_interiors_intersect(Sphere1D a, Sphere1D b) -> bool
9402 get_interiors_intersect(Sphere2D a, Sphere2D b) -> bool
9403 get_interiors_intersect(Sphere3D a, Sphere3D b) -> bool
9404 get_interiors_intersect(Sphere4D a, Sphere4D b) -> bool
9405 get_interiors_intersect(Sphere5D a, Sphere5D b) -> bool
9406 get_interiors_intersect(Sphere6D a, Sphere6D b) -> bool
9407 get_interiors_intersect(SphereKD a, SphereKD b) -> bool
9408 get_interiors_intersect(BoundingBox1D a, BoundingBox1D b) -> bool
9409 get_interiors_intersect(BoundingBox2D a, BoundingBox2D b) -> bool
9410 get_interiors_intersect(BoundingBox3D a, BoundingBox3D b) -> bool
9411 get_interiors_intersect(BoundingBox4D a, BoundingBox4D b) -> bool
9412 get_interiors_intersect(BoundingBox5D a, BoundingBox5D b) -> bool
9413 get_interiors_intersect(BoundingBox6D a, BoundingBox6D b) -> bool
9414 get_interiors_intersect(BoundingBoxKD a, BoundingBoxKD b) -> bool
9416 return _IMP_algebra.get_interiors_intersect(*args)
9420 get_random_vector_on(Sphere1D a) -> Vector1D
9421 get_random_vector_on(Sphere2D a) -> Vector2D
9422 get_random_vector_on(Sphere3D a) -> Vector3D
9423 get_random_vector_on(Sphere4D a) -> Vector4D
9424 get_random_vector_on(Sphere5D a) -> Vector5D
9425 get_random_vector_on(Sphere6D a) -> Vector6D
9426 get_random_vector_on(SphereKD a) -> VectorKD
9427 get_random_vector_on(BoundingBox1D a) -> Vector1D
9428 get_random_vector_on(BoundingBox2D a) -> Vector2D
9429 get_random_vector_on(BoundingBox3D a) -> Vector3D
9430 get_random_vector_on(BoundingBox4D a) -> Vector4D
9431 get_random_vector_on(BoundingBox5D a) -> Vector5D
9432 get_random_vector_on(BoundingBox6D a) -> Vector6D
9433 get_random_vector_on(BoundingBoxKD a) -> VectorKD
9435 return _IMP_algebra.get_random_vector_on(*args)
9439 get_random_vector_in(Sphere2D s) -> Vector2D
9440 get_random_vector_in(Cylinder3D c) -> Vector3D
9441 get_random_vector_in(Sphere1D a) -> Vector1D
9442 get_random_vector_in(Sphere2D a) -> Vector2D
9443 get_random_vector_in(Sphere3D a) -> Vector3D
9444 get_random_vector_in(Sphere4D a) -> Vector4D
9445 get_random_vector_in(Sphere5D a) -> Vector5D
9446 get_random_vector_in(Sphere6D a) -> Vector6D
9447 get_random_vector_in(SphereKD a) -> VectorKD
9448 get_random_vector_in(BoundingBox1D a) -> Vector1D
9449 get_random_vector_in(BoundingBox2D a) -> Vector2D
9450 get_random_vector_in(BoundingBox3D a) -> Vector3D
9451 get_random_vector_in(BoundingBox4D a) -> Vector4D
9452 get_random_vector_in(BoundingBox5D a) -> Vector5D
9453 get_random_vector_in(BoundingBox6D a) -> Vector6D
9454 get_random_vector_in(BoundingBoxKD a) -> VectorKD
9456 return _IMP_algebra.get_random_vector_in(*args)
9460 get_intersection(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
9461 get_intersection(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
9462 get_intersection(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
9463 get_intersection(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
9464 get_intersection(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
9465 get_intersection(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
9466 get_intersection(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
9468 return _IMP_algebra.get_intersection(*args)
9472 get_union(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
9473 get_union(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
9474 get_union(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
9475 get_union(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
9476 get_union(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
9477 get_union(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
9478 get_union(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
9480 return _IMP_algebra.get_union(*args)
9484 get_bounding_box(Segment3D g) -> BoundingBox3D
9485 get_bounding_box(Plane3D g) -> BoundingBox3D
9486 get_bounding_box(Cylinder3D g) -> BoundingBox3D
9487 get_bounding_box(Ellipsoid3D g) -> BoundingBox3D
9488 get_bounding_box(SpherePatch3D g) -> BoundingBox3D
9489 get_bounding_box(Cone3D g) -> BoundingBox3D
9490 get_bounding_box(Sphere1D a) -> BoundingBox1D
9491 get_bounding_box(Sphere2D a) -> BoundingBox2D
9492 get_bounding_box(Sphere3D a) -> BoundingBox3D
9493 get_bounding_box(Sphere4D a) -> BoundingBox4D
9494 get_bounding_box(Sphere5D a) -> BoundingBox5D
9495 get_bounding_box(Sphere6D a) -> BoundingBox6D
9496 get_bounding_box(SphereKD a) -> BoundingBoxKD
9498 return _IMP_algebra.get_bounding_box(*args)
9502 get_uniform_surface_cover(Cylinder3D cyl, int number_of_points) -> IMP::algebra::Vector3Ds
9503 get_uniform_surface_cover(SpherePatch3D sph, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
9504 get_uniform_surface_cover(Cone3D cone, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
9505 get_uniform_surface_cover(Sphere1D a, unsigned int const & b) -> IMP::algebra::Vector1Ds
9506 get_uniform_surface_cover(Sphere2D a, unsigned int const & b) -> IMP::algebra::Vector2Ds
9507 get_uniform_surface_cover(Sphere3D a, unsigned int const & b) -> IMP::algebra::Vector3Ds
9508 get_uniform_surface_cover(Sphere4D a, unsigned int const & b) -> IMP::algebra::Vector4Ds
9509 get_uniform_surface_cover(Sphere5D a, unsigned int const & b) -> IMP::algebra::Vector5Ds
9510 get_uniform_surface_cover(Sphere6D a, unsigned int const & b) -> IMP::algebra::Vector6Ds
9511 get_uniform_surface_cover(SphereKD a, unsigned int const & b) -> IMP::algebra::VectorKDs
9513 return _IMP_algebra.get_uniform_surface_cover(*args)
9517 get_grid_interior_cover_by_spacing(BoundingBox1D a, double const & b) -> IMP::algebra::Vector1Ds
9518 get_grid_interior_cover_by_spacing(BoundingBox2D a, double const & b) -> IMP::algebra::Vector2Ds
9519 get_grid_interior_cover_by_spacing(BoundingBox3D a, double const & b) -> IMP::algebra::Vector3Ds
9520 get_grid_interior_cover_by_spacing(BoundingBox4D a, double const & b) -> IMP::algebra::Vector4Ds
9521 get_grid_interior_cover_by_spacing(BoundingBox5D a, double const & b) -> IMP::algebra::Vector5Ds
9522 get_grid_interior_cover_by_spacing(BoundingBox6D a, double const & b) -> IMP::algebra::Vector6Ds
9523 get_grid_interior_cover_by_spacing(BoundingBoxKD a, double const & b) -> IMP::algebra::VectorKDs
9525 return _IMP_algebra.get_grid_interior_cover_by_spacing(*args)
9526 class _SparseIntStorage(BoundedGridRange3D):
9527 """Proxy of C++ IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)> class"""
9528 __swig_setmethods__ = {}
9529 for _s
in [BoundedGridRange3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9530 __setattr__ =
lambda self, name, value: _swig_setattr(self, _SparseIntStorage, name, value)
9531 __swig_getmethods__ = {}
9532 for _s
in [BoundedGridRange3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9533 __getattr__ =
lambda self, name: _swig_getattr(self, _SparseIntStorage, name)
9534 __repr__ = _swig_repr
9535 def __init__(self, *args):
9536 """__init__(IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)> self, IMP::Ints const & counts, int const & default_value) -> _SparseIntStorage"""
9537 this = _IMP_algebra.new__SparseIntStorage(*args)
9538 try: self.this.append(this)
9539 except: self.this = this
9540 def show(self, *args):
9542 show(_SparseIntStorage self, _ostream out=std::cout)
9543 show(_SparseIntStorage self)
9545 return _IMP_algebra._SparseIntStorage_show(self, *args)
9547 def add_voxel(self, *args):
9548 """add_voxel(_SparseIntStorage self, ExtendedGridIndex3D i, int const & gi) -> GridIndex3D"""
9549 return _IMP_algebra._SparseIntStorage_add_voxel(self, *args)
9551 def remove_voxel(self, *args):
9552 """remove_voxel(_SparseIntStorage self, GridIndex3D gi)"""
9553 return _IMP_algebra._SparseIntStorage_remove_voxel(self, *args)
9555 def get_number_of_voxels(self):
9556 """get_number_of_voxels(_SparseIntStorage self) -> unsigned int"""
9557 return _IMP_algebra._SparseIntStorage_get_number_of_voxels(self)
9559 def get_has_index(self, *args):
9560 """get_has_index(_SparseIntStorage self, ExtendedGridIndex3D i) -> bool"""
9561 return _IMP_algebra._SparseIntStorage_get_has_index(self, *args)
9564 """get_index(_SparseIntStorage self, ExtendedGridIndex3D i) -> GridIndex3D"""
9565 return _IMP_algebra._SparseIntStorage_get_index(self, *args)
9567 def __setitem__(self, *args):
9568 """__setitem__(_SparseIntStorage self, GridIndex3D i, int const & v)"""
9569 return _IMP_algebra._SparseIntStorage___setitem__(self, *args)
9571 def __getitem__(self, *args):
9572 """__getitem__(_SparseIntStorage self, GridIndex3D i) -> int const &"""
9573 return _IMP_algebra._SparseIntStorage___getitem__(self, *args)
9575 def get_all_indexes(self):
9576 """get_all_indexes(_SparseIntStorage self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
9577 return _IMP_algebra._SparseIntStorage_get_all_indexes(self)
9580 """get_indexes(_SparseIntStorage self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
9581 return _IMP_algebra._SparseIntStorage_get_indexes(self, *args)
9583 def get_minimum_extended_index(self):
9584 """get_minimum_extended_index(_SparseIntStorage self) -> ExtendedGridIndex3D"""
9585 return _IMP_algebra._SparseIntStorage_get_minimum_extended_index(self)
9587 def get_maximum_extended_index(self):
9588 """get_maximum_extended_index(_SparseIntStorage self) -> ExtendedGridIndex3D"""
9589 return _IMP_algebra._SparseIntStorage_get_maximum_extended_index(self)
9591 __swig_destroy__ = _IMP_algebra.delete__SparseIntStorage
9592 __del__ =
lambda self :
None;
9593 _SparseIntStorage_swigregister = _IMP_algebra._SparseIntStorage_swigregister
9594 _SparseIntStorage_swigregister(_SparseIntStorage)
9596 class _SparseUBIntStorage(UnboundedGridRange3D):
9597 """Proxy of C++ IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)> class"""
9598 __swig_setmethods__ = {}
9599 for _s
in [UnboundedGridRange3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9600 __setattr__ =
lambda self, name, value: _swig_setattr(self, _SparseUBIntStorage, name, value)
9601 __swig_getmethods__ = {}
9602 for _s
in [UnboundedGridRange3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9603 __getattr__ =
lambda self, name: _swig_getattr(self, _SparseUBIntStorage, name)
9604 __repr__ = _swig_repr
9605 def __init__(self, *args):
9606 """__init__(IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)> self, IMP::Ints const & counts, int const & default_value) -> _SparseUBIntStorage"""
9607 this = _IMP_algebra.new__SparseUBIntStorage(*args)
9608 try: self.this.append(this)
9609 except: self.this = this
9610 def show(self, *args):
9612 show(_SparseUBIntStorage self, _ostream out=std::cout)
9613 show(_SparseUBIntStorage self)
9615 return _IMP_algebra._SparseUBIntStorage_show(self, *args)
9617 def add_voxel(self, *args):
9618 """add_voxel(_SparseUBIntStorage self, ExtendedGridIndex3D i, int const & gi) -> GridIndex3D"""
9619 return _IMP_algebra._SparseUBIntStorage_add_voxel(self, *args)
9621 def remove_voxel(self, *args):
9622 """remove_voxel(_SparseUBIntStorage self, GridIndex3D gi)"""
9623 return _IMP_algebra._SparseUBIntStorage_remove_voxel(self, *args)
9625 def get_number_of_voxels(self):
9626 """get_number_of_voxels(_SparseUBIntStorage self) -> unsigned int"""
9627 return _IMP_algebra._SparseUBIntStorage_get_number_of_voxels(self)
9629 def get_has_index(self, *args):
9630 """get_has_index(_SparseUBIntStorage self, ExtendedGridIndex3D i) -> bool"""
9631 return _IMP_algebra._SparseUBIntStorage_get_has_index(self, *args)
9634 """get_index(_SparseUBIntStorage self, ExtendedGridIndex3D i) -> GridIndex3D"""
9635 return _IMP_algebra._SparseUBIntStorage_get_index(self, *args)
9637 def __setitem__(self, *args):
9638 """__setitem__(_SparseUBIntStorage self, GridIndex3D i, int const & v)"""
9639 return _IMP_algebra._SparseUBIntStorage___setitem__(self, *args)
9641 def __getitem__(self, *args):
9642 """__getitem__(_SparseUBIntStorage self, GridIndex3D i) -> int const &"""
9643 return _IMP_algebra._SparseUBIntStorage___getitem__(self, *args)
9645 def get_all_indexes(self):
9646 """get_all_indexes(_SparseUBIntStorage self) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
9647 return _IMP_algebra._SparseUBIntStorage_get_all_indexes(self)
9650 """get_indexes(_SparseUBIntStorage self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< 3 > >"""
9651 return _IMP_algebra._SparseUBIntStorage_get_indexes(self, *args)
9653 def get_minimum_extended_index(self):
9654 """get_minimum_extended_index(_SparseUBIntStorage self) -> ExtendedGridIndex3D"""
9655 return _IMP_algebra._SparseUBIntStorage_get_minimum_extended_index(self)
9657 def get_maximum_extended_index(self):
9658 """get_maximum_extended_index(_SparseUBIntStorage self) -> ExtendedGridIndex3D"""
9659 return _IMP_algebra._SparseUBIntStorage_get_maximum_extended_index(self)
9661 __swig_destroy__ = _IMP_algebra.delete__SparseUBIntStorage
9662 __del__ =
lambda self :
None;
9663 _SparseUBIntStorage_swigregister = _IMP_algebra._SparseUBIntStorage_swigregister
9664 _SparseUBIntStorage_swigregister(_SparseUBIntStorage)
9666 class _SparseUBIntStorageK(UnboundedGridRangeKD):
9667 """Proxy of C++ IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)> class"""
9668 __swig_setmethods__ = {}
9669 for _s
in [UnboundedGridRangeKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9670 __setattr__ =
lambda self, name, value: _swig_setattr(self, _SparseUBIntStorageK, name, value)
9671 __swig_getmethods__ = {}
9672 for _s
in [UnboundedGridRangeKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9673 __getattr__ =
lambda self, name: _swig_getattr(self, _SparseUBIntStorageK, name)
9674 __repr__ = _swig_repr
9675 def __init__(self, *args):
9676 """__init__(IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)> self, IMP::Ints const & counts, int const & default_value) -> _SparseUBIntStorageK"""
9677 this = _IMP_algebra.new__SparseUBIntStorageK(*args)
9678 try: self.this.append(this)
9679 except: self.this = this
9680 def show(self, *args):
9682 show(_SparseUBIntStorageK self, _ostream out=std::cout)
9683 show(_SparseUBIntStorageK self)
9685 return _IMP_algebra._SparseUBIntStorageK_show(self, *args)
9687 def add_voxel(self, *args):
9688 """add_voxel(_SparseUBIntStorageK self, ExtendedGridIndexKD i, int const & gi) -> GridIndexKD"""
9689 return _IMP_algebra._SparseUBIntStorageK_add_voxel(self, *args)
9691 def remove_voxel(self, *args):
9692 """remove_voxel(_SparseUBIntStorageK self, GridIndexKD gi)"""
9693 return _IMP_algebra._SparseUBIntStorageK_remove_voxel(self, *args)
9695 def get_number_of_voxels(self):
9696 """get_number_of_voxels(_SparseUBIntStorageK self) -> unsigned int"""
9697 return _IMP_algebra._SparseUBIntStorageK_get_number_of_voxels(self)
9699 def get_has_index(self, *args):
9700 """get_has_index(_SparseUBIntStorageK self, ExtendedGridIndexKD i) -> bool"""
9701 return _IMP_algebra._SparseUBIntStorageK_get_has_index(self, *args)
9704 """get_index(_SparseUBIntStorageK self, ExtendedGridIndexKD i) -> GridIndexKD"""
9705 return _IMP_algebra._SparseUBIntStorageK_get_index(self, *args)
9707 def __setitem__(self, *args):
9708 """__setitem__(_SparseUBIntStorageK self, GridIndexKD i, int const & v)"""
9709 return _IMP_algebra._SparseUBIntStorageK___setitem__(self, *args)
9711 def __getitem__(self, *args):
9712 """__getitem__(_SparseUBIntStorageK self, GridIndexKD i) -> int const &"""
9713 return _IMP_algebra._SparseUBIntStorageK___getitem__(self, *args)
9715 def get_all_indexes(self):
9716 """get_all_indexes(_SparseUBIntStorageK self) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
9717 return _IMP_algebra._SparseUBIntStorageK_get_all_indexes(self)
9720 """get_indexes(_SparseUBIntStorageK self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
9721 return _IMP_algebra._SparseUBIntStorageK_get_indexes(self, *args)
9723 def get_minimum_extended_index(self):
9724 """get_minimum_extended_index(_SparseUBIntStorageK self) -> ExtendedGridIndexKD"""
9725 return _IMP_algebra._SparseUBIntStorageK_get_minimum_extended_index(self)
9727 def get_maximum_extended_index(self):
9728 """get_maximum_extended_index(_SparseUBIntStorageK self) -> ExtendedGridIndexKD"""
9729 return _IMP_algebra._SparseUBIntStorageK_get_maximum_extended_index(self)
9731 __swig_destroy__ = _IMP_algebra.delete__SparseUBIntStorageK
9732 __del__ =
lambda self :
None;
9733 _SparseUBIntStorageK_swigregister = _IMP_algebra._SparseUBIntStorageK_swigregister
9734 _SparseUBIntStorageK_swigregister(_SparseUBIntStorageK)
9736 class _SparseIntStorageK(BoundedGridRangeKD):
9737 """Proxy of C++ IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)> class"""
9738 __swig_setmethods__ = {}
9739 for _s
in [BoundedGridRangeKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9740 __setattr__ =
lambda self, name, value: _swig_setattr(self, _SparseIntStorageK, name, value)
9741 __swig_getmethods__ = {}
9742 for _s
in [BoundedGridRangeKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9743 __getattr__ =
lambda self, name: _swig_getattr(self, _SparseIntStorageK, name)
9744 __repr__ = _swig_repr
9745 def __init__(self, *args):
9746 """__init__(IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)> self, IMP::Ints const & counts, int const & default_value) -> _SparseIntStorageK"""
9747 this = _IMP_algebra.new__SparseIntStorageK(*args)
9748 try: self.this.append(this)
9749 except: self.this = this
9750 def show(self, *args):
9752 show(_SparseIntStorageK self, _ostream out=std::cout)
9753 show(_SparseIntStorageK self)
9755 return _IMP_algebra._SparseIntStorageK_show(self, *args)
9757 def add_voxel(self, *args):
9758 """add_voxel(_SparseIntStorageK self, ExtendedGridIndexKD i, int const & gi) -> GridIndexKD"""
9759 return _IMP_algebra._SparseIntStorageK_add_voxel(self, *args)
9761 def remove_voxel(self, *args):
9762 """remove_voxel(_SparseIntStorageK self, GridIndexKD gi)"""
9763 return _IMP_algebra._SparseIntStorageK_remove_voxel(self, *args)
9765 def get_number_of_voxels(self):
9766 """get_number_of_voxels(_SparseIntStorageK self) -> unsigned int"""
9767 return _IMP_algebra._SparseIntStorageK_get_number_of_voxels(self)
9769 def get_has_index(self, *args):
9770 """get_has_index(_SparseIntStorageK self, ExtendedGridIndexKD i) -> bool"""
9771 return _IMP_algebra._SparseIntStorageK_get_has_index(self, *args)
9774 """get_index(_SparseIntStorageK self, ExtendedGridIndexKD i) -> GridIndexKD"""
9775 return _IMP_algebra._SparseIntStorageK_get_index(self, *args)
9777 def __setitem__(self, *args):
9778 """__setitem__(_SparseIntStorageK self, GridIndexKD i, int const & v)"""
9779 return _IMP_algebra._SparseIntStorageK___setitem__(self, *args)
9781 def __getitem__(self, *args):
9782 """__getitem__(_SparseIntStorageK self, GridIndexKD i) -> int const &"""
9783 return _IMP_algebra._SparseIntStorageK___getitem__(self, *args)
9785 def get_all_indexes(self):
9786 """get_all_indexes(_SparseIntStorageK self) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
9787 return _IMP_algebra._SparseIntStorageK_get_all_indexes(self)
9790 """get_indexes(_SparseIntStorageK self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::base::Vector< IMP::algebra::GridIndexD< -1 > >"""
9791 return _IMP_algebra._SparseIntStorageK_get_indexes(self, *args)
9793 def get_minimum_extended_index(self):
9794 """get_minimum_extended_index(_SparseIntStorageK self) -> ExtendedGridIndexKD"""
9795 return _IMP_algebra._SparseIntStorageK_get_minimum_extended_index(self)
9797 def get_maximum_extended_index(self):
9798 """get_maximum_extended_index(_SparseIntStorageK self) -> ExtendedGridIndexKD"""
9799 return _IMP_algebra._SparseIntStorageK_get_maximum_extended_index(self)
9801 __swig_destroy__ = _IMP_algebra.delete__SparseIntStorageK
9802 __del__ =
lambda self :
None;
9803 _SparseIntStorageK_swigregister = _IMP_algebra._SparseIntStorageK_swigregister
9804 _SparseIntStorageK_swigregister(_SparseIntStorageK)
9806 class _DenseDoubleStorage(BoundedGridRange3D):
9807 """Proxy of C++ IMP::algebra::DenseGridStorageD<(3,double)> class"""
9808 __swig_setmethods__ = {}
9809 for _s
in [BoundedGridRange3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9810 __setattr__ =
lambda self, name, value: _swig_setattr(self, _DenseDoubleStorage, name, value)
9811 __swig_getmethods__ = {}
9812 for _s
in [BoundedGridRange3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9813 __getattr__ =
lambda self, name: _swig_getattr(self, _DenseDoubleStorage, name)
9814 __repr__ = _swig_repr
9815 def __setitem__(self, *args):
9817 __setitem__(_DenseDoubleStorage self, GridIndex3D i, double const & v)
9818 __setitem__(_DenseDoubleStorage self, unsigned int i, double const & v)
9820 return _IMP_algebra._DenseDoubleStorage___setitem__(self, *args)
9822 def __getitem__(self, *args):
9824 __getitem__(_DenseDoubleStorage self, GridIndex3D i) -> double const
9825 __getitem__(_DenseDoubleStorage self, unsigned int i) -> double const &
9827 return _IMP_algebra._DenseDoubleStorage___getitem__(self, *args)
9829 def __init__(self, *args):
9831 __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, _DenseDoubleStorage o) -> _DenseDoubleStorage
9832 __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, IMP::Ints const & counts, double const & default_value=double()) -> _DenseDoubleStorage
9833 __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, IMP::Ints const & counts) -> _DenseDoubleStorage
9834 __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, double const & default_value=double()) -> _DenseDoubleStorage
9835 __init__(IMP::algebra::DenseGridStorageD<(3,double)> self) -> _DenseDoubleStorage
9837 this = _IMP_algebra.new__DenseDoubleStorage(*args)
9838 try: self.this.append(this)
9839 except: self.this = this
9841 """get_is_dense() -> bool"""
9842 return _IMP_algebra._DenseDoubleStorage_get_is_dense()
9844 if _newclass:get_is_dense = staticmethod(get_is_dense)
9845 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
9846 def show(self, *args):
9848 show(_DenseDoubleStorage self, _ostream out=std::cout)
9849 show(_DenseDoubleStorage self)
9851 return _IMP_algebra._DenseDoubleStorage_show(self, *args)
9853 def add_voxel(self, *args):
9854 """add_voxel(_DenseDoubleStorage self, ExtendedGridIndex3D arg2, double const & arg3) -> GridIndex3D"""
9855 return _IMP_algebra._DenseDoubleStorage_add_voxel(self, *args)
9857 def get_all_voxels(self):
9858 """get_all_voxels(_DenseDoubleStorage self) -> IMP::base::Vector< double >"""
9859 return _IMP_algebra._DenseDoubleStorage_get_all_voxels(self)
9861 __swig_destroy__ = _IMP_algebra.delete__DenseDoubleStorage
9862 __del__ =
lambda self :
None;
9863 _DenseDoubleStorage_swigregister = _IMP_algebra._DenseDoubleStorage_swigregister
9864 _DenseDoubleStorage_swigregister(_DenseDoubleStorage)
9866 def _DenseDoubleStorage_get_is_dense():
9867 """_DenseDoubleStorage_get_is_dense() -> bool"""
9868 return _IMP_algebra._DenseDoubleStorage_get_is_dense()
9870 class _DenseFloatStorage(BoundedGridRange3D):
9871 """Proxy of C++ IMP::algebra::DenseGridStorageD<(3,float)> class"""
9872 __swig_setmethods__ = {}
9873 for _s
in [BoundedGridRange3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9874 __setattr__ =
lambda self, name, value: _swig_setattr(self, _DenseFloatStorage, name, value)
9875 __swig_getmethods__ = {}
9876 for _s
in [BoundedGridRange3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9877 __getattr__ =
lambda self, name: _swig_getattr(self, _DenseFloatStorage, name)
9878 __repr__ = _swig_repr
9879 def __setitem__(self, *args):
9881 __setitem__(_DenseFloatStorage self, GridIndex3D i, float const & v)
9882 __setitem__(_DenseFloatStorage self, unsigned int i, float const & v)
9884 return _IMP_algebra._DenseFloatStorage___setitem__(self, *args)
9886 def __getitem__(self, *args):
9888 __getitem__(_DenseFloatStorage self, GridIndex3D i) -> float const
9889 __getitem__(_DenseFloatStorage self, unsigned int i) -> float const &
9891 return _IMP_algebra._DenseFloatStorage___getitem__(self, *args)
9893 def __init__(self, *args):
9895 __init__(IMP::algebra::DenseGridStorageD<(3,float)> self, _DenseFloatStorage o) -> _DenseFloatStorage
9896 __init__(IMP::algebra::DenseGridStorageD<(3,float)> self, IMP::Ints const & counts, float const & default_value=float()) -> _DenseFloatStorage
9897 __init__(IMP::algebra::DenseGridStorageD<(3,float)> self, IMP::Ints const & counts) -> _DenseFloatStorage
9898 __init__(IMP::algebra::DenseGridStorageD<(3,float)> self, float const & default_value=float()) -> _DenseFloatStorage
9899 __init__(IMP::algebra::DenseGridStorageD<(3,float)> self) -> _DenseFloatStorage
9901 this = _IMP_algebra.new__DenseFloatStorage(*args)
9902 try: self.this.append(this)
9903 except: self.this = this
9905 """get_is_dense() -> bool"""
9906 return _IMP_algebra._DenseFloatStorage_get_is_dense()
9908 if _newclass:get_is_dense = staticmethod(get_is_dense)
9909 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
9910 def show(self, *args):
9912 show(_DenseFloatStorage self, _ostream out=std::cout)
9913 show(_DenseFloatStorage self)
9915 return _IMP_algebra._DenseFloatStorage_show(self, *args)
9917 def add_voxel(self, *args):
9918 """add_voxel(_DenseFloatStorage self, ExtendedGridIndex3D arg2, float const & arg3) -> GridIndex3D"""
9919 return _IMP_algebra._DenseFloatStorage_add_voxel(self, *args)
9921 def get_all_voxels(self):
9922 """get_all_voxels(_DenseFloatStorage self) -> IMP::base::Vector< float >"""
9923 return _IMP_algebra._DenseFloatStorage_get_all_voxels(self)
9925 __swig_destroy__ = _IMP_algebra.delete__DenseFloatStorage
9926 __del__ =
lambda self :
None;
9927 _DenseFloatStorage_swigregister = _IMP_algebra._DenseFloatStorage_swigregister
9928 _DenseFloatStorage_swigregister(_DenseFloatStorage)
9930 def _DenseFloatStorage_get_is_dense():
9931 """_DenseFloatStorage_get_is_dense() -> bool"""
9932 return _IMP_algebra._DenseFloatStorage_get_is_dense()
9934 class _DenseIntStorage(BoundedGridRange3D):
9935 """Proxy of C++ IMP::algebra::DenseGridStorageD<(3,int)> class"""
9936 __swig_setmethods__ = {}
9937 for _s
in [BoundedGridRange3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9938 __setattr__ =
lambda self, name, value: _swig_setattr(self, _DenseIntStorage, name, value)
9939 __swig_getmethods__ = {}
9940 for _s
in [BoundedGridRange3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9941 __getattr__ =
lambda self, name: _swig_getattr(self, _DenseIntStorage, name)
9942 __repr__ = _swig_repr
9943 def __setitem__(self, *args):
9945 __setitem__(_DenseIntStorage self, GridIndex3D i, int const & v)
9946 __setitem__(_DenseIntStorage self, unsigned int i, int const & v)
9948 return _IMP_algebra._DenseIntStorage___setitem__(self, *args)
9950 def __getitem__(self, *args):
9952 __getitem__(_DenseIntStorage self, GridIndex3D i) -> int const
9953 __getitem__(_DenseIntStorage self, unsigned int i) -> int const &
9955 return _IMP_algebra._DenseIntStorage___getitem__(self, *args)
9957 def __init__(self, *args):
9959 __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, _DenseIntStorage o) -> _DenseIntStorage
9960 __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, IMP::Ints const & counts, int const & default_value=int()) -> _DenseIntStorage
9961 __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, IMP::Ints const & counts) -> _DenseIntStorage
9962 __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, int const & default_value=int()) -> _DenseIntStorage
9963 __init__(IMP::algebra::DenseGridStorageD<(3,int)> self) -> _DenseIntStorage
9965 this = _IMP_algebra.new__DenseIntStorage(*args)
9966 try: self.this.append(this)
9967 except: self.this = this
9969 """get_is_dense() -> bool"""
9970 return _IMP_algebra._DenseIntStorage_get_is_dense()
9972 if _newclass:get_is_dense = staticmethod(get_is_dense)
9973 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
9974 def show(self, *args):
9976 show(_DenseIntStorage self, _ostream out=std::cout)
9977 show(_DenseIntStorage self)
9979 return _IMP_algebra._DenseIntStorage_show(self, *args)
9981 def add_voxel(self, *args):
9982 """add_voxel(_DenseIntStorage self, ExtendedGridIndex3D arg2, int const & arg3) -> GridIndex3D"""
9983 return _IMP_algebra._DenseIntStorage_add_voxel(self, *args)
9985 def get_all_voxels(self):
9986 """get_all_voxels(_DenseIntStorage self) -> IMP::base::Vector< int >"""
9987 return _IMP_algebra._DenseIntStorage_get_all_voxels(self)
9989 __swig_destroy__ = _IMP_algebra.delete__DenseIntStorage
9990 __del__ =
lambda self :
None;
9991 _DenseIntStorage_swigregister = _IMP_algebra._DenseIntStorage_swigregister
9992 _DenseIntStorage_swigregister(_DenseIntStorage)
9994 def _DenseIntStorage_get_is_dense():
9995 """_DenseIntStorage_get_is_dense() -> bool"""
9996 return _IMP_algebra._DenseIntStorage_get_is_dense()
9998 class _DenseFloatStorageK(BoundedGridRangeKD):
9999 """Proxy of C++ IMP::algebra::DenseGridStorageD<(-1,float)> class"""
10000 __swig_setmethods__ = {}
10001 for _s
in [BoundedGridRangeKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
10002 __setattr__ =
lambda self, name, value: _swig_setattr(self, _DenseFloatStorageK, name, value)
10003 __swig_getmethods__ = {}
10004 for _s
in [BoundedGridRangeKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
10005 __getattr__ =
lambda self, name: _swig_getattr(self, _DenseFloatStorageK, name)
10006 __repr__ = _swig_repr
10007 def __setitem__(self, *args):
10009 __setitem__(_DenseFloatStorageK self, GridIndexKD i, float const & v)
10010 __setitem__(_DenseFloatStorageK self, unsigned int i, float const & v)
10012 return _IMP_algebra._DenseFloatStorageK___setitem__(self, *args)
10014 def __getitem__(self, *args):
10016 __getitem__(_DenseFloatStorageK self, GridIndexKD i) -> float const
10017 __getitem__(_DenseFloatStorageK self, unsigned int i) -> float const &
10019 return _IMP_algebra._DenseFloatStorageK___getitem__(self, *args)
10021 def __init__(self, *args):
10023 __init__(IMP::algebra::DenseGridStorageD<(-1,float)> self, _DenseFloatStorageK o) -> _DenseFloatStorageK
10024 __init__(IMP::algebra::DenseGridStorageD<(-1,float)> self, IMP::Ints const & counts, float const & default_value=float()) -> _DenseFloatStorageK
10025 __init__(IMP::algebra::DenseGridStorageD<(-1,float)> self, IMP::Ints const & counts) -> _DenseFloatStorageK
10026 __init__(IMP::algebra::DenseGridStorageD<(-1,float)> self, float const & default_value=float()) -> _DenseFloatStorageK
10027 __init__(IMP::algebra::DenseGridStorageD<(-1,float)> self) -> _DenseFloatStorageK
10029 this = _IMP_algebra.new__DenseFloatStorageK(*args)
10030 try: self.this.append(this)
10031 except: self.this = this
10032 def get_is_dense():
10033 """get_is_dense() -> bool"""
10034 return _IMP_algebra._DenseFloatStorageK_get_is_dense()
10036 if _newclass:get_is_dense = staticmethod(get_is_dense)
10037 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
10038 def show(self, *args):
10040 show(_DenseFloatStorageK self, _ostream out=std::cout)
10041 show(_DenseFloatStorageK self)
10043 return _IMP_algebra._DenseFloatStorageK_show(self, *args)
10045 def add_voxel(self, *args):
10046 """add_voxel(_DenseFloatStorageK self, ExtendedGridIndexKD arg2, float const & arg3) -> GridIndexKD"""
10047 return _IMP_algebra._DenseFloatStorageK_add_voxel(self, *args)
10049 def get_all_voxels(self):
10050 """get_all_voxels(_DenseFloatStorageK self) -> IMP::base::Vector< float >"""
10051 return _IMP_algebra._DenseFloatStorageK_get_all_voxels(self)
10053 __swig_destroy__ = _IMP_algebra.delete__DenseFloatStorageK
10054 __del__ =
lambda self :
None;
10055 _DenseFloatStorageK_swigregister = _IMP_algebra._DenseFloatStorageK_swigregister
10056 _DenseFloatStorageK_swigregister(_DenseFloatStorageK)
10058 def _DenseFloatStorageK_get_is_dense():
10059 """_DenseFloatStorageK_get_is_dense() -> bool"""
10060 return _IMP_algebra._DenseFloatStorageK_get_is_dense()
10062 class SparseIntGrid3D(_SparseIntStorage,DefaultEmbedding3D,_GeometricPrimitive3D):
10063 """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> class"""
10064 __swig_setmethods__ = {}
10065 for _s
in [_SparseIntStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
10066 __setattr__ =
lambda self, name, value: _swig_setattr(self, SparseIntGrid3D, name, value)
10067 __swig_getmethods__ = {}
10068 for _s
in [_SparseIntStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
10069 __getattr__ =
lambda self, name: _swig_getattr(self, SparseIntGrid3D, name)
10070 __repr__ = _swig_repr
10071 def __init__(self, *args):
10073 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb, int default_value=int()) -> SparseIntGrid3D
10074 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb) -> SparseIntGrid3D
10075 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb, int const & default_value=int()) -> SparseIntGrid3D
10076 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb) -> SparseIntGrid3D
10077 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, _SparseIntStorage storage, DefaultEmbedding3D embed) -> SparseIntGrid3D
10078 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin, int const & default_value=int()) -> SparseIntGrid3D
10079 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin) -> SparseIntGrid3D
10080 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self) -> SparseIntGrid3D
10082 this = _IMP_algebra.new_SparseIntGrid3D(*args)
10083 try: self.this.append(this)
10084 except: self.this = this
10085 def __getitem__(self, *args):
10087 __getitem__(SparseIntGrid3D self, Vector3D i) -> int const
10088 __getitem__(SparseIntGrid3D self, GridIndex3D i) -> int const &
10090 return _IMP_algebra.SparseIntGrid3D___getitem__(self, *args)
10092 def __setitem__(self, *args):
10094 __setitem__(SparseIntGrid3D self, Vector3D i, int const & v)
10095 __setitem__(SparseIntGrid3D self, GridIndex3D i, int const & vt)
10097 return _IMP_algebra.SparseIntGrid3D___setitem__(self, *args)
10099 def get_has_index(self, *args):
10100 """get_has_index(SparseIntGrid3D self, ExtendedGridIndex3D i) -> bool"""
10101 return _IMP_algebra.SparseIntGrid3D_get_has_index(self, *args)
10104 """get_index(SparseIntGrid3D self, ExtendedGridIndex3D i) -> GridIndex3D"""
10105 return _IMP_algebra.SparseIntGrid3D_get_index(self, *args)
10107 def add_voxel(self, *args):
10109 add_voxel(SparseIntGrid3D self, Vector3D pt, int const & vt) -> GridIndex3D
10110 add_voxel(SparseIntGrid3D self, ExtendedGridIndex3D i, int const & vt) -> GridIndex3D
10112 return _IMP_algebra.SparseIntGrid3D_add_voxel(self, *args)
10114 def get_extended_index(self, *args):
10116 get_extended_index(SparseIntGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D
10117 get_extended_index(SparseIntGrid3D self, Vector3D i) -> ExtendedGridIndex3D
10119 return _IMP_algebra.SparseIntGrid3D_get_extended_index(self, *args)
10123 get_bounding_box(SparseIntGrid3D self) -> BoundingBox3D
10124 get_bounding_box(SparseIntGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
10125 get_bounding_box(SparseIntGrid3D self, GridIndex3D i) -> BoundingBox3D
10127 return _IMP_algebra.SparseIntGrid3D_get_bounding_box(self, *args)
10129 def set_bounding_box(self, *args):
10130 """set_bounding_box(SparseIntGrid3D self, BoundingBox3D bb3)"""
10131 return _IMP_algebra.SparseIntGrid3D_set_bounding_box(self, *args)
10133 def get_nearest_index(self, *args):
10134 """get_nearest_index(SparseIntGrid3D self, Vector3D pt) -> GridIndex3D"""
10135 return _IMP_algebra.SparseIntGrid3D_get_nearest_index(self, *args)
10137 def get_nearest_extended_index(self, *args):
10138 """get_nearest_extended_index(SparseIntGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
10139 return _IMP_algebra.SparseIntGrid3D_get_nearest_extended_index(self, *args)
10141 __swig_destroy__ = _IMP_algebra.delete_SparseIntGrid3D
10142 __del__ =
lambda self :
None;
10143 SparseIntGrid3D_swigregister = _IMP_algebra.SparseIntGrid3D_swigregister
10144 SparseIntGrid3D_swigregister(SparseIntGrid3D)
10147 """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> class"""
10148 __swig_setmethods__ = {}
10149 for _s
in [_SparseUBIntStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
10150 __setattr__ =
lambda self, name, value: _swig_setattr(self, SparseUnboundedIntGrid3D, name, value)
10151 __swig_getmethods__ = {}
10152 for _s
in [_SparseUBIntStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
10153 __getattr__ =
lambda self, name: _swig_getattr(self, SparseUnboundedIntGrid3D, name)
10154 __repr__ = _swig_repr
10155 def __init__(self, *args):
10157 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb, int default_value=int()) -> SparseUnboundedIntGrid3D
10158 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb) -> SparseUnboundedIntGrid3D
10159 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb, int const & default_value=int()) -> SparseUnboundedIntGrid3D
10160 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb) -> SparseUnboundedIntGrid3D
10161 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, _SparseUBIntStorage storage, DefaultEmbedding3D embed) -> SparseUnboundedIntGrid3D
10162 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin, int const & default_value=int()) -> SparseUnboundedIntGrid3D
10163 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin) -> SparseUnboundedIntGrid3D
10164 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::UnboundedGridRangeD<(3)>)>,int,IMP::algebra::DefaultEmbeddingD<(3)>)> self) -> SparseUnboundedIntGrid3D
10166 this = _IMP_algebra.new_SparseUnboundedIntGrid3D(*args)
10167 try: self.this.append(this)
10168 except: self.this = this
10169 def __getitem__(self, *args):
10171 __getitem__(SparseUnboundedIntGrid3D self, Vector3D i) -> int const
10172 __getitem__(SparseUnboundedIntGrid3D self, GridIndex3D i) -> int const &
10174 return _IMP_algebra.SparseUnboundedIntGrid3D___getitem__(self, *args)
10176 def __setitem__(self, *args):
10178 __setitem__(SparseUnboundedIntGrid3D self, Vector3D i, int const & v)
10179 __setitem__(SparseUnboundedIntGrid3D self, GridIndex3D i, int const & vt)
10181 return _IMP_algebra.SparseUnboundedIntGrid3D___setitem__(self, *args)
10183 def get_has_index(self, *args):
10184 """get_has_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i) -> bool"""
10185 return _IMP_algebra.SparseUnboundedIntGrid3D_get_has_index(self, *args)
10188 """get_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i) -> GridIndex3D"""
10189 return _IMP_algebra.SparseUnboundedIntGrid3D_get_index(self, *args)
10191 def add_voxel(self, *args):
10193 add_voxel(SparseUnboundedIntGrid3D self, Vector3D pt, int const & vt) -> GridIndex3D
10194 add_voxel(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i, int const & vt) -> GridIndex3D
10196 return _IMP_algebra.SparseUnboundedIntGrid3D_add_voxel(self, *args)
10198 def get_extended_index(self, *args):
10200 get_extended_index(SparseUnboundedIntGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D
10201 get_extended_index(SparseUnboundedIntGrid3D self, Vector3D i) -> ExtendedGridIndex3D
10203 return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_index(self, *args)
10207 get_bounding_box(SparseUnboundedIntGrid3D self) -> BoundingBox3D
10208 get_bounding_box(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
10209 get_bounding_box(SparseUnboundedIntGrid3D self, GridIndex3D i) -> BoundingBox3D
10211 return _IMP_algebra.SparseUnboundedIntGrid3D_get_bounding_box(self, *args)
10213 def set_bounding_box(self, *args):
10214 """set_bounding_box(SparseUnboundedIntGrid3D self, BoundingBox3D bb3)"""
10215 return _IMP_algebra.SparseUnboundedIntGrid3D_set_bounding_box(self, *args)
10217 def get_nearest_index(self, *args):
10218 """get_nearest_index(SparseUnboundedIntGrid3D self, Vector3D pt) -> GridIndex3D"""
10219 return _IMP_algebra.SparseUnboundedIntGrid3D_get_nearest_index(self, *args)
10221 def get_nearest_extended_index(self, *args):
10222 """get_nearest_extended_index(SparseUnboundedIntGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
10223 return _IMP_algebra.SparseUnboundedIntGrid3D_get_nearest_extended_index(self, *args)
10225 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGrid3D
10226 __del__ =
lambda self :
None;
10227 SparseUnboundedIntGrid3D_swigregister = _IMP_algebra.SparseUnboundedIntGrid3D_swigregister
10228 SparseUnboundedIntGrid3D_swigregister(SparseUnboundedIntGrid3D)
10230 class SparseUnboundedIntGridKD(_SparseUBIntStorageK,DefaultEmbeddingKD,_GeometricPrimitiveKD):
10231 """Proxy of C++ IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> class"""
10232 __swig_setmethods__ = {}
10233 for _s
in [_SparseUBIntStorageK,DefaultEmbeddingKD,_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
10234 __setattr__ =
lambda self, name, value: _swig_setattr(self, SparseUnboundedIntGridKD, name, value)
10235 __swig_getmethods__ = {}
10236 for _s
in [_SparseUBIntStorageK,DefaultEmbeddingKD,_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
10237 __getattr__ =
lambda self, name: _swig_getattr(self, SparseUnboundedIntGridKD, name)
10238 __repr__ = _swig_repr
10239 def __init__(self, *args):
10241 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, IMP::Ints const counts, BoundingBoxKD bb, int default_value=int()) -> SparseUnboundedIntGridKD
10242 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, IMP::Ints const counts, BoundingBoxKD bb) -> SparseUnboundedIntGridKD
10243 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, double side, BoundingBoxKD bb, int const & default_value=int()) -> SparseUnboundedIntGridKD
10244 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, double side, BoundingBoxKD bb) -> SparseUnboundedIntGridKD
10245 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, _SparseUBIntStorageK storage, DefaultEmbeddingKD embed) -> SparseUnboundedIntGridKD
10246 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, double side, VectorKD origin, int const & default_value=int()) -> SparseUnboundedIntGridKD
10247 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, double side, VectorKD origin) -> SparseUnboundedIntGridKD
10248 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::UnboundedGridRangeD<(-1)>)>,int,IMP::algebra::DefaultEmbeddingD<(-1)>)> self) -> SparseUnboundedIntGridKD
10250 this = _IMP_algebra.new_SparseUnboundedIntGridKD(*args)
10251 try: self.this.append(this)
10252 except: self.this = this
10253 def __getitem__(self, *args):
10255 __getitem__(SparseUnboundedIntGridKD self, VectorKD i) -> int const
10256 __getitem__(SparseUnboundedIntGridKD self, GridIndexKD i) -> int const &
10258 return _IMP_algebra.SparseUnboundedIntGridKD___getitem__(self, *args)
10260 def __setitem__(self, *args):
10262 __setitem__(SparseUnboundedIntGridKD self, VectorKD i, int const & v)
10263 __setitem__(SparseUnboundedIntGridKD self, GridIndexKD i, int const & vt)
10265 return _IMP_algebra.SparseUnboundedIntGridKD___setitem__(self, *args)
10267 def get_has_index(self, *args):
10268 """get_has_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i) -> bool"""
10269 return _IMP_algebra.SparseUnboundedIntGridKD_get_has_index(self, *args)
10272 """get_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i) -> GridIndexKD"""
10273 return _IMP_algebra.SparseUnboundedIntGridKD_get_index(self, *args)
10275 def add_voxel(self, *args):
10277 add_voxel(SparseUnboundedIntGridKD self, VectorKD pt, int const & vt) -> GridIndexKD
10278 add_voxel(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i, int const & vt) -> GridIndexKD
10280 return _IMP_algebra.SparseUnboundedIntGridKD_add_voxel(self, *args)
10282 def get_extended_index(self, *args):
10284 get_extended_index(SparseUnboundedIntGridKD self, GridIndexKD index) -> ExtendedGridIndexKD
10285 get_extended_index(SparseUnboundedIntGridKD self, VectorKD i) -> ExtendedGridIndexKD
10287 return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_index(self, *args)
10291 get_bounding_box(SparseUnboundedIntGridKD self) -> BoundingBoxKD
10292 get_bounding_box(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i) -> BoundingBoxKD
10293 get_bounding_box(SparseUnboundedIntGridKD self, GridIndexKD i) -> BoundingBoxKD
10295 return _IMP_algebra.SparseUnboundedIntGridKD_get_bounding_box(self, *args)
10297 def set_bounding_box(self, *args):
10298 """set_bounding_box(SparseUnboundedIntGridKD self, BoundingBoxKD bb3)"""
10299 return _IMP_algebra.SparseUnboundedIntGridKD_set_bounding_box(self, *args)
10301 def get_nearest_index(self, *args):
10302 """get_nearest_index(SparseUnboundedIntGridKD self, VectorKD pt) -> GridIndexKD"""
10303 return _IMP_algebra.SparseUnboundedIntGridKD_get_nearest_index(self, *args)
10305 def get_nearest_extended_index(self, *args):
10306 """get_nearest_extended_index(SparseUnboundedIntGridKD self, VectorKD pt) -> ExtendedGridIndexKD"""
10307 return _IMP_algebra.SparseUnboundedIntGridKD_get_nearest_extended_index(self, *args)
10309 __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGridKD
10310 __del__ =
lambda self :
None;
10311 SparseUnboundedIntGridKD_swigregister = _IMP_algebra.SparseUnboundedIntGridKD_swigregister
10312 SparseUnboundedIntGridKD_swigregister(SparseUnboundedIntGridKD)
10314 class DenseDoubleGrid3D(_DenseDoubleStorage,DefaultEmbedding3D,_GeometricPrimitive3D):
10315 """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> class"""
10316 __swig_setmethods__ = {}
10317 for _s
in [_DenseDoubleStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
10318 __setattr__ =
lambda self, name, value: _swig_setattr(self, DenseDoubleGrid3D, name, value)
10319 __swig_getmethods__ = {}
10320 for _s
in [_DenseDoubleStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
10321 __getattr__ =
lambda self, name: _swig_getattr(self, DenseDoubleGrid3D, name)
10322 __repr__ = _swig_repr
10323 def __init__(self, *args):
10325 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb, double default_value=double()) -> DenseDoubleGrid3D
10326 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb) -> DenseDoubleGrid3D
10327 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb, double const & default_value=double()) -> DenseDoubleGrid3D
10328 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb) -> DenseDoubleGrid3D
10329 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, _DenseDoubleStorage storage, DefaultEmbedding3D embed) -> DenseDoubleGrid3D
10330 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin, double const & default_value=double()) -> DenseDoubleGrid3D
10331 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin) -> DenseDoubleGrid3D
10332 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self) -> DenseDoubleGrid3D
10334 this = _IMP_algebra.new_DenseDoubleGrid3D(*args)
10335 try: self.this.append(this)
10336 except: self.this = this
10337 def __getitem__(self, *args):
10339 __getitem__(DenseDoubleGrid3D self, Vector3D i) -> double const
10340 __getitem__(DenseDoubleGrid3D self, GridIndex3D i) -> double const &
10342 return _IMP_algebra.DenseDoubleGrid3D___getitem__(self, *args)
10344 def __setitem__(self, *args):
10346 __setitem__(DenseDoubleGrid3D self, Vector3D i, double const & v)
10347 __setitem__(DenseDoubleGrid3D self, GridIndex3D i, double const & vt)
10349 return _IMP_algebra.DenseDoubleGrid3D___setitem__(self, *args)
10351 def get_has_index(self, *args):
10352 """get_has_index(DenseDoubleGrid3D self, ExtendedGridIndex3D i) -> bool"""
10353 return _IMP_algebra.DenseDoubleGrid3D_get_has_index(self, *args)
10356 """get_index(DenseDoubleGrid3D self, ExtendedGridIndex3D i) -> GridIndex3D"""
10357 return _IMP_algebra.DenseDoubleGrid3D_get_index(self, *args)
10359 def add_voxel(self, *args):
10361 add_voxel(DenseDoubleGrid3D self, Vector3D pt, double const & vt) -> GridIndex3D
10362 add_voxel(DenseDoubleGrid3D self, ExtendedGridIndex3D i, double const & vt) -> GridIndex3D
10364 return _IMP_algebra.DenseDoubleGrid3D_add_voxel(self, *args)
10366 def get_extended_index(self, *args):
10368 get_extended_index(DenseDoubleGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D
10369 get_extended_index(DenseDoubleGrid3D self, Vector3D i) -> ExtendedGridIndex3D
10371 return _IMP_algebra.DenseDoubleGrid3D_get_extended_index(self, *args)
10375 get_bounding_box(DenseDoubleGrid3D self) -> BoundingBox3D
10376 get_bounding_box(DenseDoubleGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
10377 get_bounding_box(DenseDoubleGrid3D self, GridIndex3D i) -> BoundingBox3D
10379 return _IMP_algebra.DenseDoubleGrid3D_get_bounding_box(self, *args)
10381 def set_bounding_box(self, *args):
10382 """set_bounding_box(DenseDoubleGrid3D self, BoundingBox3D bb3)"""
10383 return _IMP_algebra.DenseDoubleGrid3D_set_bounding_box(self, *args)
10385 def get_nearest_index(self, *args):
10386 """get_nearest_index(DenseDoubleGrid3D self, Vector3D pt) -> GridIndex3D"""
10387 return _IMP_algebra.DenseDoubleGrid3D_get_nearest_index(self, *args)
10389 def get_nearest_extended_index(self, *args):
10390 """get_nearest_extended_index(DenseDoubleGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
10391 return _IMP_algebra.DenseDoubleGrid3D_get_nearest_extended_index(self, *args)
10393 __swig_destroy__ = _IMP_algebra.delete_DenseDoubleGrid3D
10394 __del__ =
lambda self :
None;
10395 DenseDoubleGrid3D_swigregister = _IMP_algebra.DenseDoubleGrid3D_swigregister
10396 DenseDoubleGrid3D_swigregister(DenseDoubleGrid3D)
10398 class DenseFloatGrid3D(_DenseFloatStorage,DefaultEmbedding3D,_GeometricPrimitive3D):
10399 """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> class"""
10400 __swig_setmethods__ = {}
10401 for _s
in [_DenseFloatStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
10402 __setattr__ =
lambda self, name, value: _swig_setattr(self, DenseFloatGrid3D, name, value)
10403 __swig_getmethods__ = {}
10404 for _s
in [_DenseFloatStorage,DefaultEmbedding3D,_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
10405 __getattr__ =
lambda self, name: _swig_getattr(self, DenseFloatGrid3D, name)
10406 __repr__ = _swig_repr
10407 def __init__(self, *args):
10409 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb, float default_value=float()) -> DenseFloatGrid3D
10410 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb) -> DenseFloatGrid3D
10411 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb, float const & default_value=float()) -> DenseFloatGrid3D
10412 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb) -> DenseFloatGrid3D
10413 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self, _DenseFloatStorage storage, DefaultEmbedding3D embed) -> DenseFloatGrid3D
10414 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin, float const & default_value=float()) -> DenseFloatGrid3D
10415 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin) -> DenseFloatGrid3D
10416 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,float)>,float,IMP::algebra::DefaultEmbeddingD<(3)>)> self) -> DenseFloatGrid3D
10418 this = _IMP_algebra.new_DenseFloatGrid3D(*args)
10419 try: self.this.append(this)
10420 except: self.this = this
10421 def __getitem__(self, *args):
10423 __getitem__(DenseFloatGrid3D self, Vector3D i) -> float const
10424 __getitem__(DenseFloatGrid3D self, GridIndex3D i) -> float const &
10426 return _IMP_algebra.DenseFloatGrid3D___getitem__(self, *args)
10428 def __setitem__(self, *args):
10430 __setitem__(DenseFloatGrid3D self, Vector3D i, float const & v)
10431 __setitem__(DenseFloatGrid3D self, GridIndex3D i, float const & vt)
10433 return _IMP_algebra.DenseFloatGrid3D___setitem__(self, *args)
10435 def get_has_index(self, *args):
10436 """get_has_index(DenseFloatGrid3D self, ExtendedGridIndex3D i) -> bool"""
10437 return _IMP_algebra.DenseFloatGrid3D_get_has_index(self, *args)
10440 """get_index(DenseFloatGrid3D self, ExtendedGridIndex3D i) -> GridIndex3D"""
10441 return _IMP_algebra.DenseFloatGrid3D_get_index(self, *args)
10443 def add_voxel(self, *args):
10445 add_voxel(DenseFloatGrid3D self, Vector3D pt, float const & vt) -> GridIndex3D
10446 add_voxel(DenseFloatGrid3D self, ExtendedGridIndex3D i, float const & vt) -> GridIndex3D
10448 return _IMP_algebra.DenseFloatGrid3D_add_voxel(self, *args)
10450 def get_extended_index(self, *args):
10452 get_extended_index(DenseFloatGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D
10453 get_extended_index(DenseFloatGrid3D self, Vector3D i) -> ExtendedGridIndex3D
10455 return _IMP_algebra.DenseFloatGrid3D_get_extended_index(self, *args)
10459 get_bounding_box(DenseFloatGrid3D self) -> BoundingBox3D
10460 get_bounding_box(DenseFloatGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
10461 get_bounding_box(DenseFloatGrid3D self, GridIndex3D i) -> BoundingBox3D
10463 return _IMP_algebra.DenseFloatGrid3D_get_bounding_box(self, *args)
10465 def set_bounding_box(self, *args):
10466 """set_bounding_box(DenseFloatGrid3D self, BoundingBox3D bb3)"""
10467 return _IMP_algebra.DenseFloatGrid3D_set_bounding_box(self, *args)
10469 def get_nearest_index(self, *args):
10470 """get_nearest_index(DenseFloatGrid3D self, Vector3D pt) -> GridIndex3D"""
10471 return _IMP_algebra.DenseFloatGrid3D_get_nearest_index(self, *args)
10473 def get_nearest_extended_index(self, *args):
10474 """get_nearest_extended_index(DenseFloatGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
10475 return _IMP_algebra.DenseFloatGrid3D_get_nearest_extended_index(self, *args)
10477 __swig_destroy__ = _IMP_algebra.delete_DenseFloatGrid3D
10478 __del__ =
lambda self :
None;
10479 DenseFloatGrid3D_swigregister = _IMP_algebra.DenseFloatGrid3D_swigregister
10480 DenseFloatGrid3D_swigregister(DenseFloatGrid3D)
10482 class DenseIntLogGrid3D(_DenseIntStorage,LogEmbedding3D,_GeometricPrimitive3D):
10483 """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> class"""
10484 __swig_setmethods__ = {}
10485 for _s
in [_DenseIntStorage,LogEmbedding3D,_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
10486 __setattr__ =
lambda self, name, value: _swig_setattr(self, DenseIntLogGrid3D, name, value)
10487 __swig_getmethods__ = {}
10488 for _s
in [_DenseIntStorage,LogEmbedding3D,_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
10489 __getattr__ =
lambda self, name: _swig_getattr(self, DenseIntLogGrid3D, name)
10490 __repr__ = _swig_repr
10491 def __init__(self, *args):
10493 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb, int default_value=int()) -> DenseIntLogGrid3D
10494 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb) -> DenseIntLogGrid3D
10495 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, BoundingBox3D bb, int const & default_value=int()) -> DenseIntLogGrid3D
10496 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, BoundingBox3D bb) -> DenseIntLogGrid3D
10497 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, _DenseIntStorage storage, LogEmbedding3D embed) -> DenseIntLogGrid3D
10498 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, Vector3D origin, int const & default_value=int()) -> DenseIntLogGrid3D
10499 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, Vector3D origin) -> DenseIntLogGrid3D
10500 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,int)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self) -> DenseIntLogGrid3D
10502 this = _IMP_algebra.new_DenseIntLogGrid3D(*args)
10503 try: self.this.append(this)
10504 except: self.this = this
10505 def __getitem__(self, *args):
10507 __getitem__(DenseIntLogGrid3D self, Vector3D i) -> int const
10508 __getitem__(DenseIntLogGrid3D self, GridIndex3D i) -> int const &
10510 return _IMP_algebra.DenseIntLogGrid3D___getitem__(self, *args)
10512 def __setitem__(self, *args):
10514 __setitem__(DenseIntLogGrid3D self, Vector3D i, int const & v)
10515 __setitem__(DenseIntLogGrid3D self, GridIndex3D i, int const & vt)
10517 return _IMP_algebra.DenseIntLogGrid3D___setitem__(self, *args)
10519 def get_has_index(self, *args):
10520 """get_has_index(DenseIntLogGrid3D self, ExtendedGridIndex3D i) -> bool"""
10521 return _IMP_algebra.DenseIntLogGrid3D_get_has_index(self, *args)
10524 """get_index(DenseIntLogGrid3D self, ExtendedGridIndex3D i) -> GridIndex3D"""
10525 return _IMP_algebra.DenseIntLogGrid3D_get_index(self, *args)
10527 def add_voxel(self, *args):
10529 add_voxel(DenseIntLogGrid3D self, Vector3D pt, int const & vt) -> GridIndex3D
10530 add_voxel(DenseIntLogGrid3D self, ExtendedGridIndex3D i, int const & vt) -> GridIndex3D
10532 return _IMP_algebra.DenseIntLogGrid3D_add_voxel(self, *args)
10534 def get_extended_index(self, *args):
10536 get_extended_index(DenseIntLogGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D
10537 get_extended_index(DenseIntLogGrid3D self, Vector3D i) -> ExtendedGridIndex3D
10539 return _IMP_algebra.DenseIntLogGrid3D_get_extended_index(self, *args)
10543 get_bounding_box(DenseIntLogGrid3D self) -> BoundingBox3D
10544 get_bounding_box(DenseIntLogGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
10545 get_bounding_box(DenseIntLogGrid3D self, GridIndex3D i) -> BoundingBox3D
10547 return _IMP_algebra.DenseIntLogGrid3D_get_bounding_box(self, *args)
10549 def set_bounding_box(self, *args):
10550 """set_bounding_box(DenseIntLogGrid3D self, BoundingBox3D bb3)"""
10551 return _IMP_algebra.DenseIntLogGrid3D_set_bounding_box(self, *args)
10553 def get_nearest_index(self, *args):
10554 """get_nearest_index(DenseIntLogGrid3D self, Vector3D pt) -> GridIndex3D"""
10555 return _IMP_algebra.DenseIntLogGrid3D_get_nearest_index(self, *args)
10557 def get_nearest_extended_index(self, *args):
10558 """get_nearest_extended_index(DenseIntLogGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
10559 return _IMP_algebra.DenseIntLogGrid3D_get_nearest_extended_index(self, *args)
10561 __swig_destroy__ = _IMP_algebra.delete_DenseIntLogGrid3D
10562 __del__ =
lambda self :
None;
10563 DenseIntLogGrid3D_swigregister = _IMP_algebra.DenseIntLogGrid3D_swigregister
10564 DenseIntLogGrid3D_swigregister(DenseIntLogGrid3D)
10566 class SparseIntLogGrid3D(_SparseIntStorage,LogEmbedding3D,_GeometricPrimitive3D):
10567 """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> class"""
10568 __swig_setmethods__ = {}
10569 for _s
in [_SparseIntStorage,LogEmbedding3D,_GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
10570 __setattr__ =
lambda self, name, value: _swig_setattr(self, SparseIntLogGrid3D, name, value)
10571 __swig_getmethods__ = {}
10572 for _s
in [_SparseIntStorage,LogEmbedding3D,_GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
10573 __getattr__ =
lambda self, name: _swig_getattr(self, SparseIntLogGrid3D, name)
10574 __repr__ = _swig_repr
10575 def __init__(self, *args):
10577 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb, int default_value=int()) -> SparseIntLogGrid3D
10578 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb) -> SparseIntLogGrid3D
10579 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, BoundingBox3D bb, int const & default_value=int()) -> SparseIntLogGrid3D
10580 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, BoundingBox3D bb) -> SparseIntLogGrid3D
10581 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, _SparseIntStorage storage, LogEmbedding3D embed) -> SparseIntLogGrid3D
10582 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, Vector3D origin, int const & default_value=int()) -> SparseIntLogGrid3D
10583 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self, double side, Vector3D origin) -> SparseIntLogGrid3D
10584 __init__(IMP::algebra::GridD<(3,IMP::algebra::SparseGridStorageD<(3,int,IMP::algebra::BoundedGridRangeD<(3)>)>,int,IMP::algebra::LogEmbeddingD<(3)>)> self) -> SparseIntLogGrid3D
10586 this = _IMP_algebra.new_SparseIntLogGrid3D(*args)
10587 try: self.this.append(this)
10588 except: self.this = this
10589 def __getitem__(self, *args):
10591 __getitem__(SparseIntLogGrid3D self, Vector3D i) -> int const
10592 __getitem__(SparseIntLogGrid3D self, GridIndex3D i) -> int const &
10594 return _IMP_algebra.SparseIntLogGrid3D___getitem__(self, *args)
10596 def __setitem__(self, *args):
10598 __setitem__(SparseIntLogGrid3D self, Vector3D i, int const & v)
10599 __setitem__(SparseIntLogGrid3D self, GridIndex3D i, int const & vt)
10601 return _IMP_algebra.SparseIntLogGrid3D___setitem__(self, *args)
10603 def get_has_index(self, *args):
10604 """get_has_index(SparseIntLogGrid3D self, ExtendedGridIndex3D i) -> bool"""
10605 return _IMP_algebra.SparseIntLogGrid3D_get_has_index(self, *args)
10608 """get_index(SparseIntLogGrid3D self, ExtendedGridIndex3D i) -> GridIndex3D"""
10609 return _IMP_algebra.SparseIntLogGrid3D_get_index(self, *args)
10611 def add_voxel(self, *args):
10613 add_voxel(SparseIntLogGrid3D self, Vector3D pt, int const & vt) -> GridIndex3D
10614 add_voxel(SparseIntLogGrid3D self, ExtendedGridIndex3D i, int const & vt) -> GridIndex3D
10616 return _IMP_algebra.SparseIntLogGrid3D_add_voxel(self, *args)
10618 def get_extended_index(self, *args):
10620 get_extended_index(SparseIntLogGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D
10621 get_extended_index(SparseIntLogGrid3D self, Vector3D i) -> ExtendedGridIndex3D
10623 return _IMP_algebra.SparseIntLogGrid3D_get_extended_index(self, *args)
10627 get_bounding_box(SparseIntLogGrid3D self) -> BoundingBox3D
10628 get_bounding_box(SparseIntLogGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
10629 get_bounding_box(SparseIntLogGrid3D self, GridIndex3D i) -> BoundingBox3D
10631 return _IMP_algebra.SparseIntLogGrid3D_get_bounding_box(self, *args)
10633 def set_bounding_box(self, *args):
10634 """set_bounding_box(SparseIntLogGrid3D self, BoundingBox3D bb3)"""
10635 return _IMP_algebra.SparseIntLogGrid3D_set_bounding_box(self, *args)
10637 def get_nearest_index(self, *args):
10638 """get_nearest_index(SparseIntLogGrid3D self, Vector3D pt) -> GridIndex3D"""
10639 return _IMP_algebra.SparseIntLogGrid3D_get_nearest_index(self, *args)
10641 def get_nearest_extended_index(self, *args):
10642 """get_nearest_extended_index(SparseIntLogGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
10643 return _IMP_algebra.SparseIntLogGrid3D_get_nearest_extended_index(self, *args)
10645 __swig_destroy__ = _IMP_algebra.delete_SparseIntLogGrid3D
10646 __del__ =
lambda self :
None;
10647 SparseIntLogGrid3D_swigregister = _IMP_algebra.SparseIntLogGrid3D_swigregister
10648 SparseIntLogGrid3D_swigregister(SparseIntLogGrid3D)
10650 class SparseIntLogGridKD(_SparseIntStorageK,LogEmbeddingKD,_GeometricPrimitiveKD):
10651 """Proxy of C++ IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> class"""
10652 __swig_setmethods__ = {}
10653 for _s
in [_SparseIntStorageK,LogEmbeddingKD,_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
10654 __setattr__ =
lambda self, name, value: _swig_setattr(self, SparseIntLogGridKD, name, value)
10655 __swig_getmethods__ = {}
10656 for _s
in [_SparseIntStorageK,LogEmbeddingKD,_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
10657 __getattr__ =
lambda self, name: _swig_getattr(self, SparseIntLogGridKD, name)
10658 __repr__ = _swig_repr
10659 def __init__(self, *args):
10661 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> self, IMP::Ints const counts, BoundingBoxKD bb, int default_value=int()) -> SparseIntLogGridKD
10662 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> self, IMP::Ints const counts, BoundingBoxKD bb) -> SparseIntLogGridKD
10663 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, BoundingBoxKD bb, int const & default_value=int()) -> SparseIntLogGridKD
10664 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, BoundingBoxKD bb) -> SparseIntLogGridKD
10665 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> self, _SparseIntStorageK storage, LogEmbeddingKD embed) -> SparseIntLogGridKD
10666 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, VectorKD origin, int const & default_value=int()) -> SparseIntLogGridKD
10667 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, VectorKD origin) -> SparseIntLogGridKD
10668 __init__(IMP::algebra::GridD<(-1,IMP::algebra::SparseGridStorageD<(-1,int,IMP::algebra::BoundedGridRangeD<(-1)>)>,int,IMP::algebra::LogEmbeddingD<(-1)>)> self) -> SparseIntLogGridKD
10670 this = _IMP_algebra.new_SparseIntLogGridKD(*args)
10671 try: self.this.append(this)
10672 except: self.this = this
10673 def __getitem__(self, *args):
10675 __getitem__(SparseIntLogGridKD self, VectorKD i) -> int const
10676 __getitem__(SparseIntLogGridKD self, GridIndexKD i) -> int const &
10678 return _IMP_algebra.SparseIntLogGridKD___getitem__(self, *args)
10680 def __setitem__(self, *args):
10682 __setitem__(SparseIntLogGridKD self, VectorKD i, int const & v)
10683 __setitem__(SparseIntLogGridKD self, GridIndexKD i, int const & vt)
10685 return _IMP_algebra.SparseIntLogGridKD___setitem__(self, *args)
10687 def get_has_index(self, *args):
10688 """get_has_index(SparseIntLogGridKD self, ExtendedGridIndexKD i) -> bool"""
10689 return _IMP_algebra.SparseIntLogGridKD_get_has_index(self, *args)
10692 """get_index(SparseIntLogGridKD self, ExtendedGridIndexKD i) -> GridIndexKD"""
10693 return _IMP_algebra.SparseIntLogGridKD_get_index(self, *args)
10695 def add_voxel(self, *args):
10697 add_voxel(SparseIntLogGridKD self, VectorKD pt, int const & vt) -> GridIndexKD
10698 add_voxel(SparseIntLogGridKD self, ExtendedGridIndexKD i, int const & vt) -> GridIndexKD
10700 return _IMP_algebra.SparseIntLogGridKD_add_voxel(self, *args)
10702 def get_extended_index(self, *args):
10704 get_extended_index(SparseIntLogGridKD self, GridIndexKD index) -> ExtendedGridIndexKD
10705 get_extended_index(SparseIntLogGridKD self, VectorKD i) -> ExtendedGridIndexKD
10707 return _IMP_algebra.SparseIntLogGridKD_get_extended_index(self, *args)
10711 get_bounding_box(SparseIntLogGridKD self) -> BoundingBoxKD
10712 get_bounding_box(SparseIntLogGridKD self, ExtendedGridIndexKD i) -> BoundingBoxKD
10713 get_bounding_box(SparseIntLogGridKD self, GridIndexKD i) -> BoundingBoxKD
10715 return _IMP_algebra.SparseIntLogGridKD_get_bounding_box(self, *args)
10717 def set_bounding_box(self, *args):
10718 """set_bounding_box(SparseIntLogGridKD self, BoundingBoxKD bb3)"""
10719 return _IMP_algebra.SparseIntLogGridKD_set_bounding_box(self, *args)
10721 def get_nearest_index(self, *args):
10722 """get_nearest_index(SparseIntLogGridKD self, VectorKD pt) -> GridIndexKD"""
10723 return _IMP_algebra.SparseIntLogGridKD_get_nearest_index(self, *args)
10725 def get_nearest_extended_index(self, *args):
10726 """get_nearest_extended_index(SparseIntLogGridKD self, VectorKD pt) -> ExtendedGridIndexKD"""
10727 return _IMP_algebra.SparseIntLogGridKD_get_nearest_extended_index(self, *args)
10729 __swig_destroy__ = _IMP_algebra.delete_SparseIntLogGridKD
10730 __del__ =
lambda self :
None;
10731 SparseIntLogGridKD_swigregister = _IMP_algebra.SparseIntLogGridKD_swigregister
10732 SparseIntLogGridKD_swigregister(SparseIntLogGridKD)
10734 class DenseFloatLogGridKD(_DenseFloatStorageK,LogEmbeddingKD,_GeometricPrimitiveKD):
10735 """Proxy of C++ IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> class"""
10736 __swig_setmethods__ = {}
10737 for _s
in [_DenseFloatStorageK,LogEmbeddingKD,_GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
10738 __setattr__ =
lambda self, name, value: _swig_setattr(self, DenseFloatLogGridKD, name, value)
10739 __swig_getmethods__ = {}
10740 for _s
in [_DenseFloatStorageK,LogEmbeddingKD,_GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
10741 __getattr__ =
lambda self, name: _swig_getattr(self, DenseFloatLogGridKD, name)
10742 __repr__ = _swig_repr
10743 def __init__(self, *args):
10745 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self, IMP::Ints const counts, BoundingBoxKD bb, float default_value=float()) -> DenseFloatLogGridKD
10746 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self, IMP::Ints const counts, BoundingBoxKD bb) -> DenseFloatLogGridKD
10747 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, BoundingBoxKD bb, float const & default_value=float()) -> DenseFloatLogGridKD
10748 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, BoundingBoxKD bb) -> DenseFloatLogGridKD
10749 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self, _DenseFloatStorageK storage, LogEmbeddingKD embed) -> DenseFloatLogGridKD
10750 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, VectorKD origin, float const & default_value=float()) -> DenseFloatLogGridKD
10751 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self, double side, VectorKD origin) -> DenseFloatLogGridKD
10752 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,float)>,float,IMP::algebra::LogEmbeddingD<(-1)>)> self) -> DenseFloatLogGridKD
10754 this = _IMP_algebra.new_DenseFloatLogGridKD(*args)
10755 try: self.this.append(this)
10756 except: self.this = this
10757 def __getitem__(self, *args):
10759 __getitem__(DenseFloatLogGridKD self, VectorKD i) -> float const
10760 __getitem__(DenseFloatLogGridKD self, GridIndexKD i) -> float const &
10762 return _IMP_algebra.DenseFloatLogGridKD___getitem__(self, *args)
10764 def __setitem__(self, *args):
10766 __setitem__(DenseFloatLogGridKD self, VectorKD i, float const & v)
10767 __setitem__(DenseFloatLogGridKD self, GridIndexKD i, float const & vt)
10769 return _IMP_algebra.DenseFloatLogGridKD___setitem__(self, *args)
10771 def get_has_index(self, *args):
10772 """get_has_index(DenseFloatLogGridKD self, ExtendedGridIndexKD i) -> bool"""
10773 return _IMP_algebra.DenseFloatLogGridKD_get_has_index(self, *args)
10776 """get_index(DenseFloatLogGridKD self, ExtendedGridIndexKD i) -> GridIndexKD"""
10777 return _IMP_algebra.DenseFloatLogGridKD_get_index(self, *args)
10779 def add_voxel(self, *args):
10781 add_voxel(DenseFloatLogGridKD self, VectorKD pt, float const & vt) -> GridIndexKD
10782 add_voxel(DenseFloatLogGridKD self, ExtendedGridIndexKD i, float const & vt) -> GridIndexKD
10784 return _IMP_algebra.DenseFloatLogGridKD_add_voxel(self, *args)
10786 def get_extended_index(self, *args):
10788 get_extended_index(DenseFloatLogGridKD self, GridIndexKD index) -> ExtendedGridIndexKD
10789 get_extended_index(DenseFloatLogGridKD self, VectorKD i) -> ExtendedGridIndexKD
10791 return _IMP_algebra.DenseFloatLogGridKD_get_extended_index(self, *args)
10795 get_bounding_box(DenseFloatLogGridKD self) -> BoundingBoxKD
10796 get_bounding_box(DenseFloatLogGridKD self, ExtendedGridIndexKD i) -> BoundingBoxKD
10797 get_bounding_box(DenseFloatLogGridKD self, GridIndexKD i) -> BoundingBoxKD
10799 return _IMP_algebra.DenseFloatLogGridKD_get_bounding_box(self, *args)
10801 def set_bounding_box(self, *args):
10802 """set_bounding_box(DenseFloatLogGridKD self, BoundingBoxKD bb3)"""
10803 return _IMP_algebra.DenseFloatLogGridKD_set_bounding_box(self, *args)
10805 def get_nearest_index(self, *args):
10806 """get_nearest_index(DenseFloatLogGridKD self, VectorKD pt) -> GridIndexKD"""
10807 return _IMP_algebra.DenseFloatLogGridKD_get_nearest_index(self, *args)
10809 def get_nearest_extended_index(self, *args):
10810 """get_nearest_extended_index(DenseFloatLogGridKD self, VectorKD pt) -> ExtendedGridIndexKD"""
10811 return _IMP_algebra.DenseFloatLogGridKD_get_nearest_extended_index(self, *args)
10813 __swig_destroy__ = _IMP_algebra.delete_DenseFloatLogGridKD
10814 __del__ =
lambda self :
None;
10815 DenseFloatLogGridKD_swigregister = _IMP_algebra.DenseFloatLogGridKD_swigregister
10816 DenseFloatLogGridKD_swigregister(DenseFloatLogGridKD)
10818 class _AxisAnglePair(_object):
10819 """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,double)> class"""
10820 __swig_setmethods__ = {}
10821 __setattr__ =
lambda self, name, value: _swig_setattr(self, _AxisAnglePair, name, value)
10822 __swig_getmethods__ = {}
10823 __getattr__ =
lambda self, name: _swig_getattr(self, _AxisAnglePair, name)
10824 __repr__ = _swig_repr
10825 def __init__(self, *args):
10827 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self) -> _AxisAnglePair
10828 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, Vector3D first, double second) -> _AxisAnglePair
10829 __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, _AxisAnglePair p) -> _AxisAnglePair
10831 this = _IMP_algebra.new__AxisAnglePair(*args)
10832 try: self.this.append(this)
10833 except: self.this = this
10834 __swig_setmethods__[
"first"] = _IMP_algebra._AxisAnglePair_first_set
10835 __swig_getmethods__[
"first"] = _IMP_algebra._AxisAnglePair_first_get
10836 if _newclass:first = _swig_property(_IMP_algebra._AxisAnglePair_first_get, _IMP_algebra._AxisAnglePair_first_set)
10837 __swig_setmethods__[
"second"] = _IMP_algebra._AxisAnglePair_second_set
10838 __swig_getmethods__[
"second"] = _IMP_algebra._AxisAnglePair_second_get
10839 if _newclass:second = _swig_property(_IMP_algebra._AxisAnglePair_second_get, _IMP_algebra._AxisAnglePair_second_set)
10840 def __len__(self):
return 2
10841 def __repr__(self):
return str((self.first, self.second))
10842 def __getitem__(self, index):
10843 if not (index % 2):
10847 def __setitem__(self, index, val):
10848 if not (index % 2):
10852 __swig_destroy__ = _IMP_algebra.delete__AxisAnglePair
10853 __del__ =
lambda self :
None;
10854 _AxisAnglePair_swigregister = _IMP_algebra._AxisAnglePair_swigregister
10855 _AxisAnglePair_swigregister(_AxisAnglePair)
10859 """get_transformation_aligning_first_to_second(IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & source, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & target) -> Transformation3D"""
10860 return _IMP_algebra.get_transformation_aligning_first_to_second(*args)
10861 LinearFit=LinearFit2D
10862 ParabolicFit=ParabolicFit2D
10865 def get_module_version():
10866 """get_module_version() -> std::string const"""
10867 return _IMP_algebra.get_module_version()
10869 def get_example_path(*args):
10870 """get_example_path(std::string fname) -> std::string"""
10871 return _IMP_algebra.get_example_path(*args)
10873 def get_data_path(*args):
10874 """get_data_path(std::string fname) -> std::string"""
10875 return _IMP_algebra.get_data_path(*args)
10876 import _version_check
10877 _version_check.check_version(get_module_version())