Shapes (sisl.shape)ΒΆ

A variety of default shapes.

All shapes inherit the Shape class.

Shape(center) Baseclass for shapes
Cuboid(edge_length[, center]) A cuboid/rectangular prism (P4) with equi-opposite faces
Cube(edge_length[, center]) A cuboid/rectangular prism (P4) with all-equi faces
Ellipsoid(x, y, z[, center]) 3D Ellipsoid shape
Spheroid(a, b[, axis, center]) 3D spheroid shape
Sphere(radius[, center])
Cube(edge_length[, center]) A cuboid/rectangular prism (P4) with all-equi faces
Cuboid(edge_length[, center]) A cuboid/rectangular prism (P4) with equi-opposite faces
Ellipsoid(x, y, z[, center]) 3D Ellipsoid shape
Shape(center) Baseclass for shapes
Sphere(radius[, center])
Spheroid(a, b[, axis, center]) 3D spheroid shape