Yasiu Math
1
Collection of mathematic functions that help create game mechanics and procedural tools
Toggle main menu visibility
Loading...
Searching...
No Matches
BPFunLib_Trigonometry.h
1
/*
2
* Copyright (c) 2026 Grzegorz Krug.
3
* All Rights Reserved.
4
*/
5
6
#pragma once
7
8
9
#include "
YasiuMathBP//YasiuMathBPLibrary.h
"
10
11
12
#include "BPFunLib_Trigonometry.generated.h"
13
14
18
UCLASS(BlueprintType)
19
class
UYasiuMathFL_Trigonometry
: public
UYasiuMathFunctionLibrary
{
20
GENERATED_BODY()
21
22
23
public
:
33
UFUNCTION(BlueprintCallable, Category =
"YasiuMath|Trigonometry"
)
34
static
void
SpreadPointsOnTangentByXY
( TArray<FVector2D>& out, const
double
X, const
double
Y, const
double
spreadDistance );
35
46
UFUNCTION(BlueprintCallable, Category =
"YasiuMath|Trigonometry"
)
47
static
void
SpreadPointsOnTangentByAngleRadius
( TArray<FVector2D>& out,
double
angle,
double
radius,
double
spreadDistance );
48
49
63
UFUNCTION(BlueprintCallable, Category =
"YasiuMath|Trigonometry"
)
64
double
FindMinimalRadiusForIntersectingTangentsOnArc
(
double
alfa,
double
beta,
double
symmetricWidth );
65
83
UFUNCTION(BlueprintCallable, Category =
"YasiuMath|Trigonometry"
)
84
FVector2D
FindMinimalRadiusForIntersectingTangentsOnArcAsymmetric
(
double
alfa,
double
beta,
double
widthA,
double
widthB );
85
};
YasiuMathBPLibrary.h
UYasiuMathFL_Trigonometry
BP Function library used with trigonometry.
Definition
BPFunLib_Trigonometry.h:19
UYasiuMathFL_Trigonometry::FindMinimalRadiusForIntersectingTangentsOnArc
double FindMinimalRadiusForIntersectingTangentsOnArc(double alfa, double beta, double symmetricWidth)
Find radius of circle for both tangent lines that intersect.
UYasiuMathFL_Trigonometry::FindMinimalRadiusForIntersectingTangentsOnArcAsymmetric
FVector2D FindMinimalRadiusForIntersectingTangentsOnArcAsymmetric(double alfa, double beta, double widthA, double widthB)
Find radius of circle for both tangent line that intersect.
UYasiuMathFL_Trigonometry::SpreadPointsOnTangentByXY
static void SpreadPointsOnTangentByXY(TArray< FVector2D > &out, const double X, const double Y, const double spreadDistance)
Spread points on tangent line to arc located by XY offset from arc center point 0,...
UYasiuMathFL_Trigonometry::SpreadPointsOnTangentByAngleRadius
static void SpreadPointsOnTangentByAngleRadius(TArray< FVector2D > &out, double angle, double radius, double spreadDistance)
Spread points on tangent line to arc located by angle and radius of given arc.
UYasiuMathFunctionLibrary
BP Function placeholder to group libraries in documentation.
Definition
YasiuMathBPLibrary.h:29
Source
YasiuMath
Public
YasiuMathBP
BPFunLib_Trigonometry.h
Generated by
1.17.0