function(diffX, diffY) {
			var self = this;
			var Re = [];
			for (var row = 0; row < 3; row++) {
				for (var col = 0; col < 3; col++) {
					var Point = {
						X: (self.OffsetX + col * diffX + (col * 2 + 1) * self.R),
						Y: (self.OffsetY + row * diffY + (row * 2 + 1) * self.R)
					};
					Re.push(Point);
				}
			}
			return Re;
		}
function(diffX, diffY) {
			var self = this;
			var Re = [];
			for (var row = 0; row < 3; row++) {
				for (var col = 0; col < 3; col++) {
					var Point = {
						X: (self.OffsetX + col * diffX + (col * 2 + 1) * self.R),
						Y: (self.OffsetY + row * diffY + (row * 2 + 1) * self.R)
					};
					Re.push(Point);
				}
			}
			return Re;
		}
function ( diffX , diffY ) { var self = this ; var Re = [ ] ; for ( var row = 0 ; row < 3 ; row ++ ) { for ( var col = 0 ; col < 3 ; col ++ ) { var Point = { X : ( self . OffsetX + col * diffX + ( col * 2 + 1 ) * self . R ) , Y : ( self . OffsetY + row * diffY + ( row * 2 + 1 ) * self . R ) } ; Re . push ( Point ) ; } } return Re ; }
计算
计算
Returns a list of points that are within the specified rectangle