Click or drag to resize
DigitalRuneRayShape Constructor (Ray)
Initializes a new instance of the RayShape class from a Ray.

Namespace: DigitalRune.Geometry.Shapes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public RayShape(
	Ray ray
)

Parameters

ray
Type: DigitalRune.Geometry.ShapesRay
The ray.
Exceptions
ExceptionCondition
ArgumentException The direction of ray is not normalized.
ArgumentOutOfRangeException The length of ray is ≤ 0 or infinite.
See Also