selectByGrainId edit page

select grain boundaries by pairs of grainId

Syntax

[gBSub, pairId, ind] = selectByGrainId(gB,grainId)

Input

gB grainBoundary
grainId matrix of pairs of grainIds

Output

gBSub grainBoundary
pairId gBSub.grainId = grainId(pairId,:)
ind gBSub = gB(ind)