TOrientedBox3::EnumerateCorners

Call CornerPointFunc(FVector3) for each of the 8 box corners.

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/OrientedBoxTypes.h

Include

#include "OrientedBoxTypes.h"

Syntax

template<typename PointFuncType>
void EnumerateCorners
(
    PointFuncType CornerPointFunc
) const

Remarks

Call CornerPointFunc(FVector3) for each of the 8 box corners. Order is the same as GetCorner(X). This is more efficient than calling GetCorner(X) because the Rotation matrix is only computed once.

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