geoana.shapes.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
The center of the prism
Location of the point mass.
Location of the point mass.
The volume of the prism