PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ LW_LINEARIZE_FLAGS

Enumerator
LW_LINEARIZE_FLAG_SYMMETRIC 

Symmetric linearization means that the output vertices would be the same no matter the order of the points defining the input curve.

LW_LINEARIZE_FLAG_RETAIN_ANGLE 

Retain angle instructs the engine to try its best to retain the requested angle between generating radii (where angle can be given explicitly with LW_LINEARIZE_TOLERANCE_TYPE_MAX_ANGLE or implicitly with LW_LINEARIZE_TOLERANCE_TYPE_SEGS_PER_QUAD or LW_LINEARIZE_TOLERANCE_TYPE_MAX_DEVIATION).

It only makes sense with LW_LINEARIZE_FLAG_SYMMETRIC which would otherwise reduce the angle as needed to keep it constant among all radiis so that all segments are of the same length.

When this flag is set, the first and last generating angles (and thus the first and last segments) may instead be smaller (shorter) than the others.

Definition at line 2220 of file liblwgeom.h.

2220  {
2226  LW_LINEARIZE_FLAG_SYMMETRIC = 1 << 0,
2227 
LW_LINEARIZE_FLAGS
Definition: liblwgeom.h:2220
Symmetric linearization means that the output vertices would be the same no matter the order of the p...
Definition: liblwgeom.h:2226
Retain angle instructs the engine to try its best to retain the requested angle between generating ra...
Definition: liblwgeom.h:2246