nlib
|
3次元空間上の球を扱う静的メンバ関数が集められたクラスです。このクラスはインスタンス化できません。 [詳解]
#include "nn/nlib/simd/SimdGeometry.h"
静的公開メンバ関数 | |
static SimdSphere | FromPoints (const Float3 *points, size_t count) noexcept |
count 個の点を包む球を計算します。 [詳解] | |
static SimdSphere | Merge (SimdSphereArg sphere0, SimdSphereArg sphere1) noexcept |
2つの球を包む最小の球を計算します。 [詳解] | |
static float | GetRadius (SimdSphereArg sphere) noexcept |
球の半径を取得します。 [詳解] | |
static SimdSphere | SetRadius (SimdSphereArg sphere, float radius) noexcept |
与えられた球の半径を変更して返します。 [詳解] | |
static SimdVector | GetCenter (SimdSphereArg sphere) noexcept |
球の中心を返します。 [詳解] | |
static SimdSphere | SetCenter (SimdSphereArg sphere, SimdVectorArg center) noexcept |
与えられた球の中心を変更して返します。 [詳解] | |
static SimdSphere | Transform (SimdSphereArg sphere, SimdMatrixArg m) noexcept |
球を行列により変換した図形を包む最小の球を計算します。 [詳解] | |
3次元空間上の球を扱う静的メンバ関数が集められたクラスです。このクラスはインスタンス化できません。
SimdGeometry.h の 40 行目に定義があります。
|
staticnoexcept |
count
個の点を包む球を計算します。
[in] | points | 3次元空間上の点の集合が格納された領域へのポインタ |
[in] | count | 点の数 |
|
staticnoexcept |
球の中心を返します。
[in] | sphere | 3次元空間上の球 |
|
staticnoexcept |
球の半径を取得します。
[in] | sphere | 3次元空間上の球 |
|
staticnoexcept |
2つの球を包む最小の球を計算します。
[in] | sphere0 | 3次元空間上の球 |
[in] | sphere1 | 3次元空間上の球 |
|
staticnoexcept |
与えられた球の中心を変更して返します。
[in] | sphere | 3次元空間上の球 |
[in] | center | 新しい中心座標 |
|
staticnoexcept |
与えられた球の半径を変更して返します。
[in] | sphere | 球 |
[in] | radius | 新しい半径 |
|
staticnoexcept |
球を行列により変換した図形を包む最小の球を計算します。
[in] | sphere | 3次元空間上の球 |
[in] | m | 3D変換行列 |
© 2013, 2014, 2015 Nintendo Co., Ltd. All rights reserved.