UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IntersectionQueries2.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "BoxTypes.h"
6#include "CoreMinimal.h"
7#include "SegmentTypes.h"
8
9namespace UE
10{
11namespace Geometry
12{
13template <typename RealType> struct TAxisAlignedBox2;
14template <typename T> struct TSegment2;
15
16// Return true if Segment and Box intersect and false otherwise
17template<typename Real>
19
20template<typename Real>
22 const TVector2<Real>& A, const TVector2<Real>& B, const TVector2<Real>& C,
23 const TVector2<Real>& Center, double RadiusSquared);
24
25} // namespace UE::Geometry
26} // namespace UE
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
template bool GEOMETRYCORE_API TestIntersection(const TSegment2< float > &Segment, const TAxisAlignedBox2< float > &Box)
template bool GEOMETRYCORE_API DoesTriangleIntersectCircle2D(const TVector2< float > &A, const TVector2< float > &B, const TVector2< float > &C, const TVector2< float > &Center, double RadiusSquared)
Definition AdvancedWidgetsModule.cpp:13
Definition BoxTypes.h:637
Definition SegmentTypes.h:23
Definition Vector2D.h:38