CoordinateBoundingBoxArray[{{xmin,ymin,…},{xmax,ymax,…}}]
各次元で整数ステップの{x,y,…}座標の配列を生成する.
CoordinateBoundingBoxArray[{min,max},d]
各次元にステップ d を使う.
CoordinateBoundingBoxArray[{min,max},{dx,dy,…}]
連続する次元にステップ dx,dy,…を使う.
CoordinateBoundingBoxArray[{min,max},Into[n]]
各次元において n 個の等しいステップに分割する.
CoordinateBoundingBoxArray[{min,max},steps,offsets]
各座標点に使用するオフセットを指定する.
CoordinateBoundingBoxArray[{min,max},steps,offsets,k]
配列を全方向に k 要素分拡張する.
CoordinateBoundingBoxArray
CoordinateBoundingBoxArray[{{xmin,ymin,…},{xmax,ymax,…}}]
各次元で整数ステップの{x,y,…}座標の配列を生成する.
CoordinateBoundingBoxArray[{min,max},d]
各次元にステップ d を使う.
CoordinateBoundingBoxArray[{min,max},{dx,dy,…}]
連続する次元にステップ dx,dy,…を使う.
CoordinateBoundingBoxArray[{min,max},Into[n]]
各次元において n 個の等しいステップに分割する.
CoordinateBoundingBoxArray[{min,max},steps,offsets]
各座標点に使用するオフセットを指定する.
CoordinateBoundingBoxArray[{min,max},steps,offsets,k]
配列を全方向に k 要素分拡張する.
詳細
- CoordinateBoundingBoxArrayは,正則格子上の点についての座標の配列を与える.
- デフォルトの場合,各方向に選ばれる値の列は,最小値から始め最大値に達するまでその方向に相当するステップを繰り返し足すことで得られる.
- オフセットが指定されていない場合,座標は値の列に直接対応する.
- オフセットは絶対距離によって,あるいはScaledを使って与えることができる.Scaled[1/2]は,座標点を各「セル」の中心に置く.
- CoordinateBoundingBoxArrayにおける値はQuantityオブジェクトでよい.
例題
すべて開く すべて閉じる例 (3)
CoordinateBoundingBoxArray[{{3, -1}, {8, 2}}]Graphics[Point[Flatten[%, 1]], Frame -> True]CoordinateBoundingBoxArray[{{3, -1, 0}, {6, 2, Pi}}, {0.7, 1.5, Pi / 2.}]Graphics3D[Point[Flatten[%, 2]]]bounds = {{3, 8}, {-1, 2}};CoordinateBoundingBoxArray[Transpose[bounds], 1, Center]Graphics[Point[Flatten[%, 1]], Frame -> True, GridLines -> Range@@@bounds, PlotRange -> bounds]スコープ (6)
デフォルトの離散化,オフセット,充填で,座標配列のコーナー位置を与える:
CoordinateBoundingBoxArray[{{3, -1, 0}, {8, 2, 2}}]CoordinateBoundingBoxArray[{{3, -2}, {9, 2}}, 2]CoordinateBoundingBoxArray[{{3, -2}, {9, 2}}, {2, 0.5}]引数をQuantityオブジェクトとして与える:
CoordinateBoundingBoxArray[{{Quantity[3, "Meters"], Quantity[-2, "Seconds"]}, {Quantity[9, "Meters"], Quantity[2, "Seconds"]}}, {Quantity[4., "Feet"], Quantity[0.5, "Seconds"]}]Normal[%]corners = {{6, -2}, {16, 4}};CoordinateBoundingBoxArray[corners, 2, Center]Graphics[Point[Flatten[%, 1]], Frame -> True, GridLines -> {Range[6, 16, 2], Range[-2, 4, 2]}, PlotRange -> Transpose[corners]]CoordinateBoundingBoxArray[corners, 2, {0.5, 1.8}]Graphics[Point[Flatten[%, 1]], Frame -> True, GridLines -> {Range[6, 16, 2], Range[-2, 4, 2]}, PlotRange -> Transpose[corners]]Scaledを使って任意の相対オフセットを指定する:
CoordinateBoundingBoxArray[corners, 2, {Scaled[0.25], Scaled[0.9]}]corners = {{3, -1}, {8, 2}};CoordinateBoundingBoxArray[corners, 1, Center, {{-1, 3}, {2, 1}}]Graphics[Point[Flatten[%, 1]], Frame -> True, GridLines -> Range@@@Transpose[corners], PlotRange -> {{-1, 12}, {-5, 6}}]CoordinateBoundingBoxArray[{{3, -1}, {8, 2}}, {Into[3], Into[2]}]Most[Dimensions[%]] - 1特性と関係 (4)
CoordinateBoundingBoxは,0オフセットのコーナー位置を返す:
CoordinateBoundingBoxArray[{{3, -1}, {8, 2}}]CoordinateBoundingBox[%]CoordinateBoundingBoxArray[{{3, -1}, {8, 2}}, 1, Center]CoordinateBoundingBox[%]CoordinateBoundsArrayは,コーナー位置の代りに範囲のリストを使う:
CoordinateBoundsArray[{{3, 8}, {-1, 2}, {2, 4}}]% === CoordinateBoundingBoxArray[{{3, -1, 2}, {8, 2, 4}}]CoordinateBoundingBoxArrayは,たとえ一次元であっても,座標のリストの配列を返す:
CoordinateBoundingBoxArray[{{0}, {10}}, 2]Rangeはそれら個別の座標のリストを返す:
Range[0, 10, 2]CoordinateBoundingBoxArrayは,Intoを使って下位区分の数を指定する:
CoordinateBoundingBoxArray[{{0}, {10}}, Into[5]]Subdivideは,それら個別の座標のリストを返す:
Subdivide[0, 10, 5]関連するガイド
-
▪
- リストの構築 ▪
- 規則的な配列と座標の配列
テキスト
Wolfram Research (2015), CoordinateBoundingBoxArray, Wolfram言語関数, https://reference.wolfram.com/language/ref/CoordinateBoundingBoxArray.html.
CMS
Wolfram Language. 2015. "CoordinateBoundingBoxArray." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CoordinateBoundingBoxArray.html.
APA
Wolfram Language. (2015). CoordinateBoundingBoxArray. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CoordinateBoundingBoxArray.html
BibTeX
@misc{reference.wolfram_2026_coordinateboundingboxarray, author="Wolfram Research", title="{CoordinateBoundingBoxArray}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/CoordinateBoundingBoxArray.html}", note=[Accessed: 11-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_coordinateboundingboxarray, organization={Wolfram Research}, title={CoordinateBoundingBoxArray}, year={2015}, url={https://reference.wolfram.com/language/ref/CoordinateBoundingBoxArray.html}, note=[Accessed: 11-September-2026]}