Navigation
API > API/Runtime > API/Runtime/GeometryCore
Classes
| Type | Name | Description | |
|---|---|---|---|
| FDynamicGraph | |||
| FDynamicGraph2 | |||
| FDynamicGraph3 | |||
| FDynamicGraphN | Implementation of DGraph that has no dimensionality, ie no data stored for vertices besides indices. | ||
| TPlanarComplex |
Typedefs
| Name | Description |
|---|---|
| FDynamicGraph2d | |
| FDynamicGraph3d | |
| FGeneralPolygon2d | |
| FGeneralPolygon2f | |
| FPlanarComplexd | |
| FPlanarComplexf |
Functions
| Type | Name | Description | |
|---|---|---|---|
| RealType | UE::Geometry::CurveUtil::ArcLength
(
const TArrayView< const VectorType >& Vertices, |
||
| void | UE::Geometry::CurveUtil::ClipConvexToBounds
(
TArray< VectorType >& Vertices, |
Use the Sutherland–Hodgman algorithm to clip the vertices to the given bounds Note if the path/polygon is concave, this may leave overlapping edges at the boundary. | |
| bool | UE::Geometry::CurveUtil::ClipConvexToPlane
(
TArray< VectorType >& Vertices, |
Use the Sutherland–Hodgman algorithm to clip the vertices to the given plane Note if the path/polygon is concave, this may leave overlapping edges at the boundary. | |
| bool | UE::Geometry::CurveUtil::Contains2
(
const TArrayView< const VectorType >& Vertices, |
||
| int | UE::Geometry::CurveUtil::FindNearestIndex
(
const TArrayView< const VectorType >& Vertices, |
||
| VectorType | UE::Geometry::CurveUtil::GetNormal_FaceAvg2
(
const TArrayView< const VectorType >& Vertices, |
Construct a normal at a vertex of the Polygon by averaging the adjacent face normals. | |
| void | UE::Geometry::CurveUtil::GetPrevNext
(
const TArrayView< const VectorType >& Vertices, |
Curve utility functions Get (by reference) the vertices surrounding the given vertex index If bLoop is false and the Prev or Next vertex would be out of bounds, the vertex at Idx is used instead. | |
| void | UE::Geometry::CurveUtil::GetVectorsToPrevNext
(
const TArrayView< const VectorType >& Vertices, |
Get (by reference) vectors pointing toward the given vertex index, from its surrounding vertices If bLoop is false and the Prev or Next vertex would be out of bounds, a zero vector is used instead | |
| void | UE::Geometry::CurveUtil::GetVectorsToPrevNext
(
const TArrayView< const VectorType >& Vertices, |
Get (by reference) vectors pointing toward the given vertex index, from its surrounding vertices If bLoop is false and the Prev or Next vertex would be out of bounds, a zero vector is used instead | |
| void | UE::Geometry::CurveUtil::InPlaceSmooth
(
TArrayView< VectorType > Vertices, |
Smooth vertices in-place (will not produce a symmetric result, but does not require extra buffer) | |
| bool | UE::Geometry::CurveUtil::IsConvex2
(
const TArrayView< const VectorType > Vertices, |
Tests closed, 2D curve for convexity, with an optional tolerance allowing for approximately-collinear points Note that tolerance is per vertex angle, so a very-finely-sampled smooth concavity could be reported as convex | |
| void | UE::Geometry::CurveUtil::IterativeSmooth
(
TArrayView< VectorType > Vertices, |
Smooth set of vertices using extra buffer | |
| bool | UE::Geometry::CurveUtil::ProjectPointInsideConvexPolygon
(
const TArrayView< const TVector2< RealType > > Vertices, |
Project point inside a convex polygon with known orientation | |
| RealType | UE::Geometry::CurveUtil::SignedArea2
(
const TArrayView< const VectorType >& Vertices |
Compute the signed area of a closed curve, assuming vertices in the XY plane | |
| VectorType | UE::Geometry::CurveUtil::Tangent
(
const TArrayView< const VectorType >& Vertices, |
||
| VectorType | UE::Geometry::CurveUtil::Tangent
(
const TArrayView< const VectorType >& Vertices, |
||
| RealType | UE::Geometry::CurveUtil::WindingIntegral2
(
const TArrayView< const VectorType >& Vertices, |
Compute the winding of a point relative to a closed curve, assuming vertices in the XY plane |