public SpatialArgs(SpatialOperation operation, Shape shape) {if (operation == null || shape == null)throw new NullPointerException("operation and shape are required");this.operation = operation;this.shape = shape;}
public SpatialArgs(SpatialOperation operation, IShape shape){if (operation == null || shape == null)throw new ArgumentException("operation and shape are required");this.Operation = operation;this.Shape = shape;}