ScalingTransform[{sx,sy,…}]
原点から各座標軸に沿った siの因子のスケーリングを表すTransformationFunctionを与える.
ScalingTransform[{sx,sy,…},p]
点 p を中心としたスケーリングを与える.
ScalingTransform[s,v]
ベクトル v の方向に沿った s の因子でスケーリングを与える.
ScalingTransform[s,v,p]
v の方向に沿って点 p を中心としてスケーリングを与える.
ScalingTransform
ScalingTransform[{sx,sy,…}]
原点から各座標軸に沿った siの因子のスケーリングを表すTransformationFunctionを与える.
ScalingTransform[{sx,sy,…},p]
点 p を中心としたスケーリングを与える.
ScalingTransform[s,v]
ベクトル v の方向に沿った s の因子でスケーリングを与える.
ScalingTransform[s,v,p]
v の方向に沿って点 p を中心としてスケーリングを与える.
詳細
- ScalingTransformは,ベクトルに適用できるTransformationFunctionを返す.
例題
すべて開く すべて閉じる例 (2)
スコープ (4)
t = ScalingTransform[{Subscript[s, x], Subscript[s, y]}, {Subscript[p, x], Subscript[p, y]}]t[{x, y}]点{px,py}を中心として因数 s でベクトル{1,1}に沿ってスケールする:
t = ScalingTransform[s, {1, 1}, {Subscript[p, x], Subscript[p, y]}]t[{x, y}]gr = {Rectangle[], AbsolutePointSize[10], Opacity[1], {Magenta, Point[{0, 0}]}, {Green, Point[{1, 1}]}};Graphics[{{Opacity[.35], Blue, gr}, GeometricTransformation[{Opacity[.85], Red, gr}, ScalingTransform[.65, {1, 1}]]}]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}, ScalingTransform[.65, {1, 1, 0}]]}, Boxed -> False]アプリケーション (2)
Graphics3D[{Opacity[.5], Cuboid[], GeometricTransformation[Cuboid[], ScalingTransform[10 ^ -3, {1, 1, 1}, #]]& /@ {{0, 0, 0}, {1, 1, 1}}}, Boxed -> False]Graphics[
GeometricTransformation[Circle[], ScalingTransform[.25, #]]& /@ Table[{Cos[u], Sin[u]}, {u, Pi / 10Range[10]}]]特性と関係 (3)
ScalingTransform[s,v]の逆はScalingTransform[1/s,v]で与えられる:
Composition[ScalingTransform[s, {1, 1}], ScalingTransform[1 / s, {1, 1}]]//SimplifyScalingTransform[{s1,…,sn}]の逆はScalingTransform[{1/s1,…,1/sn}]で与えられる:
Composition[ScalingTransform[{s1, s2}], ScalingTransform[1 / {s1, s2}]]//Simplifyそれに沿ってスケールが適用される方向が対角状のときは,変換がなされる:
t1 = ScalingTransform[s1, {1, 1}];
t2 = ScalingTransform[s2, {1, -1}];Composition[t1, t2][{x, y}] - Composition[t2, t1][{x, y}]//Simplify考えられる問題 (1)
おもしろい例題 (1)
cow = ExampleData[{"Geometry3D", "Cow"}, "GraphicsComplex"];p = {0, 0, -0.251619};Graphics3D[{EdgeForm[None], Opacity[0.5], Table[{Lighter[ColorData[1, k], 0.5], GeometricTransformation[cow, ScalingTransform[k, {1, 0, 0}, p]]}, {k, 1, 3}]}, Lighting -> "Neutral", ImageSize -> Large, Boxed -> False]Graphics3D[{EdgeForm[None], Opacity[0.5], Table[{Lighter[ColorData[1, k], 0.5], GeometricTransformation[cow, ScalingTransform[k, {0, 1, 0}, p]]}, {k, 1, 3}]}, Lighting -> "Neutral", ImageSize -> Large, Boxed -> False]Graphics3D[{EdgeForm[None], Opacity[0.5], Table[{Lighter[ColorData[1, k], 0.5], GeometricTransformation[cow, ScalingTransform[k, {0, 0, 1}, p]]}, {k, 1, 3}]}, Lighting -> "Neutral", ImageSize -> Large, Boxed -> False]関連するガイド
-
▪
- 幾何学変換
関連するワークフロー
- 3Dグラフィックスの回転・パン・ズームを行う
テキスト
Wolfram Research (2007), ScalingTransform, Wolfram言語関数, https://reference.wolfram.com/language/ref/ScalingTransform.html.
CMS
Wolfram Language. 2007. "ScalingTransform." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ScalingTransform.html.
APA
Wolfram Language. (2007). ScalingTransform. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ScalingTransform.html
BibTeX
@misc{reference.wolfram_2026_scalingtransform, author="Wolfram Research", title="{ScalingTransform}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/ScalingTransform.html}", note=[Accessed: 03-November-2026]}
BibLaTeX
@online{reference.wolfram_2026_scalingtransform, organization={Wolfram Research}, title={ScalingTransform}, year={2007}, url={https://reference.wolfram.com/language/ref/ScalingTransform.html}, note=[Accessed: 03-November-2026]}