
Flip a stored shape or scatterer profile across the x or z axis
Source:R/shape_manipulation.R
flip_shape.RdReverse axial orientation (axis = "x") or mirror the geometry
dorsoventrally (axis = "z") without manually editing the position matrix.
Arguments
- object
Shape or Scatterer object.
- axis
Flip axis. Use
"x"to reverse nose/tail orientation while keeping the existing x grid, or"z"to mirror the profile vertically.- component
Optional component name for scatterers. Defaults to the primary geometry (
"body"for most scatterers and"shell"forESS).- containment
Containment policy used when a moved swimbladder or backbone is checked against its body:
"warn","error", or"ignore".