angle edit page

angle to the boundary of the OR

Description

Computes the misorientation angle of orientations to the boundary of an orientationRegion. A negative angle indicates that the orientation is inside the OR and a positive angle that it is outside the OR.

Syntax

omega = angle(oR,ori)
dist = angle(oR,ori)

Input

oR orientationRegion
ori orientation

Output

omega misorientation angle to the boundary of oR