Abstract geometric data structures (sknano.utils.geometric_shapes)¶
Contents¶
Abstract Base Classes for defining new geometric shapes¶
GeometricRegion() |
Abstract base class for geometric regions. |
Geometric2DRegion() |
Abstract base class for representing 2D geometric regions. |
Geometric3DRegion() |
Abstract base class for representing 3D geometric regions. |
2D Shapes¶
Parallelogram([o, u, v]) |
Abstract object representation of a parallelogram. |
Rectangle([pmin, pmax, xmin, ymin, xmax, ymax]) |
Abstract data structure representing a rectangle. |
Square([center, a]) |
Abstract data structure representing a square. |
Ellipse([center, rx, ry]) |
Abstract data structure representing an ellipse. |
Circle([center, r]) |
Abstract data structure representing a circle. |
3D Shapes¶
Parallelepiped([o, u, v, w]) |
Abstract representation of parallelepiped. |
Cuboid([pmin, pmax, xmin, ymin, zmin, xmax, ...]) |
Abstract representation of cuboid. |
Cube([center, a]) |
Abstract data structure representing a cube. |
Ellipsoid([center, a, b, c]) |
Abstract data structure representing an ellipsoid. |
Spheroid([center, a, c]) |
Abstract data structure representing a spheroid. |
Sphere([center, r]) |
Abstract data structure representing a sphere. |