TMinVolumeSphere3

Calculate a Minimal-Volume Sphere for a set of 3D points.

Windows
MacOS
Linux

Warnings

  • Currently this processes input points in a randomized order so the results are not strictly deterministic. In particular if it fails you might try calling it again...

References

Module

GeometryAlgorithms

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometryAlgorithms/Public/MinVolumeSphere3.h

Include

#include "MinVolumeSphere3.h"

Syntax

template<typename RealType>
class TMinVolumeSphere3

Remarks

Calculate a Minimal-Volume Sphere for a set of 3D points.

Currently this processes input points in a randomized order so the results are not strictly deterministic. In particular if it fails you might try calling it again...

Variables

Name Description

Protected variable

TPimplPtr< TMin...

 

Internal

Functions

Name Description

Public function

void

 

GetResult

(
    TSphere3< RealType >& SphereOut
)

Protected function

void

 

Initialize

(
    int32 NumPoints,
    bool bUseExactComputation
)

Public function Const

bool

 

IsSolutionAvailable()

Public function

bool

 

Solve

(
    int32 NumPoints,
    TFunctionRef< FVector3< RealType >(...,
    bool bUseExactComputation
)

Calculate the minimal sphere for the given point set.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss