Class FbxVector4Test
Namespace: Autodesk.Fbx.UnitTests
Syntax
public class FbxVector4Test
Methods
AssertSimilarEuler(FbxVector4, FbxVector4, Double, Boolean)
Check that two vectors are similar, interpreting them as XYZ euler angles, ignoring W.
Pass 'nothrow' as true if you want a bool yes/no. By default we throw an NUnit exception if the vectors don't match.
Declaration
public static bool AssertSimilarEuler(FbxVector4 expected, FbxVector4 actual, double tolerance = 1E-10, bool nothrow = false)
Parameters
Type | Name | Description |
---|---|---|
FbxVector4 | expected | |
FbxVector4 | actual | |
Double | tolerance | |
Boolean | nothrow |
Returns
Type | Description |
---|---|
Boolean |
AssertSimilarXYZ(FbxVector4, FbxVector4, Double, Boolean)
Check that two vectors are similar, interpreting them as XYZ vectors (ignoring W).
Pass 'nothrow' as true if you want a bool yes/no. By default we throw an NUnit exception if the vectors don't match.
Declaration
public static bool AssertSimilarXYZ(FbxVector4 expected, FbxVector4 actual, double tolerance = 1E-10, bool nothrow = false)
Parameters
Type | Name | Description |
---|---|---|
FbxVector4 | expected | |
FbxVector4 | actual | |
Double | tolerance | |
Boolean | nothrow |
Returns
Type | Description |
---|---|
Boolean |
AssertSimilarXYZW(FbxVector4, FbxVector4, Double, Boolean)
Check that two vectors are similar, interpreting them as 4-tuples of doubles.
Pass 'nothrow' as true if you want a bool yes/no. By default we throw an NUnit exception if the vectors don't match.
Declaration
public static bool AssertSimilarXYZW(FbxVector4 expected, FbxVector4 actual, double tolerance = 1E-10, bool nothrow = false)
Parameters
Type | Name | Description |
---|---|---|
FbxVector4 | expected | |
FbxVector4 | actual | |
Double | tolerance | |
Boolean | nothrow |
Returns
Type | Description |
---|---|
Boolean |
BasicTests()
Declaration
public void BasicTests()
MatchingTests()
Declaration
public void MatchingTests()
TestEquality()
Declaration
public void TestEquality()