Encapsulation demo by 3D point example