Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FEdge Struct Reference

#include <Edge.h>

+ Collaboration diagram for FEdge:

Public Member Functions

 FEdge ()
 
 FEdge (FVector V1, FVector V2)
 
bool operator== (const FEdge &E) const
 

Public Attributes

FVector Vertex [2]
 
int32 Count
 

Detailed Description

Implements an edge consisting of two vertices.

Definition at line 11 of file Edge.h.

Constructor & Destructor Documentation

◆ FEdge() [1/2]

FEdge::FEdge ( )
inline

Default constructor (no initialization).

Definition at line 22 of file Edge.h.

◆ FEdge() [2/2]

FEdge::FEdge ( FVector V1,
FVector V2 )
inline

Creates and initializes a new edge from two vertices.

Parameters
V1The first vertex.
V2The second vertex.

Definition at line 30 of file Edge.h.

Member Function Documentation

◆ operator==()

bool FEdge::operator== ( const FEdge & E) const
inline

Compares this edge with another.

Parameters
EThe other edge.
Returns
true if the two edges are identical, false otherwise.

Definition at line 45 of file Edge.h.

Member Data Documentation

◆ Count

int32 FEdge::Count

Holds a temporary variable used when creating arrays of unique edges.

Definition at line 17 of file Edge.h.

◆ Vertex

FVector FEdge::Vertex[2]

Holds the edge vertices.

Definition at line 14 of file Edge.h.


The documentation for this struct was generated from the following file: