Geometry Tools

This section of geometry tools especialy contains methods to convert directions and rotations from one paramterization into another. Additionlly some basic geometrical objects are predefined.

Complete Function list

CSLcoincidence site lattice misorientations for cubic symmetry
Miller2quatcalculate quaternion from Miller indece
axis2quatrotational axis, roational angle to Quaternion
axis2quat_outerrotational axis, roational angle to Quaternion
brassOrientationreturns the cube orientation
cubeOrientationreturns the cube orientation
equispacedS2Griddefines an equispaced spherical grid
equispacedSO3Griddefines a equispaced grid in the orientation space
euler2quatconverts euler angle to quaternion
fibre2quatarbitrary quaternion q with q * h = r
gossOrientationreturns the cube orientation
guessfibretry to find the fibre of to given rotations by finding the eigenvector
hr2quatarbitrary quaternion q with q * h = r
idRotationthe identical rotation
idquaternionthe identical rotation quaternion(1,0,0,0)
inversionthe inversion reflection at the origin
loadCIFimport crystal symmetry from cif file
localOrientationGriddefine a equispaced grid localized to a center orientation
mat2quatconverts direction cosine matrix to quaternion
plotS2Gridcreate a regular S2Grid for plotting
plotSO3Gridgive a regular grid in orientation space
randqreturns random quaternions
reflectiondefines a reflection at plane with normal n
regularS2GridSyntax
regularSO3Gridgive a regular grid in orientation space
vec42quatreturns a quaternion q with q u_1 = v1 and q u2 = v2
xvectorvector (1,0,0)
yvectorvector (0,1,0)
zvectorvector (0,0,1)