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 allPoint
objects defining theGeometricRegion
.vectors ( Vectors
) Collection of allVector
objects defining theGeometricRegion
Methods
center_centroid
()Center centroid
on origin.contains
(point)Test region membership of point in GeometricRegion
.todict
()Return dict
of constructor parameters.