Navigation
API > API/Plugins > API/Plugins/GeometryAlgorithms
References
Module | GeometryAlgorithms |
Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/GeometryAlgorithms/Public/FitCapsule3.h |
Include | #include "FitCapsule3.h" |
Syntax
template<typename RealType>
class TFitCapsule3
Remarks
Fit a Capsule to a set of 3D points. Currently solved by using least-squares to fit a line to the point set. This does not guarantee that the capsule is the minimal possible volume.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bResultValid | Set to true in Solve() on success |
![]() |
TCapsule3< RealType > | Capsule | The capsule computed in Solve() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
bool | Solve
(
int32 NumPoints, |
Solve variants Calculate a Capsule that contains the given Point Set and store in Output variables |
![]() ![]() |
bool | Solve
(
int32 NumPoints, |
Calculate a Capsule that contains the given Point Set and return in CapsuleOut |