Table of Contents

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

source IAssertionSource<Vector3[]>
tolerance double
toleranceExpression string

Returns

Vector3Array_AreCoplanar_Double_Assertion

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

source IAssertionSource<AxisAlignedBox>
inner AxisAlignedBox
innerExpression string

Returns

AxisAlignedBox_ContainsBox_AxisAlignedBox_Assertion

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

source IAssertionSource<AxisAlignedBox>
point Vector3
pointExpression string

Returns

AxisAlignedBox_ContainsPoint_Vector3_Assertion

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

source IAssertionSource<OrientedBox>
point Vector3
pointExpression string

Returns

OrientedBox_ContainsPoint_Vector3_Assertion

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

source IAssertionSource<Sphere>
point Vector3
pointExpression string

Returns

Sphere_ContainsPoint_Vector3_Assertion

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

source IAssertionSource<AxisAlignedBox>
sphere Sphere
sphereExpression string

Returns

AxisAlignedBox_ContainsSphere_Sphere_Assertion

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

source IAssertionSource<Vector3[]>
point Vector3
tolerance double
pointExpression string
toleranceExpression string

Returns

Vector3Array_ConvexHullContainsPoint_Vector3_Double_Assertion

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

source IAssertionSource<Vector3[]>
expected Vector3
tolerance double
expectedExpression string
toleranceExpression string

Returns

Vector3Array_HasCentroidAt_Vector3_Double_Assertion

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

source IAssertionSource<Vector3>
plane Plane
expected double
tolerance double
planeExpression string
expectedExpression string
toleranceExpression string

Returns

Vector3_HasDistanceFromPlane_Plane_Double_Double_Assertion

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

source IAssertionSource<Vector3>
segment LineSegment3D
expected double
tolerance double
segmentExpression string
expectedExpression string
toleranceExpression string

Returns

Vector3_HasDistanceFromSegment_LineSegment3D_Double_Double_Assertion

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

source IAssertionSource<Vector3>
triangle Triangle3D
expected double
tolerance double
triangleExpression string
expectedExpression string
toleranceExpression string

Returns

Vector3_HasDistanceFromTriangle_Triangle3D_Double_Double_Assertion

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

source IAssertionSource<AxisAlignedBox>
other AxisAlignedBox
otherExpression string

Returns

AxisAlignedBox_IntersectsBox_AxisAlignedBox_Assertion

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

source IAssertionSource<Ray3D>
box AxisAlignedBox
boxExpression string

Returns

Ray3D_IntersectsBox_AxisAlignedBox_Assertion

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

source IAssertionSource<Ray3D>
plane Plane
planeExpression string

Returns

Ray3D_IntersectsPlane_Plane_Assertion

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

source IAssertionSource<Ray3D>
sphere Sphere
sphereExpression string

Returns

Ray3D_IntersectsSphere_Sphere_Assertion

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

source IAssertionSource<Sphere>
other Sphere
otherExpression string

Returns

Sphere_IntersectsSphere_Sphere_Assertion

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

source IAssertionSource<Ray3D>
triangle Triangle3D
triangleExpression string

Returns

Ray3D_IntersectsTriangle_Triangle3D_Assertion

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

source IAssertionSource<Vector3[]>
plane Plane
maxResidual double
planeExpression string
maxResidualExpression string

Returns

Vector3Array_IsApproximatelyOnPlane_Plane_Double_Assertion

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

source IAssertionSource<Vector3[]>
center Vector3
radius float
maxResidual double
centerExpression string
radiusExpression string
maxResidualExpression string

Returns

Vector3Array_IsApproximatelyOnSphere_Vector3_Float_Double_Assertion

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

source IAssertionSource<Vector3[]>
box AxisAlignedBox
boxExpression string

Returns

Vector3Array_IsBoundedByBox_AxisAlignedBox_Assertion

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

source IAssertionSource<Vector3[]>
sphere Sphere
sphereExpression string

Returns

Vector3Array_IsBoundedBySphere_Sphere_Assertion

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

source IAssertionSource<Vector3[]>
tolerance double
toleranceExpression string

Returns

Vector3Array_IsCollinear_Double_Assertion

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

source IAssertionSource<Triangle3D>
tolerance double
toleranceExpression string

Returns

Triangle3D_IsDegenerate_Double_Assertion