public boolean isInScope(final Tile node, final DoubleMatrix1D feat) { return (TileInScopeCalculator.isInScope( node.getPosition(), feat.like().assign(this.maxDimensions), feat)); }
// set maxDimensions via an example tile public void setMaxDimensions(Tile exampleTile) { this.setMaxDimensions(exampleTile.getDimensions().toArray()); }
// set maxDimensions via an example tile public TileInScopeCalculator(Tile exampleTile) { this(exampleTile.getDimensions().toArray()); }