Navigation
API > API/Runtime > API/Runtime/GeometryCore
| Name | TPlane3 |
| Type | struct |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/PlaneTypes.h |
| Include Path | #include "PlaneTypes.h" |
Syntax
template<typename RealType>
struct TPlane3
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TPlane3 () |
PlaneTypes.h | ||
TPlane3
(
const FPlane& Plane |
PlaneTypes.h | ||
TPlane3
(
const UE::Math::TVector< RealType >& Normal, |
PlaneTypes.h | ||
TPlane3
(
const UE::Math::TVector< RealType >& Normal, |
N is specified, c = Dot(N,P) where P is a point on the plane. | PlaneTypes.h | |
TPlane3
(
const UE::Math::TVector< RealType >& P0, |
N = Cross(P1-P0,P2-P0)/Length(Cross(P1-P0,P2-P0)), c = Dot(N,P0) where P0, P1, P2 are points on the plane. | PlaneTypes.h |
Enums
Public
| Name | Remarks |
|---|---|
| EClipSegmentType |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Constant | RealType | PlaneTypes.h | ||
| Normal | TVector< RealType > | PlaneTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EClipSegmentType ClipSegment
(
UE::Math::TVector< RealType >& Point0, |
Clip line segment defined by two points against plane. | PlaneTypes.h | |
double DistanceTo
(
const UE::Math::TVector< RealType >& P |
Compute d = Dot(N,P)-c where N is the plane normal and c is the plane constant. | PlaneTypes.h | |
bool FindLineIntersection
(
const UE::Math::TVector< RealType >& LineOrigin, |
Compute intersection of Line with Plane | PlaneTypes.h | |
void InverseTransform
(
const TTransform< RealType >& Tr |
Transform the plane by the inverse of the given transform | PlaneTypes.h | |
void Transform
(
const TTransform< RealType >& Tr |
Transform the plane by the given transform | PlaneTypes.h | |
int WhichSide
(
const UE::Math::TVector< RealType >& P |
The "positive side" of the plane is the half space to which the plane normal points. | PlaneTypes.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator FPlane() |
PlaneTypes.h |