public PositionInCurrentCluster ( |
||
position | ||
Résultat | bool |
public bool PositionInCurrentCluster(Position position)
{
var y = position.Y;
var x = position.X;
return y >= this.currentClusterY0 && y <= this.currentClusterY1 && x >= this.currentClusterX0 && x <= this.currentClusterX1;
}