A S4 class that provides slots to contain relevant shape data and metadata for a variety of arbitrary and canonical shapes and geometries. See Scatterer for a more detailed description on how this S4 object interacts with generic Scatterer objects.
Slots
position_matrixPosition matrix that provides the 2D representation of the body shape
shape_parametersA list of additional shape specifications
Examples
methods::getClass("Shape")
#> Class "Shape" [package "acousticTS"]
#>
#> Slots:
#>
#> Name: position_matrix shape_parameters
#> Class: matrix list
#>
#> Known Subclasses:
#> Class "Arbitrary", directly
#> Class "Sphere", directly
#> Class "ProlateSpheroid", directly
#> Class "OblateSpheroid", directly
#> Class "Cylinder", directly
#> Class "PolynomialCylinder", by class "Cylinder", distance 2
