private RecognizedPrimitiveInfo GetLastIndexIdOfPickedGeometry( RenderEventArgs arg, uint lastVertexId, int x, int y) { List<RecognizedPrimitiveInfo> primitiveInfoList = GetLastIndexIdList(arg, lastVertexId); if (primitiveInfoList.Count == 0) { return null; } RecognizedPrimitiveInfo lastIndexId = GetLastIndexId(arg, primitiveInfoList, x, y); return lastIndexId; }