|
| SIV3D_NODISCARD_CXX20 | Vector3D ()=default |
| |
| SIV3D_NODISCARD_CXX20 | Vector3D (const Vector3D &)=default |
| |
| constexpr SIV3D_NODISCARD_CXX20 | Vector3D (value_type _x, value_type _y, value_type _z) noexcept |
| |
| template<class X , class Y , class Z > |
| constexpr SIV3D_NODISCARD_CXX20 | Vector3D (X _x, Y _y, Z _z) noexcept |
| |
| template<class U > |
| constexpr SIV3D_NODISCARD_CXX20 | Vector3D (const Vector3D< U > &v) noexcept |
| |
| template<class Z > |
| constexpr SIV3D_NODISCARD_CXX20 | Vector3D (const Vector2D< value_type > &xy, Z _z) noexcept |
| |
| template<class X > |
| constexpr SIV3D_NODISCARD_CXX20 | Vector3D (X _x, const Vector2D< value_type > &yz) noexcept |
| |
| constexpr value_type | elem (size_t index) const noexcept |
| |
| value_type * | getPointer () noexcept |
| |
| const value_type * | getPointer () const noexcept |
| |
| constexpr Vector3D & | operator= (const Vector3D &)=default |
| |
| constexpr Vector3D | operator+ () const noexcept |
| |
| constexpr Vector3D | operator- () const noexcept |
| |
| constexpr Vector3D | operator+ (Vector3D v) const noexcept |
| |
| constexpr Vector3D | operator- (Vector3D v) const noexcept |
| |
| constexpr Vector3D | operator* (value_type s) const noexcept |
| |
| constexpr Vector3D | operator* (Vector3D v) const noexcept |
| |
| constexpr Vector3D | operator/ (value_type s) const noexcept |
| |
| constexpr Vector3D | operator/ (Vector3D v) const noexcept |
| |
| constexpr Vector3D & | operator+= (Vector3D v) noexcept |
| |
| constexpr Vector3D & | operator-= (Vector3D v) noexcept |
| |
| constexpr Vector3D & | operator*= (value_type s) noexcept |
| |
| constexpr Vector3D & | operator*= (Vector3D v) noexcept |
| |
| constexpr Vector3D & | operator/= (value_type s) noexcept |
| |
| constexpr Vector3D & | operator/= (Vector3D v) noexcept |
| |
| constexpr bool | epsilonEquals (Vector3D other, value_type epsilon) const noexcept |
| |
| constexpr bool | hasSameDirection (Vector3D other) const noexcept |
| |
| constexpr bool | hasOppositeDirection (Vector3D other) const noexcept |
| |
| constexpr bool | isZero () const noexcept |
| | ゼロベクトルであるかを返します。 More...
|
| |
| bool | hasNaN () const noexcept |
| | NaN である成分を持つかを返します。 More...
|
| |
| constexpr value_type | minComponent () const noexcept |
| | 最小の成分を返します。 More...
|
| |
| constexpr value_type | maxComponent () const noexcept |
| | 最大の成分を返します。 More...
|
| |
| constexpr void | clear () noexcept |
| | 各成分を 0 にセットします。 More...
|
| |
| constexpr Vector3D & | set (value_type _x, value_type _y, value_type _z) noexcept |
| | 各成分を変更します。 More...
|
| |
| constexpr Vector3D & | set (Vector3D v) noexcept |
| | ベクトルを変更します。 More...
|
| |
| constexpr Vector3D | movedBy (value_type _x, value_type _y, value_type _z) const noexcept |
| |
| constexpr Vector3D | movedBy (Vector3D v) const noexcept |
| |
| constexpr Vector3D & | moveBy (value_type _x, value_type _y, value_type _z) noexcept |
| |
| constexpr Vector3D & | moveBy (Vector3D v) noexcept |
| |
| Vector3D | clamped (const Box &box) const noexcept |
| |
| Vector3D & | clamp (const Box &box) noexcept |
| |
| constexpr value_type | dot (Vector3D v) const noexcept |
| |
| constexpr Vector3D | cross (Vector3D v) const noexcept |
| |
| value_type | angleTo (Vector3D v) const noexcept |
| |
| constexpr Vector3D | projectOnVector (Vector3D v) const noexcept |
| |
| constexpr Vector3D | projectOnPlane (Vector3D planeNormal) const noexcept |
| |
| value_type | length () const noexcept |
| | ベクトルの大きさ(長さ)を返します。 More...
|
| |
| constexpr value_type | lengthSq () const noexcept |
| | ベクトルの大きさ(長さ)の二乗を返します。 More...
|
| |
| value_type | invLength () const noexcept |
| | ベクトルの長さの逆数 (1 / length())を返します。 More...
|
| |
| constexpr value_type | manhattanLength () const noexcept |
| | 原点からこの位置ベクトルまでの 3 次元マンハッタン距離を返します。 More...
|
| |
| constexpr value_type | manhattanDistanceFrom (value_type _x, value_type _y, value_type _z) const noexcept |
| | 別の位置ベクトルからの 3 次元マンハッタン距離を返します。 More...
|
| |
| constexpr value_type | manhattanDistanceFrom (Vector3D v) const noexcept |
| | 別の位置ベクトルからの 3 次元マンハッタン距離を返します。 More...
|
| |
| value_type | distanceFrom (value_type _x, value_type _y, value_type _z) const noexcept |
| | 別の位置ベクトルからの距離を返します。 More...
|
| |
| value_type | distanceFrom (Vector3D v) const noexcept |
| | 別の位置ベクトルからの距離を返します。 More...
|
| |
| constexpr value_type | distanceFromSq (value_type _x, value_type _y, value_type _z) const noexcept |
| | 別の位置ベクトルからの距離の二乗を返します。 More...
|
| |
| constexpr value_type | distanceFromSq (Vector3D v) const noexcept |
| | 別の位置ベクトルからの距離の二乗を返します。 More...
|
| |
| Vector3D | withLength (value_type _length) const noexcept |
| | 向きが同じで大きさ(長さ)を変更した新しいベクトルを返します。 More...
|
| |
| Vector3D & | setLength (value_type _length) noexcept |
| | ベクトルの向きはそのままで、大きさ(長さ)だけを変更します。 More...
|
| |
| Vector3D | limitLength (value_type maxLength) const noexcept |
| | 向きが同じで大きさ(長さ)を一定の値以下にした新しいベクトルを返します。 More...
|
| |
| Vector3D & | limitLengthSelf (value_type maxLength) noexcept |
| | ベクトルの向きはそのままで、大きさ(長さ)を一定の値以下にします More...
|
| |
| Vector3D | normalized () const noexcept |
| | 正規化した(大きさを 1 にした)ベクトルを返します。 More...
|
| |
| Vector3D & | normalize () noexcept |
| | 自身を正規化(大きさを 1 に)します。 More...
|
| |
| constexpr Vector3D | getMidpoint (Vector3D other) const noexcept |
| |
| constexpr Vector3D | lerp (Vector3D other, value_type f) const noexcept |
| |
| size_t | hash () const noexcept |
| |
| constexpr Vector2D< value_type > | xx () const noexcept |
| |
| constexpr Vector2D< value_type > | xy () const noexcept |
| |
| constexpr Vector2D< value_type > | xz () const noexcept |
| |
| constexpr Vector2D< value_type > | yx () const noexcept |
| |
| constexpr Vector2D< value_type > | yy () const noexcept |
| |
| constexpr Vector2D< value_type > | yz () const noexcept |
| |
| constexpr Vector2D< value_type > | zx () const noexcept |
| |
| constexpr Vector2D< value_type > | zy () const noexcept |
| |
| constexpr Vector2D< value_type > | zz () const noexcept |
| |
| constexpr Vector3D | xxx () const noexcept |
| |
| constexpr Vector3D | xyz () const noexcept |
| |
| constexpr Vector3D | xzy () const noexcept |
| |
| constexpr Vector3D | yyy () const noexcept |
| |
| constexpr Vector3D | yxz () const noexcept |
| |
| constexpr Vector3D | yzx () const noexcept |
| |
| constexpr Vector3D | zzz () const noexcept |
| |
| constexpr Vector3D | zxy () const noexcept |
| |
| constexpr Vector3D | zyx () const noexcept |
| |
| constexpr Vector4D< Type > | xyz0 () const noexcept |
| |
| constexpr Vector4D< Type > | xyz1 () const noexcept |
| |
|
| static constexpr Vector3D | Zero () noexcept |
| | Vector3D{ 0, 0, 0 } を返します。 More...
|
| |
| static constexpr Vector3D | One () noexcept |
| | Vector3D{ 1, 1, 1 } を返します。 More...
|
| |
| static constexpr Vector3D | All (value_type value=1) noexcept |
| | Vector3D{ value, value, value } を返します。 More...
|
| |
| static constexpr Vector3D | UnitX () noexcept |
| | Vector3D{ 1, 0, 0 } を返します。 More...
|
| |
| static constexpr Vector3D | UnitY () noexcept |
| | Vector3D{ 0, 1, 0 } を返します。 More...
|
| |
| static constexpr Vector3D | UnitZ () noexcept |
| | Vector3D{ 0, 0, 1 } を返します。 More...
|
| |
| static constexpr Vector3D | Left (value_type length=1) noexcept |
| | Vector3D{ -length, 0, 0 } を返します。 More...
|
| |
| static constexpr Vector3D | Right (value_type length=1) noexcept |
| | Vector3D{ length, 0, 0 } を返します。 More...
|
| |
| static constexpr Vector3D | Up (value_type length=1) noexcept |
| | Vector3D{ 0, length, 0 } を返します。 More...
|
| |
| static constexpr Vector3D | Down (value_type length=1) noexcept |
| | Vector3D{ 0, -length, 0 } を返します。 More...
|
| |
| static constexpr Vector3D | Forward (value_type length=1) noexcept |
| | Vector3D{ 0, 0, length } を返します。 More...
|
| |
| static constexpr Vector3D | Backward (value_type length=1) noexcept |
| | Vector3D{ 0, 0, -length } を返します。 More...
|
| |
| static void | _Formatter (FormatData &formatData, const Vector3D &value) |
| |