UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
GeometryCollection::Facades::FBoundsFacade Class Reference

#include <CollectionBoundsFacade.h>

Public Member Functions

CHAOS_API FBoundsFacade (FManagedArrayCollection &InSelf)
 
CHAOS_API FBoundsFacade (const FManagedArrayCollection &InSelf)
 
CHAOS_API void DefineSchema ()
 
bool IsConst () const
 
CHAOS_API bool IsValid () const
 
CHAOS_API void UpdateBoundingBox ()
 
const TManagedArray< FBox > & GetBoundingBoxes () const
 
CHAOS_API TArray< FVectorGetCentroids () const
 
CHAOS_API FBox GetBoundingBoxInCollectionSpace () const
 
const TManagedArray< int32 > & GetTransformToGeometryIndex () const
 
CHAOS_API FSphere GetBoundingSphereInCollectionSpace ()
 
CHAOS_API FBox ComputeBoundingBox (const TArray< FVector > InPoints)
 

Static Public Member Functions

static CHAOS_API TArray< FVectorGetBoundingBoxVertexPositions (const FBox &InBox)
 

Protected Member Functions

void UpdateTransformBasedBoundingBox ()
 
void UpdateVertexBasedBoundingBox ()
 

Detailed Description

FBoundsFacade

Defines common API for calculating the bounding box on a collection

Constructor & Destructor Documentation

◆ FBoundsFacade() [1/2]

GeometryCollection::Facades::FBoundsFacade::FBoundsFacade ( FManagedArrayCollection InSelf)

FBoundsFacade Constuctor

Parameters
FManagedArrayCollection: Collection input

◆ FBoundsFacade() [2/2]

GeometryCollection::Facades::FBoundsFacade::FBoundsFacade ( const FManagedArrayCollection InSelf)

Member Function Documentation

◆ ComputeBoundingBox()

FBox GeometryCollection::Facades::FBoundsFacade::ComputeBoundingBox ( const TArray< FVector InPoints)

Compute boundingBox for a point cloud

◆ DefineSchema()

void GeometryCollection::Facades::FBoundsFacade::DefineSchema ( )

Create the facade attributes.

◆ GetBoundingBoxes()

const TManagedArray< FBox > & GeometryCollection::Facades::FBoundsFacade::GetBoundingBoxes ( ) const
inline

BoundingBox access

◆ GetBoundingBoxInCollectionSpace()

FBox GeometryCollection::Facades::FBoundsFacade::GetBoundingBoxInCollectionSpace ( ) const

BoundingBox for the whole collection in Collection space

◆ GetBoundingBoxVertexPositions()

TArray< FVector > GeometryCollection::Facades::FBoundsFacade::GetBoundingBoxVertexPositions ( const FBox InBox)
static

Returns the positions of the vertices of an FBox

◆ GetBoundingSphereInCollectionSpace()

FSphere GeometryCollection::Facades::FBoundsFacade::GetBoundingSphereInCollectionSpace ( )

BoundingSphere for the whole collection in Collection space

◆ GetCentroids()

TArray< FVector > GeometryCollection::Facades::FBoundsFacade::GetCentroids ( ) const

Get center of bounding boxes warning : this is indexed on the geometry group not the transform group

◆ GetTransformToGeometryIndex()

const TManagedArray< int32 > & GeometryCollection::Facades::FBoundsFacade::GetTransformToGeometryIndex ( ) const
inline

TransformToGeometryIndex Access

◆ IsConst()

bool GeometryCollection::Facades::FBoundsFacade::IsConst ( ) const
inline

Is the facade defined constant.

◆ IsValid()

bool GeometryCollection::Facades::FBoundsFacade::IsValid ( ) const

Is the Facade defined on the collection?

◆ UpdateBoundingBox()

void GeometryCollection::Facades::FBoundsFacade::UpdateBoundingBox ( )

UpdateBoundingBox

◆ UpdateTransformBasedBoundingBox()

void GeometryCollection::Facades::FBoundsFacade::UpdateTransformBasedBoundingBox ( )
protected

Transform based bounds evaluation, where the vertices are nested within a transform

◆ UpdateVertexBasedBoundingBox()

void GeometryCollection::Facades::FBoundsFacade::UpdateVertexBasedBoundingBox ( )
protected

Vertex based bounds evaluation, where the vertices are NOT nested within a transform


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