public Field[] createIndexableFields(Shape shape) {if (shape instanceof Point)return createIndexableFields((Point) shape);throw new UnsupportedOperationException("Can only index Point, not " + shape);}
public override Field[] CreateIndexableFields(IShape shape){var point = shape as IPoint;if (point != null)return CreateIndexableFields(point);throw new NotSupportedException("Can only index IPoint, not " + shape);}