Cpp point class