UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Geometry::THalfspace3< T > Struct Template Reference

#include <HalfspaceTypes.h>

Public Member Functions

 THalfspace3 ()=default
 
 THalfspace3 (const TVector< T > &PlaneNormalIn, T ConstantIn)
 
 THalfspace3 (T NormalX, T NormalY, T NormalZ, T ConstantIn)
 
 THalfspace3 (const TVector< T > &PlaneNormalIn, const TVector< T > &PlanePoint)
 
 THalfspace3 (const TVector< T > &P0, const TVector< T > &P1, const TVector< T > &P2)
 
bool Contains (const TVector< T > &Point) const
 

Public Attributes

TVector< T > Normal = TVector<T>::UnitY()
 
Constant = (T)0
 

Constructor & Destructor Documentation

◆ THalfspace3() [1/5]

template<typename T >
UE::Geometry::THalfspace3< T >::THalfspace3 ( )
default

◆ THalfspace3() [2/5]

template<typename T >
UE::Geometry::THalfspace3< T >::THalfspace3 ( const TVector< T > &  PlaneNormalIn,
ConstantIn 
)
inline

◆ THalfspace3() [3/5]

template<typename T >
UE::Geometry::THalfspace3< T >::THalfspace3 ( NormalX,
NormalY,
NormalZ,
ConstantIn 
)
inline

◆ THalfspace3() [4/5]

template<typename T >
UE::Geometry::THalfspace3< T >::THalfspace3 ( const TVector< T > &  PlaneNormalIn,
const TVector< T > &  PlanePoint 
)
inline

Construct a Halfspace from the plane Normal and a Point lying on the plane

◆ THalfspace3() [5/5]

template<typename T >
UE::Geometry::THalfspace3< T >::THalfspace3 ( const TVector< T > &  P0,
const TVector< T > &  P1,
const TVector< T > &  P2 
)
inline

Construct a Halfspace from three points

Member Function Documentation

◆ Contains()

template<typename T >
bool UE::Geometry::THalfspace3< T >::Contains ( const TVector< T > &  Point) const
inline
Returns
true if Halfspace contains given Point

Member Data Documentation

◆ Constant

template<typename T >
T UE::Geometry::THalfspace3< T >::Constant = (T)0

Distance along Normal that defines position of Halfspace

◆ Normal

template<typename T >
TVector<T> UE::Geometry::THalfspace3< T >::Normal = TVector<T>::UnitY()

Normal vector of 3D plane that defines Halfspace


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