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

Abstract base class for representing 2D geometric regions.


area Area of 2D geometric region.
center Alias for centroid.
centroid Centroid of geometric region.
fmtstr Format string.
measure Alias for area, which is the measure of a 2D geometric region.


center_centroid() Center centroid on origin.
contains(point) Test region membership of point in GeometricRegion.
rotate([angle, axis, anchor_point, ...]) Rotate GeometricRegion points and vectors.
todict() Return dict of constructor parameters.
translate(t[, fix_anchor_points]) Translate GeometricRegion points and vectors by Vector t.