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