class foxes.utils.geom2d.AreaGeometry[source]

Abstract base class for closed 2D geometries.

Public members

abstract p_min()[source]

Returns minimal (x,y) point.

abstract p_max()[source]

Returns maximal (x,y) point.

abstract points_distance(points, return_nearest=False)[source]

Calculates point distances wrt boundary.

abstract points_inside(points)[source]

Tests if points are inside the geometry.

add_to_figure(ax, show_boundary=False, ...)[source]

Add image to (x,y) figure.

inverse()[source]

Get the inverted geometry