Skip to content

point operators

Jip Claassens edited this page Mar 31, 2026 · 3 revisions

Back to Geometric functions


Point operators create, decompose, and measure point geometries. For buffer operations, multiple geometry library variants are available; see polygon operators for notes on library choice.

  • point_xy - create a point attribute from separate X and Y attributes (X-first order)
  • point_yx - create a point attribute from separate Y and X attributes (row/col order, e.g. for grid domains)
  • point_isNearby - test whether two point sets are within a given distance of each other (element-wise)
  • PointRow - get the row index (Y component) of each point (or grid coordinate) as an integer
  • PointCol - get the column index (X component) of each point (or grid coordinate) as an integer
  • Get_X - get the X coordinate of each point
  • Get_Y - get the Y coordinate of each point
  • dist(ance) - calculate the Euclidean distance between two point sets (element-wise)
  • sq(ua)r(e)dist(ance) - calculate the squared Euclidean distance between two point sets (element-wise); faster than dist when only ranking is needed
  • join_near_values - join attributes from the nearest points in another domain, within a given search radius
  • point - DEPRECATED: create a point attribute from X and Y attributes; use point_xy instead

Buffer operators based on the geos library (recommended: fastest, supports float64/dpoint):

Buffer operators based on the boost geometry library (float64/dpoint):

  • bg_buffer_point - creates a circular buffer polygon around each single point
  • bg_buffer_multi_point - creates a buffer polygon enclosing all points per entity (e.g. all vertices of an arc or polygon)

Buffer operators based on the boost polygon library (integer coordinates only):

  • bp_buffer_point - creates a circular buffer polygon around each single point (integer coordinates)
  • bp_buffer_multi_point - creates a buffer polygon enclosing all points per entity (integer coordinates)

Buffer operators based on the cgal library:

Clone this wiki locally