BoundingRegionsMixin¶
-
class
sknano.core.atoms.mixins.BoundingRegionsMixin[source] [edit on github][source]¶ Bases:
objectMixin
Atomsclass for computing bounding regions.Attributes
bounding_boxAxis-aligned bounding box of Atoms.bounding_regionBounding Geometric3DRegion.bounding_sphereBounding SphereofAtoms.boundsAlias for bounding_region.coordinates_bounding_boxBounding box of atom coordinates. lattice_regionlatticeregion.volumeVolume of region containing atoms. Methods
within_region(region)Returns new Atomsobject containing atoms withinregion.Attributes Summary
bounding_boxAxis-aligned bounding box of Atoms.bounding_regionBounding Geometric3DRegion.bounding_sphereBounding SphereofAtoms.boundsAlias for bounding_region.coordinates_bounding_boxBounding box of atom coordinates. lattice_regionlatticeregion.volumeVolume of region containing atoms. Methods Summary
within_region(region)Returns new Atomsobject containing atoms withinregion.Attributes Documentation
-
bounding_region¶ Bounding
Geometric3DRegion.Returns: The Parallelepipedattached to theCrystal3DLatticeof theLatticeAtomsclass.Return type: Geometric3DRegion
-
bounds¶ Alias for
bounding_region.
-
coordinates_bounding_box¶ Bounding box of atom coordinates.
-
lattice_region¶ latticeregion.Returns: The Parallelepipedattached to theCrystal3DLatticeof theLatticeAtomsclass.Return type: Parallelepiped
-
volume¶ Volume of region containing atoms.
Methods Documentation
-
within_region(region)[source] [edit on github][source]¶ Returns new
Atomsobject containing atoms withinregion.Similar to
XYZAtom.clip_bounds, but returns a newAtomsobject.Parameters: region ( Geometric3DRegion) –
-