Adjust units and make OPoint class.