= 0" />

THalfspace3

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

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

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

Include

#include "HalfspaceTypes.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

Name Description

Public variable

T

 

Constant

Distance along Normal that defines position of Halfspace

Public variable

FVector3< T >

 

Normal

Normal vector of 3D plane that defines Halfspace

Constructors

Name Description

Public function

THalfspace3()

Public function

THalfspace3

(
    const FVector3< T >& PlaneNormalIn,
    T ConstantIn
)

Public function

THalfspace3

(
    const FVector3< T >& PlaneNormalIn,
    const FVector3< T >& PlanePoint
)

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

Public function

THalfspace3

(
    const FVector3< T >& P0,
    const FVector3< T >& P1,
    const FVector3< T >& P2
)

Construct a Halfspace from three points

Public function

THalfspace3

(
    T NormalX,
    T NormalY,
    T NormalZ,
    T ConstantIn
)

Functions

Name Description

Public function Const

bool

 

Contains

(
    const FVector3< T >& Point
)

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