SweptSphereTriangleIntersection

Namespace: JigLibX.Geometry
Assembly: JigLibX (in JigLibX.dll) Version: 0.3.1.0

Syntax

C#
public static bool SweptSphereTriangleIntersection(
	out Vector3 pt,
	out Vector3 N,
	out float depth,
	BoundingSphere oldSphere,
	BoundingSphere newSphere,
	Triangle triangle,
	float oldCentreDistToPlane,
	float newCentreDistToPlane,
	Intersection..::..EdgesToTest edgesToTest,
	Intersection..::..CornersToTest cornersToTest
)
Visual Basic
Public Shared Function SweptSphereTriangleIntersection ( _
	<OutAttribute> ByRef pt As Vector3, _
	<OutAttribute> ByRef N As Vector3, _
	<OutAttribute> ByRef depth As Single, _
	oldSphere As BoundingSphere, _
	newSphere As BoundingSphere, _
	triangle As Triangle, _
	oldCentreDistToPlane As Single, _
	newCentreDistToPlane As Single, _
	edgesToTest As Intersection..::..EdgesToTest, _
	cornersToTest As Intersection..::..CornersToTest _
) As Boolean
Visual C++
public:
static bool SweptSphereTriangleIntersection(
	[OutAttribute] Vector3% pt, 
	[OutAttribute] Vector3% N, 
	[OutAttribute] float% depth, 
	BoundingSphere oldSphere, 
	BoundingSphere newSphere, 
	Triangle triangle, 
	float oldCentreDistToPlane, 
	float newCentreDistToPlane, 
	Intersection..::..EdgesToTest edgesToTest, 
	Intersection..::..CornersToTest cornersToTest
)

Parameters

pt
Type: Vector3%

[Missing <param name="pt"/> documentation for "M:JigLibX.Geometry.Intersection.SweptSphereTriangleIntersection(Microsoft.Xna.Framework.Vector3@,Microsoft.Xna.Framework.Vector3@,System.Single@,Microsoft.Xna.Framework.BoundingSphere,Microsoft.Xna.Framework.BoundingSphere,JigLibX.Geometry.Triangle,System.Single,System.Single,JigLibX.Geometry.Intersection.EdgesToTest,JigLibX.Geometry.Intersection.CornersToTest)"]

N
Type: Vector3%

[Missing <param name="N"/> documentation for "M:JigLibX.Geometry.Intersection.SweptSphereTriangleIntersection(Microsoft.Xna.Framework.Vector3@,Microsoft.Xna.Framework.Vector3@,System.Single@,Microsoft.Xna.Framework.BoundingSphere,Microsoft.Xna.Framework.BoundingSphere,JigLibX.Geometry.Triangle,System.Single,System.Single,JigLibX.Geometry.Intersection.EdgesToTest,JigLibX.Geometry.Intersection.CornersToTest)"]

depth
Type: System..::..Single%

[Missing <param name="depth"/> documentation for "M:JigLibX.Geometry.Intersection.SweptSphereTriangleIntersection(Microsoft.Xna.Framework.Vector3@,Microsoft.Xna.Framework.Vector3@,System.Single@,Microsoft.Xna.Framework.BoundingSphere,Microsoft.Xna.Framework.BoundingSphere,JigLibX.Geometry.Triangle,System.Single,System.Single,JigLibX.Geometry.Intersection.EdgesToTest,JigLibX.Geometry.Intersection.CornersToTest)"]

oldSphere
Type: BoundingSphere

[Missing <param name="oldSphere"/> documentation for "M:JigLibX.Geometry.Intersection.SweptSphereTriangleIntersection(Microsoft.Xna.Framework.Vector3@,Microsoft.Xna.Framework.Vector3@,System.Single@,Microsoft.Xna.Framework.BoundingSphere,Microsoft.Xna.Framework.BoundingSphere,JigLibX.Geometry.Triangle,System.Single,System.Single,JigLibX.Geometry.Intersection.EdgesToTest,JigLibX.Geometry.Intersection.CornersToTest)"]

