sknano.core.geometric_regions.GeometricRegion

class sknano.core.geometric_regions.GeometricRegion[source][source]

Abstract base class for all geometric regions.

Attributes

points (Points) Collection of all Point objects defining the GeometricRegion.
vectors (Vectors) Collection of all Vector objects defining the GeometricRegion

Methods

center_centroid() Center centroid on origin.
contains(point) Test region membership of point in GeometricRegion.
todict() Return dict of constructor parameters.