struct MagesMath::FPointNormalPlane

Overview

#include <MagesMathUtility.h>

struct FPointNormalPlane
{
    // fields

    FVector N;
    float D;

    // construction

    FPointNormalPlane();
    FPointNormalPlane(FVector N, float D);
    FPointNormalPlane(FVector P1, FVector P2, FVector P3);

    // methods

    FORCEINLINE FVector GetPoint() const;
};

Detailed Documentation

Construction

FPointNormalPlane(FVector N, float D)

Construct Plane from Point-Normal

FPointNormalPlane(FVector P1, FVector P2, FVector P3)

Construct Plane from 3 Points

Methods

FORCEINLINE FVector GetPoint() const

Get a point on the plane; not randomly, just get a point