Geometric3DRegion

class sknano.core.geometric_regions.Geometric3DRegion[source] [edit on github][source]

Bases: sknano.core.geometric_regions.GeometricRegion, sknano.core.geometric_regions.GeometricTransformsMixin

Abstract base class for representing 3D geometric regions.

Attributes

bounding_box Bounding Cuboid.
center Alias for centroid.
centroid Centroid of geometric region.
fmtstr Format string.
measure Alias for volume, which is the measure of a 3D geometric region.
ndim Return the dimensions.
pmax Point at maximum extent.
pmin Point at minimum extent.
volume Volume of 3D geometric region.

Methods

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

Attributes Summary

bounding_box Bounding Cuboid.
measure Alias for volume, which is the measure of a 3D geometric region.
ndim Return the dimensions.
volume Volume of 3D geometric region.

Attributes Documentation

bounding_box

Bounding Cuboid.

measure

Alias for volume, which is the measure of a 3D geometric region.

ndim

Return the dimensions.

volume

Volume of 3D geometric region.