Click or drag to resize
DigitalRuneLineShape Constructor (Vector3F, Vector3F)
Initializes a new instance of the LineShape class from a point and direction.

Namespace: DigitalRune.Geometry.Shapes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public LineShape(
	Vector3F pointOnLine,
	Vector3F direction
)

Parameters

pointOnLine
Type: DigitalRune.Mathematics.AlgebraVector3F
A point on the line.
direction
Type: DigitalRune.Mathematics.AlgebraVector3F
The direction.
Exceptions
ExceptionCondition
ArgumentExceptiondirection is not normalized.
See Also