public ShapeFieldCacheDistanceValueSource(SpatialContext ctx, ShapeFieldCacheProvider <IPoint> provider, IPoint from, double multiplier) { this.ctx = ctx; this.from = from; this.provider = provider; this.multiplier = multiplier; }
public ShapeFieldCacheDistanceValueSource(SpatialContext ctx, ShapeFieldCacheProvider <IPoint> provider, IPoint from, double multiplier) { // LUCENENET specific - added guard clauses this.ctx = ctx ?? throw new ArgumentNullException(nameof(ctx)); this.from = from ?? throw new ArgumentNullException(nameof(from)); this.provider = provider ?? throw new ArgumentNullException(nameof(provider)); this.multiplier = multiplier; }
public ShapeFieldCacheDistanceValueSource(SpatialContext ctx, ShapeFieldCacheProvider <Point> provider, Point from) { this.ctx = ctx; this.from = from; this.provider = provider; }