UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Chaos::FGJKSphere Class Reference

#include <GJKShape.h>

Public Member Functions

 FGJKSphere (const FVec3 InCenter, const FReal InRadius)
 
const FVec3GetCenter () const
 
FReal GetRadius () const
 
FVec3 InverseTransformPositionNoScale (const FVec3 &V) const
 
const FVec3SupportCore (const FVec3 &Direction, const FReal InMargin, FReal *MaxMarginDelta, int32 &VertexIndex) const
 
FReal GetMargin () const
 
FString ToString () const
 

Detailed Description

A sphere with minimal API for use in GJK/EPA. Equivalent to TGJKCoreShape<FImplicitSphere3> but avoids calls to the implicit

Constructor & Destructor Documentation

◆ FGJKSphere()

Chaos::FGJKSphere::FGJKSphere ( const FVec3  InCenter,
const FReal  InRadius 
)
inline

Member Function Documentation

◆ GetCenter()

const FVec3 & Chaos::FGJKSphere::GetCenter ( ) const
inline

◆ GetMargin()

FReal Chaos::FGJKSphere::GetMargin ( ) const
inline

◆ GetRadius()

FReal Chaos::FGJKSphere::GetRadius ( ) const
inline

◆ InverseTransformPositionNoScale()

FVec3 Chaos::FGJKSphere::InverseTransformPositionNoScale ( const FVec3 V) const
inline

◆ SupportCore()

const FVec3 & Chaos::FGJKSphere::SupportCore ( const FVec3 Direction,
const FReal  InMargin,
FReal MaxMarginDelta,
int32 VertexIndex 
) const
inline

◆ ToString()

FString Chaos::FGJKSphere::ToString ( ) const
inline

The documentation for this class was generated from the following file: