Add some sample code to access geometry data