Skip to content

Implant translation correction

When calculating the intersection of a particle with an implant, the offset is subtracted from the position. This offset is never added back again. This leads to nonphysical behaviors. This MR addresses this issue and adds the offset back.

Only affects the RECTANGLE shape, as this is done correctly for the ELLIPSE type implants.

Tagging @cscharf

Edited by Ben Bruers

Merge request reports