Geometry
SmoothedParticles.Ball — TypeBall(x1::Float64, x2::Float64, x3::Float64, r::Float64) <: ShapeDefine a ball by specifying the center (x1, x2, x3) and the radius r.
SmoothedParticles.BooleanDifference — TypeBooleanDifference(s1::Shape, s2::Shape) <: ShapeDefine a shape as difference of two shapes. Equivalent to s1 - s2.
SmoothedParticles.BooleanIntersection — TypeBooleanIntersection(s1::Shape, s2::Shape) <: ShapeDefine a shape as intersection of two shapes. Equivalent to s1 * s2.
SmoothedParticles.BoundaryLayer — TypeBoundaryLayer(s::Shape, grid::Grid, width::Float64) <: ShapeCreates a layer of certain width around shape s. More specifically, a point is inside boundary layer if it is not in s and at the same time has distance less than width to at least one point on grid in s.
SmoothedParticles.Box — TypeBox(x1_min::Float64, x2_min::Float64, x3_min::Float64,
    x1_max::Float64, x2_max::Float64, x3_max::Float64)::ShapeDefines a box specified by two corners.
SmoothedParticles.Circle — TypeCircle(x1::Float64, x2::Float64, r::Float64) <: ShapeDefine a circle by specifying the center (x1, x2) and the radius r.
SmoothedParticles.Ellipse — TypeEllipse(x1::Float64, x2::Float64, r1::Float64, r2::Float64) <: ShapeDefine an ellipse by specifying the center (x1, x2) and semi-major/minor axes r1, r2.
SmoothedParticles.Ellipsoid — TypeEllipsoid(x1::Float64, x2::Float64, x3::Float64, r1::Float64, r2::Float64, r3::Float64) <: ShapeDefine an ellipsoid by specifying the center (x1, x2, x3) and three radii r1,r2,r3.
SmoothedParticles.Polygon — TypePolygon(x::Tuple{Float64, Float64}...)SmoothedParticles.Specification — TypeSpecification(s::Shape, f::Function) <: ShapeDefine a shape of all x in s, such that f(x) == true.
SmoothedParticles.Transform — TypeTransform(s::Shape; A::RealMatrix = MAT1, b::RealVector = VEC0)Define shape as a linear transform $x \to Ax + b$ applied to shape s.
SmoothedParticles.ClosedSpline — MethodClosedSpline(x::Tuple{Float64, Float64}...; n::Int64 = 32)SmoothedParticles.Rectangle — MethodRectangle(x1_min, x2_min, x1_max, x2_max) <: ShapeDefine a rectangle by specifying bottom left and top right corner.