outline_of

geodetic_engine.bingrid.outline_of(points)[source]

The outer ring through four points given in order A, B, C, D.

For points in a plane that are not bin grid corners as such.

Parameters:

points (Sequence[Sequence[float]]) – Four xy pairs, in order A, B, C, D.

Return type:

BinGridOutline

Returns:

A closed, counterclockwise ring of five points.

Raises:

DegenerateBinGridError – If the outline A-B-D-C of the points does not enclose a convex area: it crosses itself, turns back, or has no area.