DegenerateBinGridError

exception geodetic_engine.bingrid.DegenerateBinGridError[source]

Bases: BinGridError

The corner coordinates cannot belong to the corners they are labelled as.

Raised for coordinates that are not finite, corners that coincide, and an outline A-B-D-C that is not convex or crosses itself, which is what corners swapped between labels look like. A bearing and handedness derived from such corners would be meaningless rather than merely inaccurate.

__init__(*args, **kwargs)