Must support intersection with a segment (ray cast)

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

Syntax

C#
public abstract bool SegmentIntersect(
	out float frac,
	out Vector3 pos,
	out Vector3 normal,
	Segment seg
)
Visual Basic
Public MustOverride Function SegmentIntersect ( _
	<OutAttribute> ByRef frac As Single, _
	<OutAttribute> ByRef pos As Vector3, _
	<OutAttribute> ByRef normal As Vector3, _
	seg As Segment _
) As Boolean
Visual C++
public:
virtual bool SegmentIntersect(
	[OutAttribute] float% frac, 
	[OutAttribute] Vector3% pos, 
	[OutAttribute] Vector3% normal, 
	Segment seg
) abstract

Parameters

frac
Type: System..::..Single%

[Missing <param name="frac"/> documentation for "M:JigLibX.Geometry.Primitive.SegmentIntersect(System.Single@,Microsoft.Xna.Framework.Vector3@,Microsoft.Xna.Framework.Vector3@,JigLibX.Geometry.Segment)"]

pos
Type: Vector3%

[Missing <param name="pos"/> documentation for "M:JigLibX.Geometry.Primitive.SegmentIntersect(System.Single@,Microsoft.Xna.Framework.Vector3@,Microsoft.Xna.Framework.Vector3@,JigLibX.Geometry.Segment)"]

normal
Type: Vector3%

[Missing <param name="normal"/> documentation for "M:JigLibX.Geometry.Primitive.SegmentIntersect(System.Single@,Microsoft.Xna.Framework.Vector3@,Microsoft.Xna.Framework.Vector3@,JigLibX.Geometry.Segment)"]

seg
Type: JigLibX.Geometry..::..Segment

[Missing <param name="seg"/> documentation for "M:JigLibX.Geometry.Primitive.SegmentIntersect(System.Single@,Microsoft.Xna.Framework.Vector3@,Microsoft.Xna.Framework.Vector3@,JigLibX.Geometry.Segment)"]

Return Value

bool

See Also