BlueSpray - Help
© SchoonerTurtles, Inc. 2012-2015

Introduction
Contents
Getting Started
Download
Navigating
Tutorials
Scripting
Advanced
About

Class STPointGridFilter

Extends STTransformPoint

Filters the points in a point layer based on a specified grid. The result
is currently one point per grid square but this could be made more
flexible in the future.


Copyright, SchoonerTurtles LLP, 2009
@author Jim Graham

Static Functions

ReturnsFunctionThrows
STLayerPoint Filter(STLayerPoint TheInputLayer,
     double CellWidth,double CellHeight)
Exception

Static Functions


STLayerPoint Filter(STLayerPoint TheInputLayer,
     double CellWidth,double CellHeight) Exception

Create a new layer with points sampled from a grid that is overlaid on an
existing point layer. There will be one randomly chosen point in the new
layer from each cell that contains one or more points in the original layer.

Parameters:
    TheInputLayer - original point layer
    CellWidth - Width of the grid cells in ref units
    CellHeight - Height of the grid cells in ref units
Returns: a new layer with the filtered points
Throws: Exception