UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Edge.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreTypes.h"
6#include "Math/Vector.h"
7
11struct FEdge
12{
15
18
19public:
20
22 [[nodiscard]] FEdge() = default;
23
31 {
32 Vertex[0] = V1;
33 Vertex[1] = V2;
34 Count = 0;
35 }
36
37public:
38
45 [[nodiscard]] bool operator==(const FEdge& E) const
46 {
47 return (((E.Vertex[0] == Vertex[0]) && (E.Vertex[1] == Vertex[1])) || ((E.Vertex[0] == Vertex[1]) && (E.Vertex[1] == Vertex[0])));
48 }
49};
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition Edge.h:12
bool operator==(const FEdge &E) const
Definition Edge.h:45
int32 Count
Definition Edge.h:17
FEdge(FVector V1, FVector V2)
Definition Edge.h:30
FVector Vertex[2]
Definition Edge.h:14
FEdge()=default