Navigation
API > API/Runtime > API/Runtime/GeometryCore
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/HalfspaceTypes.h |
| Include | #include "HalfspaceTypes.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Public/Intersection/IntersectionQueries3.h |
Syntax
template<typename T>
struct THalfspace3
Remarks
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
Variables
| Type | Name | Description | |
|---|---|---|---|
| T | Constant | Distance along Normal that defines position of Halfspace | |
| TVector< T > | Normal | Normal vector of 3D plane that defines Halfspace |
Constructors
| Type | Name | Description | |
|---|---|---|---|
THalfspace3 () |
|||
THalfspace3
(
const TVector< T >& PlaneNormalIn, |
|||
THalfspace3
(
const TVector< T >& PlaneNormalIn, |
Construct a Halfspace from the plane Normal and a Point lying on the plane | ||
THalfspace3
(
const TVector< T >& P0, |
Construct a Halfspace from three points | ||
THalfspace3
(
T NormalX, |