Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TVector
Description
See if two planes are coplanar. They are coplanar if the normals are nearly parallel and the planes include the same set of points.
| Name | Coplanar |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Vector.h |
| Include Path | #include "Math/Vector.h" |
static bool Coplanar
(
const TVector < T > & Base1,
const TVector < T > & Normal1,
const TVector < T > & Base2,
const TVector < T > & Normal2,
T ParallelCosineThreshold
)
true if the planes are coplanar, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| Base1 | The base point in the first plane. |
| Normal1 | The normal of the first plane. |
| Base2 | The base point in the second plane. |
| Normal2 | The normal of the second plane. |
| ParallelCosineThreshold | Normals are parallel if absolute value of dot product is greater than or equal to this. |