MCPcopy Create free account
hub / github.com/PCGEx/PCGExtendedToolkit / FSegment

Method FSegment

Source/PCGExtendedToolkit/Private/PCGExMath.cpp:48–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 }
47
48 FSegment::FSegment(const FVector& InA, const FVector& InB, const double Expansion)
49 : A(InA), B(InB), Direction((B - A).GetSafeNormal())
50 {
51 Bounds += A;
52 Bounds += B;
53 Bounds = Bounds.ExpandBy(Expansion);
54 }
55
56 FBox GetLocalBounds(const FPCGPoint& Point, const EPCGExPointBoundsSource Source)
57 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected