Abstract geometric data structures (sknano.core.geometric_regions)

Contents

Reference/API

sknano.core.geometric_regions Package

Functions

generate_bounding_box([from_region, ...]) Return a Cuboid representing an axis-aligned bounding box.

Classes

Circle([center, r]) Geometric2DRegion for a circle.
Cone([p1, p2, r]) Geometric3DRegion for a cone.
Cube([center, a]) Geometric3DRegion for a cube.
Cuboid([pmin, pmax, xmin, ymin, zmin, xmax, ...]) Geometric3DRegion for a cuboid.
Cylinder([p1, p2, r]) Geometric3DRegion for a cylinder.
Ellipse([center, rx, ry]) Geometric2DRegion for an ellipse.
Ellipsoid([center, rx, ry, rz]) Geometric3DRegion for an ellipsoid.
Geometric2DRegion() Abstract base class for representing 2D geometric regions.
Geometric3DRegion() Abstract base class for representing 3D geometric regions.
GeometricRegion() Abstract base class for all geometric regions.
GeometricTransformsMixin Mixin class providing methods for applying linear algebra transforms to geometric regions.
Parallelepiped([o, u, v, w]) Geometric3DRegion for a parallelepiped.
Parallelogram([o, u, v]) Geometric2DRegion for a parallelogram.
Rectangle([pmin, pmax, xmin, ymin, xmax, ymax]) Geometric2DRegion for a rectangle.
Sphere([center, r]) Geometric3DRegion for a sphere.
Square([center, a]) Geometric2DRegion for a square.
Triangle([p1, p2, p3]) Geometric2DRegion for a triangle.

Class Inheritance Diagram

Inheritance diagram of sknano.core.geometric_regions._2D_regions.Circle, sknano.core.geometric_regions._3D_regions.Cone, sknano.core.geometric_regions._3D_regions.Cube, sknano.core.geometric_regions._3D_regions.Cuboid, sknano.core.geometric_regions._3D_regions.Cylinder, sknano.core.geometric_regions._2D_regions.Ellipse, sknano.core.geometric_regions._3D_regions.Ellipsoid, sknano.core.geometric_regions._2D_regions.Geometric2DRegion, sknano.core.geometric_regions._3D_regions.Geometric3DRegion, sknano.core.geometric_regions.base.GeometricRegion, sknano.core.geometric_regions.base.GeometricTransformsMixin, sknano.core.geometric_regions._3D_regions.Parallelepiped, sknano.core.geometric_regions._2D_regions.Parallelogram, sknano.core.geometric_regions._2D_regions.Rectangle, sknano.core.geometric_regions._3D_regions.Sphere, sknano.core.geometric_regions._2D_regions.Square, sknano.core.geometric_regions._2D_regions.Triangle