geoana.shapes.BasePrism#

Inheritance diagram of BasePrism
class geoana.shapes.BasePrism(min_location, max_location, **kwargs)#

Class for basic geometry of a prism.

The BasePrism class is used to define and validate basic geometry of an axis aligned prism in three dimensions.

Parameters:
min_location(3,) numpy.ndarray of float

Minimum location triple of the axis aligned prism

max_location(3,) numpy.ndarray of float

Maximum location triple of the axis aligned prism

Attributes

location

The center of the prism

max_location

Location of the point mass.

min_location

Location of the point mass.

volume

The volume of the prism