UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Geometry::TIntrTriangle2AxisAlignedBox2< Real > Class Template Reference

#include <IntrTriangle2AxisAlignedBox2.h>

Public Member Functions

 TIntrTriangle2AxisAlignedBox2 ()
 
 TIntrTriangle2AxisAlignedBox2 (TTriangle2< Real > Triangle, TAxisAlignedBox2< Real > Box, bool bTriangleIsOriented=true)
 
TTriangle2< Real > GetTriangle () const
 
bool IsTriangleOriented () const
 
TTriangle2< Real > GetBox () const
 
void SetTriangle (const TTriangle2< Real > &TriangleIn)
 
void SetTriangleOriented (const bool bIsOrientedIn)
 
void SetBox (const TAxisAlignedBox2< Real > &BoxIn)
 
bool Test ()
 

Protected Attributes

TTriangle2< Real > Triangle
 
TAxisAlignedBox2< Real > Box
 
bool bTriangleIsOriented = true
 

Detailed Description

template<typename Real>
class UE::Geometry::TIntrTriangle2AxisAlignedBox2< Real >

Compute intersection between a 2D triangle and a 2D axis-aligned box

Constructor & Destructor Documentation

◆ TIntrTriangle2AxisAlignedBox2() [1/2]

template<typename Real >
UE::Geometry::TIntrTriangle2AxisAlignedBox2< Real >::TIntrTriangle2AxisAlignedBox2 ( )
inline

◆ TIntrTriangle2AxisAlignedBox2() [2/2]

template<typename Real >
UE::Geometry::TIntrTriangle2AxisAlignedBox2< Real >::TIntrTriangle2AxisAlignedBox2 ( TTriangle2< Real >  Triangle,
TAxisAlignedBox2< Real >  Box,
bool  bTriangleIsOriented = true 
)
inline

Member Function Documentation

◆ GetBox()

template<typename Real >
TTriangle2< Real > UE::Geometry::TIntrTriangle2AxisAlignedBox2< Real >::GetBox ( ) const
inline

◆ GetTriangle()

template<typename Real >
TTriangle2< Real > UE::Geometry::TIntrTriangle2AxisAlignedBox2< Real >::GetTriangle ( ) const
inline

◆ IsTriangleOriented()

template<typename Real >
bool UE::Geometry::TIntrTriangle2AxisAlignedBox2< Real >::IsTriangleOriented ( ) const
inline

◆ SetBox()

template<typename Real >
void UE::Geometry::TIntrTriangle2AxisAlignedBox2< Real >::SetBox ( const TAxisAlignedBox2< Real > &  BoxIn)
inline

◆ SetTriangle()

template<typename Real >
void UE::Geometry::TIntrTriangle2AxisAlignedBox2< Real >::SetTriangle ( const TTriangle2< Real > &  TriangleIn)
inline

◆ SetTriangleOriented()

template<typename Real >
void UE::Geometry::TIntrTriangle2AxisAlignedBox2< Real >::SetTriangleOriented ( const bool  bIsOrientedIn)
inline

◆ Test()

template<typename Real >
bool UE::Geometry::TIntrTriangle2AxisAlignedBox2< Real >::Test ( )
inline

Member Data Documentation

◆ Box

template<typename Real >
TAxisAlignedBox2<Real> UE::Geometry::TIntrTriangle2AxisAlignedBox2< Real >::Box
protected

◆ bTriangleIsOriented

template<typename Real >
bool UE::Geometry::TIntrTriangle2AxisAlignedBox2< Real >::bTriangleIsOriented = true
protected

◆ Triangle

template<typename Real >
TTriangle2<Real> UE::Geometry::TIntrTriangle2AxisAlignedBox2< Real >::Triangle
protected

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