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
11
struct
FEdge
12
{
14
FVector
Vertex
[2];
15
17
int32
Count
;
18
19
public
:
20
22
[[
nodiscard
]]
FEdge
() =
default
;
23
30
[[
nodiscard
]]
FEdge
(
FVector
V1,
FVector
V2)
31
{
32
Vertex
[0] = V1;
33
Vertex
[1] = V2;
34
Count
= 0;
35
}
36
37
public
:
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
};
EMusicalNoteName::E
@ E
CoreTypes.h
int32
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition
Platform.h:1125
Vector.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
FEdge
Definition
Edge.h:12
FEdge::operator==
bool operator==(const FEdge &E) const
Definition
Edge.h:45
FEdge::Count
int32 Count
Definition
Edge.h:17
FEdge::FEdge
FEdge(FVector V1, FVector V2)
Definition
Edge.h:30
FEdge::Vertex
FVector Vertex[2]
Definition
Edge.h:14
FEdge::FEdge
FEdge()=default
UE::Math::TVector< double >
Engine
Source
Runtime
Core
Public
Math
Edge.h
Generated by
1.9.8