mirror{
generalized mirroring across a plane
include{File} ...
mirror{X,Y,Z, NormalX, NormalY, NormalZ,
OPTIONAL:NormalLength } ...
Given a point (
X,
Y,
Z) and a unit normal (
NormalX,
NormalY,
NormalZ)
or a normal (
NormalX,
NormalY,
NormalZ) that is scaled to
NormalLength ,
this operation mirrors the geometry across the plane through (X,Y,Z)
perpendicular to its normal (NormalX, NormalY, NormalZ).
Examples:
include{File} ...
mirror{0,0,0, 1,0,0} ...
include{File} ...
mirror{1.5,2.0,0.5, 1,1,1, 1.0 } ...
The generalized behavior for non-unit length \( L\) of the normal
would move each node \( P\) of the geometry to \( P + L^2(P_\text{mirrored} - P)\).