public mmFrame NearestSurfacePoint(Vector3f queryPt) { StoredCommands sc = new StoredCommands(); uint key = sc.AppendQueryCommand_FindNearestPoint(queryPt[0], queryPt[1], queryPt[2]); ExecuteCommands(sc); frame3f f = new frame3f(); sc.GetQueryResult_FindNearestPoint(key, f); return(new mmFrame(f)); }