AlternateSort

class pyslm.hatching.AlternateSort

Bases: BaseSort

Sort method flips pairs of scan vectors so that their direction alternates across adjacent vectors.

Methods Summary

sort(scanVectors)

Sorts the scan vectors in a particular order

Methods Documentation

sort(scanVectors)

Sorts the scan vectors in a particular order

Parameters:

vectors – The un-sorted array of scan vectors

Return type:

ndarray

Returns:

The sorted array of scan vectors