m_n_kappa.Geometry#

class m_n_kappa.Geometry#

Bases: ABC

basic geometry class

New in version 0.1.0.

the basic geometries must inherit from this class

Methods

area()

centroid()

split(at_points[, max_widths])

Attributes

bottom_edge

bottom-edge

edges

vertical edges

sides

horizontal edges

top_edge

top-edge

abstract property bottom_edge: float#

bottom-edge

abstract property edges: list[float]#

vertical edges

abstract property sides: list[float]#

horizontal edges

abstract property top_edge: float#

top-edge