Manage a crystal plane object.
|
|
__init__(self,
h_index,
k_index,
l_index,
a_vec,
b_vec,
c_vec,
origin=array([ 0., 0., 0.]),
logger=None)
Create an instance. |
|
|
|
|
checkMillerIndices(self)
Check the user provided Miller indices. |
|
|
|
three numpy.array
|
|
|
numpy.array
|
|
|
numpy.array, numpy.array, numpy.array
|
|
|
numpy.array, numpy.array, numpy.array
|
getSimpleSlabVectors(self)
Return the simple slab vectors, by simple we mean cases where at
least one of the Miller indices of the plane is zero. |
|
|
|
numpy.array, numpy.array, numpy.array
|
|
|
list of numpy.array
|
getSpanningVectors(self,
ncella=1,
ncellb=1,
ncellc=1)
Return the spanning vectors of this bounding box. |
|
|
|
int
|
getNumPlanes(self,
ncella=1,
ncellb=1,
ncellc=1)
Return the number of planes that will fit inside the bounding box. |
|
|
|
float
|
|
|
two numpy.array
|
getRotationToZ(self)
Return the rotation matrix needed to rotate this plane to the
XY-plane as well as its inverse. |
|
|
|
list of numpy.array
|
|
|
list of tuples of heads and tails of 12 line segments.
|
|
|
list of numpy.array
|
getPlaneBoxIntersections(self,
vertices,
ncella=1,
ncellb=1,
ncellc=1)
Return the points where the plane containing the specified vertices
intersects the parallelepiped. |
|
|
|
list of numpy.array
|
|
|
list of list of numpy.array
|
getVerticesOfAllPlanes(self,
ncella=1,
ncellb=1,
ncellc=1,
nplanes=None)
Return a list of lists of points where the set of planes intersect
the parallelepiped. |
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|