SweptSpherePlaneIntersection

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

Syntax

C#
public static bool SweptSpherePlaneIntersection(
	out Vector3 pt,
	out float finalPenetration,
	BoundingSphere oldSphere,
	BoundingSphere newSphere,
	Vector3 planeNormal,
	float pOldDistToPlane,
	float pNewDistToPlane
)
Visual Basic
Public Shared Function SweptSpherePlaneIntersection ( _
	<OutAttribute> ByRef pt As Vector3, _
	<OutAttribute> ByRef finalPenetration As Single, _
	oldSphere As BoundingSphere, _
	newSphere As BoundingSphere, _
	planeNormal As Vector3, _
	pOldDistToPlane As Single, _
	pNewDistToPlane As Single _
) As Boolean
Visual C++
public:
static bool SweptSpherePlaneIntersection(
	[OutAttribute] Vector3% pt, 
	[OutAttribute] float% finalPenetration, 
	BoundingSphere oldSphere, 
	BoundingSphere newSphere, 
	Vector3 planeNormal, 
	float pOldDistToPlane, 
	float pNewDistToPlane
)

Parameters

pt
Type: Vector3%

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

finalPenetration
Type: System..::..Single%

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

oldSphere
Type: BoundingSphere

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

newSphere
Type: BoundingSphere

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

planeNormal
Type: Vector3

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

pOldDistToPlane
Type: System..::..Single

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

pNewDistToPlane
Type: System..::..Single

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

Return Value

bool

See Also