1
$\begingroup$

Edit: in light of these links, I suppose I'm beating a dead horse here. Normal is inconsistent, that's not technically a bug, just slightly disappointing

Why doesn't Normal[] work on GeometricTransformation?

Evaluation of Graphics3D transforms

How to use Normal to recover translated points

How to get explicit result of geometric transformation?


Consider

Normal@Translate[Point[{0, 0   }], {1, 1   }]
Normal@Translate[Point[{0, 0, 0}], {1, 1, 1}]
Normal@Translate[Line[{{0, 0   }, {1, 1   }}], {1, 1   }]
Normal@Translate[Line[{{0, 0, 0}, {1, 1, 1}}], {1, 1, 1}]
(* yields
   Translate[Point[{0, 0}], {1, 1}]
   Point[{1, 1, 1}]
   Translate[Line[{{0, 0}, {1, 1}}], {1, 1}]
   Line[{{1, 1, 1}, {2, 2, 2}}]                *)

From the docs of Translate,

Normal[expr] if possible replaces all Translate[gi,...] constructs by versions of the gi in which the coordinates have explicitly been transformed.

It is certainly possible for the 2d points and lines to be translated, no? Is this a bug? My version is 12.1, can people reproduce on this or other versions? For now I'm manually replacing instances of Translate of Point, Line, BezierCurve, many other primitives... not very elegant.

$\endgroup$
1
  • $\begingroup$ Ah. I skimmed over Carl Woll's answer; that answers it. $\endgroup$ – Adam Apr 12 at 20:19