ベクトル v にとって法線となる,原点を通った鏡面上の像を表すTransformationFunctionを返す.
ReflectionTransform[v,p]
ベクトル v にとって法線となる点 p を通った鏡面上の像を与える.
ReflectionTransform
ベクトル v にとって法線となる,原点を通った鏡面上の像を表すTransformationFunctionを返す.
ReflectionTransform[v,p]
ベクトル v にとって法線となる点 p を通った鏡面上の像を与える.
詳細
- ReflectionTransformはベクトルに適用できるTransformationFunctionを返す.
- ReflectionTransformは何次元でも使える.2Dでは線に反射する.3Dでは平面に反射する.
- 点 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 Language. 2007. "ReflectionTransform." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ReflectionTransform.html.
APA
Wolfram Language. (2007). ReflectionTransform. Wolfram Language & System Documentation Center. Retrieved from 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: 31-October-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: 31-October-2026]}