get_normal (method)

get_normal(self, vertice)[source]

Return the normal vector.

Parameters
  • self (RefSegmentP1) – a RefSegmentP1 object

  • vertice (ndarray) – vertice of the cell

Returns

normal – Normal coordinate

Return type

ndarray