SquaringResult

class geodetic_engine.bingrid.SquaringResult[source]

Bases: object

The rectangle fitted through four corners, and how well it fits.

input_corners

The corners as given.

parameters

The fitted grid, anchored at squared corner A.

squared_corners

The corners of the fitted rectangle, at the same numbers as the input corners.

residuals

Per corner, in order A, B, C, D.

max_mislocation

The largest residuals.

to_json_dict()[source]

Render the result as plain data.

Return type:

dict[str, Any]

__init__(input_corners, parameters, squared_corners, residuals, max_mislocation)