UniDx
読み取り中…
検索中…
一致する文字列を見つけられません
UniDx::Bounds 構造体

#include <Bounds.h>

公開メンバ関数

 Bounds () noexcept=default
 Bounds (Vector3 center, Vector3 extents) noexcept
constexpr Vector3 size () const noexcept
 サイズ(全長)
constexpr Vector3 min () const noexcept
 最小座標
constexpr Vector3 max () const noexcept
 最大座標
Vector3 ClosestPoint (Vector3 point) const noexcept
 指定点に最も近い点
void Expand (float amount) noexcept
 Boundsを拡張(全体サイズを増やす)
void Expand (Vector3 amount) noexcept
 Boundsを拡張(全体サイズを増やす)
void Encapsulate (Vector3 point) noexcept
 指定点を含むように拡張
void Encapsulate (const Bounds &bounds) noexcept
 指定Boundsを含むように拡張
void SetMinMax (Vector3 min, Vector3 max) noexcept
 min/maxからBoundsを再設定
bool Intersects (const Bounds &bounds) const noexcept
 他のBoundsと交差しているか
float SqrDistance (Vector3 point) const noexcept
 指定点までの二乗距離

公開変数類

Vector3 Center
Vector3 extents

構築子と解体子

◆ Bounds() [1/2]

UniDx::Bounds::Bounds ( )
defaultnoexcept

◆ Bounds() [2/2]

UniDx::Bounds::Bounds ( Vector3 center,
Vector3 extents )
inlinenoexcept

関数詳解

◆ ClosestPoint()

Vector3 UniDx::Bounds::ClosestPoint ( Vector3 point) const
inlinenodiscardnoexcept

指定点に最も近い点

◆ Encapsulate() [1/2]

void UniDx::Bounds::Encapsulate ( const Bounds & bounds)
inlinenoexcept

指定Boundsを含むように拡張

◆ Encapsulate() [2/2]

void UniDx::Bounds::Encapsulate ( Vector3 point)
inlinenoexcept

指定点を含むように拡張

◆ Expand() [1/2]

void UniDx::Bounds::Expand ( float amount)
inlinenoexcept

Boundsを拡張(全体サイズを増やす)

◆ Expand() [2/2]

void UniDx::Bounds::Expand ( Vector3 amount)
inlinenoexcept

Boundsを拡張(全体サイズを増やす)

◆ Intersects()

bool UniDx::Bounds::Intersects ( const Bounds & bounds) const
inlinenodiscardnoexcept

他のBoundsと交差しているか

◆ max()

Vector3 UniDx::Bounds::max ( ) const
inlineconstexprnoexcept

最大座標

◆ min()

Vector3 UniDx::Bounds::min ( ) const
inlineconstexprnoexcept

最小座標

◆ SetMinMax()

void UniDx::Bounds::SetMinMax ( Vector3 min,
Vector3 max )
inlinenoexcept

min/maxからBoundsを再設定

◆ size()

Vector3 UniDx::Bounds::size ( ) const
inlineconstexprnoexcept

サイズ(全長)

◆ SqrDistance()

float UniDx::Bounds::SqrDistance ( Vector3 point) const
inlinenoexcept

指定点までの二乗距離

メンバ詳解

◆ Center

Vector3 UniDx::Bounds::Center

◆ extents

Vector3 UniDx::Bounds::extents

この構造体詳解は次のファイルから抽出されました: