refactored functions into model.ts, renamed functions. checking for unique intersection ppoints.
refactored functions into model.ts, renamed functions. checking for unique intersection ppoints.

Microsoft/maker.js,bartuspan/maker.js,bartuspan/maker.js,Microsoft/maker.js,bartuspan/maker.js,Microsoft/maker.js