Navigation
API > API/Runtime > API/Runtime/GeometryCore
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
RealType UE::Geometry::VectorUtil::VectorTanHalfAngle
(
const TVector< RealType >& A, |
Tan(theta/2) = +/- sqrt( (1-cos(theta)) / (1+cos(theta)) ) | VectorUtil.h | |
RealType UE::Geometry::VectorUtil::VectorTanHalfAngle
(
const TVector2< RealType >& A, |
Tan(theta/2) = +/- sqrt( (1-cos(theta)) / (1+cos(theta)) ) | VectorUtil.h |
UE::Geometry::VectorUtil::VectorTanHalfAngle(const TVector< RealType > &, const TVector< RealType > &)
Description
Tan(theta/2) = +/- sqrt( (1-cos(theta)) / (1+cos(theta)) )
| Name | UE::Geometry::VectorUtil::VectorTanHalfAngle |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/VectorUtil.h |
| Include Path | #include "VectorUtil.h" |
namespace UE
{
namespace Geometry
{
namespace VectorUtil
{
template<typename RealType>
RealType UE::Geometry::VectorUtil::VectorTanHalfAngle
(
const TVector < RealType > & A,
const TVector < RealType > & B
)
}
}
}
positive value of tan(theta/2) where theta is angle between normalized vectors A and B
UE::Geometry::VectorUtil::VectorTanHalfAngle(const TVector2< RealType > &, const TVector2< RealType > &)
Description
Tan(theta/2) = +/- sqrt( (1-cos(theta)) / (1+cos(theta)) )
| Name | UE::Geometry::VectorUtil::VectorTanHalfAngle |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/VectorUtil.h |
| Include Path | #include "VectorUtil.h" |
namespace UE
{
namespace Geometry
{
namespace VectorUtil
{
template<typename RealType>
RealType UE::Geometry::VectorUtil::VectorTanHalfAngle
(
const TVector2 < RealType > & A,
const TVector2 < RealType > & B
)
}
}
}
positive value of tan(theta/2) where theta is angle between normalized vectors A and B