HPASharp.HierarchicalMap.PositionInCurrentCluster C# (CSharp) Method

PositionInCurrentCluster() public method

public PositionInCurrentCluster ( Position position ) : bool
position Position
return 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;
		}