grainBoundary.grainBoundary edit page

Variables of type grainBoundary represent lists of grain boundary segments. Those are typically generated during grain reconstruction and are accessible via

grains.boundary

Each grain boundary segment stores many properties: its position within the map, the ids of the adjacent grains, the ids of the adjacent EBSD measurements, the grain boundary misorientation, etc. These properties are explained in more detail in the section boundary properties.

Syntax

gB = grainBoundary(V,F,ebsdInd,grainId,phaseId,mori,CSList,phaseMap,ebsdId,varargin)

Class Properties

V [x,y] list of vertices
scanUnit scanning unit (default - um)
triplePoints triplePointList
F list of boundary segments as ids to V
grainId id's of the neighboring grains to a boundary segment
ebsdId id's of the neighboring ebsd data to a boundary segment
misrotation misrotation between neighboring ebsd data to a boundary segment

Dependent Class Properties

misorientation disorientation between neighboring ebsd data to a boundary segment
direction direction of the boundary segment as vector3d
midPoint x,y coordinates of the midpoint of the segments
I_VF incidence matrix vertices - edges
I_FG incidence matrix edges - grains
A_F adjacency matrix edges - edges
A_V adjacency matrix vertices - vertices
componentId connected component id
componentSize number of segments that belong to the component
chainId id of the chain a segment belongs to
chainSize number of segments of that chain
isChainStart segment is the first of its chain
isChainEnd segment is the last of its chain
isClosed the chain of this segment closes onto itself
arcLength length along the chain up to the end of this segment
chainLength total length of the chain this segment belongs to
chainV vertex ids of all chains, separated by NaN
isJunction vertex is a junction - indexes allV
junctionId ids of the junction vertices
x x coordinates of the vertices of the grains
y y coordinates of the vertices of the grains
z z coordinates of the vertices of the grains