Class Geometry3DAssertions
- Namespace
- TUnit.Assertions.Extensions
- Assembly
- MathAssertions.TUnit.dll
public static class Geometry3DAssertions
- Inheritance
-
Geometry3DAssertions
- Inherited Members
Methods
AreCoplanar(IAssertionSource<Vector3[]>, double, string?)
Generated extension method for AreCoplanar
public static Vector3Array_AreCoplanar_Double_Assertion AreCoplanar(this IAssertionSource<Vector3[]> source, double tolerance, string? toleranceExpression = null)
Parameters
Returns
ContainsBox(IAssertionSource<AxisAlignedBox>, AxisAlignedBox, string?)
Generated extension method for ContainsBox
public static AxisAlignedBox_ContainsBox_AxisAlignedBox_Assertion ContainsBox(this IAssertionSource<AxisAlignedBox> source, AxisAlignedBox inner, string? innerExpression = null)
Parameters
sourceIAssertionSource<AxisAlignedBox>innerAxisAlignedBoxinnerExpressionstring
Returns
ContainsPoint(IAssertionSource<AxisAlignedBox>, Vector3, string?)
Generated extension method for ContainsPoint
public static AxisAlignedBox_ContainsPoint_Vector3_Assertion ContainsPoint(this IAssertionSource<AxisAlignedBox> source, Vector3 point, string? pointExpression = null)
Parameters
sourceIAssertionSource<AxisAlignedBox>pointVector3pointExpressionstring
Returns
ContainsPoint(IAssertionSource<OrientedBox>, Vector3, string?)
Generated extension method for ContainsPoint
public static OrientedBox_ContainsPoint_Vector3_Assertion ContainsPoint(this IAssertionSource<OrientedBox> source, Vector3 point, string? pointExpression = null)
Parameters
sourceIAssertionSource<OrientedBox>pointVector3pointExpressionstring
Returns
ContainsPoint(IAssertionSource<Sphere>, Vector3, string?)
Generated extension method for ContainsPoint
public static Sphere_ContainsPoint_Vector3_Assertion ContainsPoint(this IAssertionSource<Sphere> source, Vector3 point, string? pointExpression = null)
Parameters
Returns
ContainsSphere(IAssertionSource<AxisAlignedBox>, Sphere, string?)
Generated extension method for ContainsSphere
public static AxisAlignedBox_ContainsSphere_Sphere_Assertion ContainsSphere(this IAssertionSource<AxisAlignedBox> source, Sphere sphere, string? sphereExpression = null)
Parameters
sourceIAssertionSource<AxisAlignedBox>sphereSpheresphereExpressionstring
Returns
ConvexHullContainsPoint(IAssertionSource<Vector3[]>, Vector3, double, string?, string?)
Generated extension method for ConvexHullContainsPoint
public static Vector3Array_ConvexHullContainsPoint_Vector3_Double_Assertion ConvexHullContainsPoint(this IAssertionSource<Vector3[]> source, Vector3 point, double tolerance, string? pointExpression = null, string? toleranceExpression = null)
Parameters
sourceIAssertionSource<Vector3[]>pointVector3tolerancedoublepointExpressionstringtoleranceExpressionstring
Returns
HasCentroidAt(IAssertionSource<Vector3[]>, Vector3, double, string?, string?)
Generated extension method for HasCentroidAt
public static Vector3Array_HasCentroidAt_Vector3_Double_Assertion HasCentroidAt(this IAssertionSource<Vector3[]> source, Vector3 expected, double tolerance, string? expectedExpression = null, string? toleranceExpression = null)
Parameters
sourceIAssertionSource<Vector3[]>expectedVector3tolerancedoubleexpectedExpressionstringtoleranceExpressionstring
Returns
HasDistanceFromPlane(IAssertionSource<Vector3>, Plane, double, double, string?, string?, string?)
Generated extension method for HasDistanceFromPlane
public static Vector3_HasDistanceFromPlane_Plane_Double_Double_Assertion HasDistanceFromPlane(this IAssertionSource<Vector3> source, Plane plane, double expected, double tolerance, string? planeExpression = null, string? expectedExpression = null, string? toleranceExpression = null)
Parameters
sourceIAssertionSource<Vector3>planePlaneexpecteddoubletolerancedoubleplaneExpressionstringexpectedExpressionstringtoleranceExpressionstring
Returns
HasDistanceFromSegment(IAssertionSource<Vector3>, LineSegment3D, double, double, string?, string?, string?)
Generated extension method for HasDistanceFromSegment
public static Vector3_HasDistanceFromSegment_LineSegment3D_Double_Double_Assertion HasDistanceFromSegment(this IAssertionSource<Vector3> source, LineSegment3D segment, double expected, double tolerance, string? segmentExpression = null, string? expectedExpression = null, string? toleranceExpression = null)
Parameters
sourceIAssertionSource<Vector3>segmentLineSegment3DexpecteddoubletolerancedoublesegmentExpressionstringexpectedExpressionstringtoleranceExpressionstring
Returns
HasDistanceFromTriangle(IAssertionSource<Vector3>, Triangle3D, double, double, string?, string?, string?)
Generated extension method for HasDistanceFromTriangle
public static Vector3_HasDistanceFromTriangle_Triangle3D_Double_Double_Assertion HasDistanceFromTriangle(this IAssertionSource<Vector3> source, Triangle3D triangle, double expected, double tolerance, string? triangleExpression = null, string? expectedExpression = null, string? toleranceExpression = null)
Parameters
sourceIAssertionSource<Vector3>triangleTriangle3DexpecteddoubletolerancedoubletriangleExpressionstringexpectedExpressionstringtoleranceExpressionstring
Returns
IntersectsBox(IAssertionSource<AxisAlignedBox>, AxisAlignedBox, string?)
Generated extension method for IntersectsBox
public static AxisAlignedBox_IntersectsBox_AxisAlignedBox_Assertion IntersectsBox(this IAssertionSource<AxisAlignedBox> source, AxisAlignedBox other, string? otherExpression = null)
Parameters
sourceIAssertionSource<AxisAlignedBox>otherAxisAlignedBoxotherExpressionstring
Returns
IntersectsBox(IAssertionSource<Ray3D>, AxisAlignedBox, string?)
Generated extension method for IntersectsBox
public static Ray3D_IntersectsBox_AxisAlignedBox_Assertion IntersectsBox(this IAssertionSource<Ray3D> source, AxisAlignedBox box, string? boxExpression = null)
Parameters
sourceIAssertionSource<Ray3D>boxAxisAlignedBoxboxExpressionstring
Returns
IntersectsPlane(IAssertionSource<Ray3D>, Plane, string?)
Generated extension method for IntersectsPlane
public static Ray3D_IntersectsPlane_Plane_Assertion IntersectsPlane(this IAssertionSource<Ray3D> source, Plane plane, string? planeExpression = null)
Parameters
Returns
IntersectsSphere(IAssertionSource<Ray3D>, Sphere, string?)
Generated extension method for IntersectsSphere
public static Ray3D_IntersectsSphere_Sphere_Assertion IntersectsSphere(this IAssertionSource<Ray3D> source, Sphere sphere, string? sphereExpression = null)
Parameters
Returns
IntersectsSphere(IAssertionSource<Sphere>, Sphere, string?)
Generated extension method for IntersectsSphere
public static Sphere_IntersectsSphere_Sphere_Assertion IntersectsSphere(this IAssertionSource<Sphere> source, Sphere other, string? otherExpression = null)
Parameters
Returns
IntersectsTriangle(IAssertionSource<Ray3D>, Triangle3D, string?)
Generated extension method for IntersectsTriangle
public static Ray3D_IntersectsTriangle_Triangle3D_Assertion IntersectsTriangle(this IAssertionSource<Ray3D> source, Triangle3D triangle, string? triangleExpression = null)
Parameters
sourceIAssertionSource<Ray3D>triangleTriangle3DtriangleExpressionstring
Returns
IsApproximatelyOnPlane(IAssertionSource<Vector3[]>, Plane, double, string?, string?)
Generated extension method for IsApproximatelyOnPlane
public static Vector3Array_IsApproximatelyOnPlane_Plane_Double_Assertion IsApproximatelyOnPlane(this IAssertionSource<Vector3[]> source, Plane plane, double maxResidual, string? planeExpression = null, string? maxResidualExpression = null)
Parameters
sourceIAssertionSource<Vector3[]>planePlanemaxResidualdoubleplaneExpressionstringmaxResidualExpressionstring
Returns
IsApproximatelyOnSphere(IAssertionSource<Vector3[]>, Vector3, float, double, string?, string?, string?)
Generated extension method for IsApproximatelyOnSphere
public static Vector3Array_IsApproximatelyOnSphere_Vector3_Float_Double_Assertion IsApproximatelyOnSphere(this IAssertionSource<Vector3[]> source, Vector3 center, float radius, double maxResidual, string? centerExpression = null, string? radiusExpression = null, string? maxResidualExpression = null)
Parameters
sourceIAssertionSource<Vector3[]>centerVector3radiusfloatmaxResidualdoublecenterExpressionstringradiusExpressionstringmaxResidualExpressionstring
Returns
IsBoundedByBox(IAssertionSource<Vector3[]>, AxisAlignedBox, string?)
Generated extension method for IsBoundedByBox
public static Vector3Array_IsBoundedByBox_AxisAlignedBox_Assertion IsBoundedByBox(this IAssertionSource<Vector3[]> source, AxisAlignedBox box, string? boxExpression = null)
Parameters
sourceIAssertionSource<Vector3[]>boxAxisAlignedBoxboxExpressionstring
Returns
IsBoundedBySphere(IAssertionSource<Vector3[]>, Sphere, string?)
Generated extension method for IsBoundedBySphere
public static Vector3Array_IsBoundedBySphere_Sphere_Assertion IsBoundedBySphere(this IAssertionSource<Vector3[]> source, Sphere sphere, string? sphereExpression = null)
Parameters
Returns
IsCollinear(IAssertionSource<Vector3[]>, double, string?)
Generated extension method for IsCollinear
public static Vector3Array_IsCollinear_Double_Assertion IsCollinear(this IAssertionSource<Vector3[]> source, double tolerance, string? toleranceExpression = null)
Parameters
Returns
IsDegenerate(IAssertionSource<Triangle3D>, double, string?)
Generated extension method for IsDegenerate
public static Triangle3D_IsDegenerate_Double_Assertion IsDegenerate(this IAssertionSource<Triangle3D> source, double tolerance, string? toleranceExpression = null)
Parameters
sourceIAssertionSource<Triangle3D>tolerancedoubletoleranceExpressionstring