コード例 #1
0
 public boolean isInScope(final Tile node, final DoubleMatrix1D feat) {
   return (TileInScopeCalculator.isInScope(
       node.getPosition(), feat.like().assign(this.maxDimensions), feat));
 }
コード例 #2
0
 // set maxDimensions via an example tile
 public void setMaxDimensions(Tile exampleTile) {
   this.setMaxDimensions(exampleTile.getDimensions().toArray());
 }
コード例 #3
0
 // set maxDimensions via an example tile
 public TileInScopeCalculator(Tile exampleTile) {
   this(exampleTile.getDimensions().toArray());
 }