Navigation
API > API/Runtime > API/Runtime/GeometryCore
3D Halfspace stored as parameters to Plane Equation (Normal, Normal.Dot(PointOnPlane)) The Normal points "into" the halfspace, ie X is inside if (Normal.Dot(X) - Constant) >= 0
| Name | THalfspace3 |
| Type | struct |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/HalfspaceTypes.h |
| Include Path | #include "HalfspaceTypes.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Public/Intersection/IntersectionQueries3.h |
Syntax
template<typename T>
struct THalfspace3
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
THalfspace3 () |
HalfspaceTypes.h | ||
THalfspace3
(
const TVector< T >& PlaneNormalIn, |
HalfspaceTypes.h | ||
THalfspace3
(
const TVector< T >& PlaneNormalIn, |
Construct a Halfspace from the plane Normal and a Point lying on the plane | HalfspaceTypes.h | |
THalfspace3
(
const TVector< T >& P0, |
Construct a Halfspace from three points | HalfspaceTypes.h | |
THalfspace3
(
T NormalX, |
HalfspaceTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Constant | T | Distance along Normal that defines position of Halfspace | HalfspaceTypes.h | |
| Normal | TVector< T > | Normal vector of 3D plane that defines Halfspace | HalfspaceTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Contains
(
const TVector< T >& Point |
HalfspaceTypes.h |