norms_sanity_check

pysac.analysis.tube3D.tvtk_tube_functions.norms_sanity_check(poly_norms)[source] [edit on github]

Check that the normals are pointing radially outwards.

..warning:: THIS IS HARD CODED to grid size and surface size

Parameters:

poly_norms: tvtk.PolyDataNormals instance

The normals to check

Returns:

poly_normals: tvtk.PolyDataNormals instance

The same normals but flipped if needed