Navigation
API > API/Runtime > API/Runtime/GeometryCore
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLinearIntersection IntersectionUtil::LineSphereIntersection
(
const TVector< RealType >& LineOrigin, |
Intersection/IntersectionUtil.h | ||
bool IntersectionUtil::LineSphereIntersection
(
const TVector< RealType >& LineOrigin, |
Intersect line with sphere and return intersection info (# hits, ray parameters) | Intersection/IntersectionUtil.h |
IntersectionUtil::LineSphereIntersection(const TVector< RealType > &, const TVector< RealType > &, const TVector< RealType > &, RealType)
| Name | IntersectionUtil::LineSphereIntersection |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Intersection/IntersectionUtil.h |
| Include Path | #include "Intersection/IntersectionUtil.h" |
namespace IntersectionUtil
{
template<typename RealType>
FLinearIntersection IntersectionUtil::LineSphereIntersection
(
const TVector < RealType > & LineOrigin,
const TVector < RealType > & LineDirection,
const TVector < RealType > & SphereCenter,
RealType SphereRadius
)
}
IntersectionUtil::LineSphereIntersection(const TVector< RealType > &, const TVector< RealType > &, const TVector< RealType > &, RealType, FLinearIntersection &)
Description
Intersect line with sphere and return intersection info (# hits, ray parameters)
| Name | IntersectionUtil::LineSphereIntersection |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Intersection/IntersectionUtil.h |
| Include Path | #include "Intersection/IntersectionUtil.h" |
namespace IntersectionUtil
{
template<typename RealType>
bool IntersectionUtil::LineSphereIntersection
(
const TVector < RealType > & LineOrigin,
const TVector < RealType > & LineDirection,
const TVector < RealType > & SphereCenter,
RealType SphereRadius,
FLinearIntersection & ResultOut
)
}
true if line intersects sphere