Projection used by gridSnapStrategy when TPose doesn't expose {x,y} directly (Path, polygon, etc.). The strategy reads the snap point via getOrigin, rounds it to the grid, then asks translate to move the pose by the resulting delta.
gridSnapStrategy
TPose
{x,y}
getOrigin
translate
Projection used by
gridSnapStrategywhenTPosedoesn't expose{x,y}directly (Path, polygon, etc.). The strategy reads the snap point viagetOrigin, rounds it to the grid, then askstranslateto move the pose by the resulting delta.