Changed the HPoint class into a struct type.