fastwater.otm_gpl.parser_kenue module¶
@author Sebastien E. Bourban
/ `-’| www.hrwallingford.com innovation.edf.com | ) ) )
- @brief
Tools for handling Kenue native files in python. Kenue and its related software (Blue Kenue, Greem Kenue, ) are property of the NRC Canadian Hydrualics Centre
- @details
Contains getI2S, getI3S and putI2S, putI3S, which read/write python variables into ASCII I2S and I3S files
- @history 26/12/2011 – Sebastien E. Bourban:
First trial at parsing I2S and I3S
- @history 09/01/2012 – Sebastien E. Bourban:
Addition of XY and XYZ parsing
- @history 13/01/2012 – Sebastien E. Bourban:
Creates InS class with associated methods including: + removeDuplicates (remove duplicated points based on proximity) + make_clockwise (make closed loops clockwise) + make_anti_clockwise (make closed loops anti-clockwise) + smoothSubdivise (add points and weigthed average move) + smoothSubsampleDistance (remove points based on proximity) + smoothSubsampleAngle (remove points based on flatness)
- @history 29/02/2012 – Sebastien E. Bourban:
The type of a contour can now be checked automatically so that mixed set can be stored into one I2S/I3S file. To use this feature, type must be absent from the putInS call.