HPASharp.HierarchicalMap.PositionInCurrentCluster C# (CSharp) 메소드

PositionInCurrentCluster() 공개 메소드

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