newSphere
Type: BoundingSphere

[Missing <param name="newSphere"/> documentation for "M:JigLibX.Geometry.Intersection.SweptSphereTriangleIntersection(Microsoft.Xna.Framework.Vector3@,Microsoft.Xna.Framework.Vector3@,System.Single@,Microsoft.Xna.Framework.BoundingSphere,Microsoft.Xna.Framework.BoundingSphere,JigLibX.Geometry.Triangle,System.Single,System.Single,JigLibX.Geometry.Intersection.EdgesToTest,JigLibX.Geometry.Intersection.CornersToTest)"]

triangle
Type: JigLibX.Geometry..::..Triangle

[Missing <param name="triangle"/> documentation for "M:JigLibX.Geometry.Intersection.SweptSphereTriangleIntersection(Microsoft.Xna.Framework.Vector3@,Microsoft.Xna.Framework.Vector3@,System.Single@,Microsoft.Xna.Framework.BoundingSphere,Microsoft.Xna.Framework.BoundingSphere,JigLibX.Geometry.Triangle,System.Single,System.Single,JigLibX.Geometry.Intersection.EdgesToTest,JigLibX.Geometry.Intersection.CornersToTest)"]

oldCentreDistToPlane
Type: System..::..Single

[Missing <param name="oldCentreDistToPlane"/> documentation for "M:JigLibX.Geometry.Intersection.SweptSphereTriangleIntersection(Microsoft.Xna.Framework.Vector3@,Microsoft.Xna.Framework.Vector3@,System.Single@,Microsoft.Xna.Framework.BoundingSphere,Microsoft.Xna.Framework.BoundingSphere,JigLibX.Geometry.Triangle,System.Single,System.Single,JigLibX.Geometry.Intersection.EdgesToTest,JigLibX.Geometry.Intersection.CornersToTest)"]

newCentreDistToPlane
Type: System..::..Single

[Missing <param name="newCentreDistToPlane"/> documentation for "M:JigLibX.Geometry.Intersection.SweptSphereTriangleIntersection(Microsoft.Xna.Framework.Vector3@,Microsoft.Xna.Framework.Vector3@,System.Single@,Microsoft.Xna.Framework.BoundingSphere,Microsoft.Xna.Framework.BoundingSphere,JigLibX.Geometry.Triangle,System.Single,System.Single,JigLibX.Geometry.Intersection.EdgesToTest,JigLibX.Geometry.Intersection.CornersToTest)"]

edgesToTest
Type: JigLibX.Geometry..::..Intersection..::..EdgesToTest

[Missing <param name="edgesToTest"/> documentation for "M:JigLibX.Geometry.Intersection.SweptSphereTriangleIntersection(Microsoft.Xna.Framework.Vector3@,Microsoft.Xna.Framework.Vector3@,System.Single@,Microsoft.Xna.Framework.BoundingSphere,Microsoft.Xna.Framework.BoundingSphere,JigLibX.Geometry.Triangle,System.Single,System.Single,JigLibX.Geometry.Intersection.EdgesToTest,JigLibX.Geometry.Intersection.CornersToTest)"]

cornersToTest
Type: JigLibX.Geometry..::..Intersection..::..CornersToTest

[Missing <param name="cornersToTest"/> documentation for "M:JigLibX.Geometry.Intersection.SweptSphereTriangleIntersection(Microsoft.Xna.Framework.Vector3@,Microsoft.Xna.Framework.Vector3@,System.Single@,Microsoft.Xna.Framework.BoundingSphere,Microsoft.Xna.Framework.BoundingSphere,JigLibX.Geometry.Triangle,System.Single,System.Single,JigLibX.Geometry.Intersection.EdgesToTest,JigLibX.Geometry.Intersection.CornersToTest)"]

Return Value

bool

See Also