Navigation
API > API/Plugins > API/Plugins/RigVM
Computes the angles alpha, beta and gamma (in radians) between the three sides A, B and C
| Name | FRigVMFunction_MathDoubleLawOfCosine |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMFunctions/Math/RigVMFunction_MathDouble.h |
| Include Path | #include "RigVMFunctions/Math/RigVMFunction_MathDouble.h" |
Syntax
USTRUCT (Meta=(DisplayName="Law Of Cosine", TemplateName="LawOfCosine"))
struct FRigVMFunction_MathDoubleLawOfCosine : public FRigVMFunction_MathDoubleBase
Inheritance Hierarchy
- FRigVMStruct → FRigVMFunction_MathBase → FRigVMFunction_MathDoubleBase → FRigVMFunction_MathDoubleLawOfCosine
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigVMFunction_MathDoubleLawOfCosine() |
RigVMFunctions/Math/RigVMFunction_MathDouble.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| A | double | The length of the first edge of the triangle. | RigVMFunctions/Math/RigVMFunction_MathDouble.h |
|
| AlphaAngle | double | The angle between B and C. | RigVMFunctions/Math/RigVMFunction_MathDouble.h |
|
| B | double | The length of the second edge of the triangle. | RigVMFunctions/Math/RigVMFunction_MathDouble.h |
|
| BetaAngle | double | The angle between A and C. | RigVMFunctions/Math/RigVMFunction_MathDouble.h |
|
| bValid | bool | True if the results are valid. | RigVMFunctions/Math/RigVMFunction_MathDouble.h |
|
| C | double | The length of the third edge of the triangle. | RigVMFunctions/Math/RigVMFunction_MathDouble.h |
|
| GammaAngle | double | The angle between A and B. | RigVMFunctions/Math/RigVMFunction_MathDouble.h |
|
Functions
Public
Public Virtual
Overridden from FRigVMStruct
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute() |
Execute logic for this struct | RigVMFunctions/Math/RigVMFunction_MathDouble.h |