Geometric3DRegion¶
-
class
sknano.core.geometric_regions.Geometric3DRegion[source] [edit on github][source]¶ Bases:
sknano.core.geometric_regions.GeometricRegion,sknano.core.geometric_regions.GeometricTransformsMixinAbstract base class for representing 3D geometric regions.
Attributes
bounding_boxBounding Cuboid.centerAlias for centroid.centroidCentroid of geometric region. fmtstrFormat string. measureAlias for volume, which is the measure of a 3D geometric region.ndimReturn the dimensions. pmaxPointat maximum extent.pminPointat minimum extent.volumeVolume of 3D geometric region. Methods
center_centroid()Center centroidon origin.contains(point)Test region membership of pointinGeometricRegion.get_points()Return list of points from GeometricRegion.pointsandGeometricRegion.vectorsrotate(**kwargs)Rotate GeometricRegionpointsandvectors.todict()Return dictof constructor parameters.translate(t[, fix_anchor_points])Translate GeometricRegionpointsandvectorsbyVectort.Attributes Summary
bounding_boxBounding Cuboid.measureAlias for volume, which is the measure of a 3D geometric region.ndimReturn the dimensions. volumeVolume of 3D geometric region. Attributes Documentation
-
ndim¶ Return the dimensions.
-
volume¶ Volume of 3D geometric region.
-