Moving methods from getArchGeomData.rb to the H2KUils module to allow for standardization of HTAP methods and greater code re-usability.
The getArchGeomData.rb currently contains hard-coded procedures to extract geometry data from h2k files. It makes sense to encapsulate these procedures into modules, making them available to all scripts in HTAP and limit duplication of code
Approach
Copy/paste and refactor of getArchGeomData.rb procedures into logical methods in the H2KUils module.
Description
Moving methods from
getArchGeomData.rb
to theH2KUils
module to allow for standardization of HTAP methods and greater code re-usability.The
getArchGeomData.rb
currently contains hard-coded procedures to extract geometry data from h2k files. It makes sense to encapsulate these procedures into modules, making them available to all scripts in HTAP and limit duplication of codeApproach
Copy/paste and refactor of
getArchGeomData.rb
procedures into logical methods in theH2KUils
module.Testing Plan
TBD
Waiting On
None.
Repositories Involved
https://github.com/NRCan-IETS-CE-O-HBC/HTAP/tree/arch_geo_script