Shape specifications

API

ExtendableGrids.Normal4ElemType! — Method
Normal4ElemType!(normal, Coords, Nodes, item, _, _)

Compute unit normal vector of an item of given geometry embedded in higher dimensional space and store it in normal. For 2D surface items in 3D, it is the normalized cross product of two edge vectors, its direction depends on the node numbering of the item. For an edge in 2D, its tangent is rotated. Used to instantiate FaceNormals.

source