给出表示在一个通过原点的镜面上的以向量 v 为法线的反射的 TransformationFunction.
ReflectionTransform[v,p]
给出通过点 p 的镜面中的反射,以向量 v 为法线.
ReflectionTransform
给出表示在一个通过原点的镜面上的以向量 v 为法线的反射的 TransformationFunction.
ReflectionTransform[v,p]
给出通过点 p 的镜面中的反射,以向量 v 为法线.
更多信息
- ReflectionTransform 给出应用在向量中的 TransformationFunction.
- ReflectionTransform 可以在任意维空间中应用. 二维空间中反射为一条线;三维空间中,反射为一个平面.
- 点 p 可以位于镜面中的任意位置.
范例
打开所有单元 关闭所有单元基本范例 (2)
范围 (3)
rt = ReflectionTransform[{u, v, w}]//Simplify[#, {Element[{u, v, w}, Reals], u ^ 2 + v ^ 2 + w ^ 2 == 1}]&rt[NullSpace[{{u, v, w}}]] == NullSpace[{{u, v, w}}]//Simplify[#, u ^ 2 + v ^ 2 + w ^ 2 == 1]&gr = {Rectangle[], AbsolutePointSize[10], Opacity[1], {Magenta, Point[{0, 0}]}, {Green, Point[{1, 1}]}};Graphics[{{Opacity[.35], Blue, gr}, GeometricTransformation[{Opacity[.85], Red, gr}, ReflectionTransform[{1, 1}, {-.2, -.2}]]}]gr = {Cuboid[], AbsolutePointSize[10], Opacity[1], {Magenta, Point[{0, 0, 0}]}, {Green, Point[{1, 1, 1}]}};Graphics3D[{{Opacity[.35], Blue, gr}, GeometricTransformation[{Opacity[.85], Red, gr}, ReflectionTransform[{2, 1, 0}, {-.1, -.1, 0}]]}, Boxed -> False]应用 (4)
gr = Plot[E ^ x, {x, -3, 2}];Show[gr, Plot[x, {x, -3, 7}, PlotStyle -> StandardGray], gr /. L_Line :> {Red, GeometricTransformation[L, ReflectionTransform[{-1, 1}]]}, PlotRange -> All]Plot[Sin[x], {x, -2Pi, 2Pi}, AspectRatio -> Automatic, Axes -> False, PlotRange -> All] /. L_Line :> Table[GeometricTransformation[L, ReflectionTransform[{Cos[u], Sin[u]}]], {u, Pi / 14Range[7]}]ImageTransformation[[image], ReflectionTransform[{1, 0}, {.5, 0}]]ImageTransformation[\!\(\*Graphics3DBox[«8»]\), ReflectionTransform[{1, 0, 0}], DataRange -> {{-.5, .5}, Automatic, Automatic}]属性和关系 (5)
t = ReflectionTransform[{1, 2}, {3, 4}];{p1, p2} = {{10, 17}, {1, 2}};
{tp1, tp2} = t[{p1, p2}];EuclideanDistance[p1, p2] == EuclideanDistance[tp1, tp2]t = ReflectionTransform[{1, 1, 1}];InverseFunction[t] == tt = ReflectionTransform[{1, 2, 3}];Det[TransformationMatrix[t]]ReflectionTransform 可表示为一种缩放转换:
t = ReflectionTransform[{1, 1, 1}];t == ScalingTransform[-1, {1, 1, 1}]使用 ImageTransformation 头底图像反射:
i = [image];
ImageReflect[i] == ImageTransformation[i, ReflectionTransform[{0, 1}], PlotRange -> All]ImageReflect[i, Left -> Top] == ImageTransformation[i, ReflectionTransform[{1, 1}], PlotRange -> All]ImageReflect[i, Right -> Top] == ImageTransformation[i, ReflectionTransform[{-1, 1}], PlotRange -> All]可能存在的问题 (1)
巧妙范例 (1)
cow = ExampleData[{"Geometry3D", "Cow"}, "GraphicsComplex"];p = {0, 0, -0.251619};Graphics3D[{EdgeForm[None], Opacity[0.5], Lighter[ColorData[1, 1], 0.5], cow, Lighter[ColorData[1, 2], 0.5], GeometricTransformation[cow, ReflectionTransform[{1, 0, 0}, p]]}, Lighting -> "Neutral", ImageSize -> Large, Boxed -> False]Graphics3D[{EdgeForm[None], Opacity[0.5], Lighter[ColorData[1, 1], 0.5], cow, Lighter[ColorData[1, 2], 0.5], GeometricTransformation[cow, ReflectionTransform[{0, 1, 0}, p]]}, Lighting -> "Neutral", ImageSize -> Large, Boxed -> False]Graphics3D[{EdgeForm[None], Opacity[0.5], Lighter[ColorData[1, 1], 0.5], cow, Lighter[ColorData[1, 2], 0.5], GeometricTransformation[cow, ReflectionTransform[{0, 0, 1}, p]]}, Lighting -> "Neutral", ImageSize -> Large, Boxed -> False]文本
Wolfram Research (2007),ReflectionTransform,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ReflectionTransform.html.
CMS
Wolfram 语言. 2007. "ReflectionTransform." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/ReflectionTransform.html.
APA
Wolfram 语言. (2007). ReflectionTransform. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/ReflectionTransform.html 年
BibTeX
@misc{reference.wolfram_2026_reflectiontransform, author="Wolfram Research", title="{ReflectionTransform}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/ReflectionTransform.html}", note=[Accessed: 28-November-2026]}
BibLaTeX
@online{reference.wolfram_2026_reflectiontransform, organization={Wolfram Research}, title={ReflectionTransform}, year={2007}, url={https://reference.wolfram.com/language/ref/ReflectionTransform.html}, note=[Accessed: 28-November-2026]}