calcParent edit page

Description

Syntax

% return parent orientation
[parentOri, fit] = calcParent(childOri,p2c)
[parentOri, fit] = calcParent(childOri,parentOri,p2c)
[parentOri, fit] = calcParent(childOri,parentOri,'numFit',2)
% return parent id
[parentId, fit] = calcParent(childOri,p2c,'id')
[parentId, fit] = calcParent(childOri,parentRef,p2c,'id')

Input

childOri child orientation
parentOri parent orientation
p2c parent to child misorientation
p2cVariants variants of parent to child misorientation

Output

parentOri parent orientation
parentid parent variant Id
fit fit to the given parent2child misorientation

Options

numFit do return up to n-th fit
id return parent variant id instead of parent ori