rdp#

swordfish.function.rdp()#

Use RDP (Ramer-Douglas-Peucker) vector compression algorithm to compress the POINT type vector.

Parameters:
  • X (Constant) – A POINT vector which cannot contain null values.

  • epsilon (Constant) – A non-negative DOUBLE type scalar that represents the compression threshold.