Differences

This shows you the differences between two versions of the page.

Link to this comparison view

create_spatial_index_for_2d_points [2026/08/28 03:00] (current)
hermann Create new page from functor_docs documentation
Line 1: Line 1:
 +====== Create Spatial Index For 2D Points ======
 +
 +===== Description =====
 +
 +This functor creates a 2D coordinate spatial index from a table of point properties.
 +
 +===== Inputs =====
 +
 +^ Name  ^ Type  ^ Description ​ ^
 +| Point Properties ​ | [[Table Type]] ​ | Table of point properties mapping each point'​s id to its 2D coordinates,​ in the format "​Point_Id*:​real,​ Point_Y:​real,​ Point_X:​real"​. Point_Y and Point_X hold the Y and X components of each point'​s location; the unit is arbitrary, and any Cartesian coordinate system can be used.  |
 +
 +===== Optional Inputs =====
 +
 +None.
 +
 +===== Outputs =====
 +
 +^ Name  ^ Type  ^ Description ​ ^
 +| Spatial Index  | [[Spatial Index 2D Point Type]] ​ | 2D coordinate spatial index created from Point Properties. ​ |
 +
 +===== Group =====
 +
 +[[Functor List#​Spatial Index: 2D Points | Spatial Index: 2D Points]]
 +
 +===== Notes =====
 +
 +The spatial index represents the spatial organization of the points in the 2D plane, letting other functors query the relative position of points.
 +
 +===== Internal Name =====
 +
 +CreateSpatialIndexFor2DPoints