Operations for Set and Span Types

Input and Output

Constructors

  • set: Constructor for set values

  • span: Constructor for span values

  • spanset: Constructor for span set values

Conversions

Accessors

Transformations

Spatial Reference System

Set Operations

  • +: Union of sets or spans

  • -: Difference of sets or spans

  • *: Intersection of sets or spans

Bounding Box Operations

Topological Operations

  • &&: Do the sets or spans overlap (have values in common)?

  • @>: Does the first set or span contain the second one?

  • <@: Is the first set or span contained by the second one?

  • -|-: Is the first set or span adjacent to the second one?

Position Operations

  • <<, <<#: Is the first set or span scritly to the left of the second one?

  • >>, #>>: Is the first set or span strictly to the right of the second one?

  • &<, &<#: Is the first set or span not to the right of the second one?

  • &>, #&>: Is the first set or span not to the left of the second one?

Bounding Box Splitting

  • splitNSpans: Return an array of N spans obtained by merging the elements of a set or the spans of a spanset

  • splitEachNSpans: Return an array of spans obtained by merging N consecutive elements of a set or N consecutive spans of a spanset

Distance Operations

  • <->: Return the smallest distance ever

Comparisons

  • =: Are the values equal?

  • <>: Are the values different?

  • <: Is the first value less than the second one?

  • >: Is the first value greater than the second one?

  • <=: Is the first value less than or equal to the second one?

  • >=: Is the first value greater than or equal to the second one?

Aggregations