sknano.utils.geometric_shapes.Parallelepiped¶
-
class
sknano.utils.geometric_shapes.Parallelepiped(o=None, u=None, v=None, w=None)[source][source]¶ Abstract representation of parallelepiped.
New in version 0.3.0.
Represents a parallelepiped with origin \(o\) and directions \(u, v, w\).
Parameters: o : array_like, optional
parallelepiped origin
u, v, w : array_like, optional
parallelepiped direction vectors stemming from origin
o.Attributes
centercentroidouvvolumewMethods
contains_point(point)Check if point is contained within volume of Parallelepiped.rotate([angle, rot_axis, anchor_point, ...])Rotate GeometricRegionPoints and Vectors.translate(t[, fix_anchor_points])Translate GeometricRegions Points and Vectors byVectort.update_region_limits()