VPITissueRegion RayIntersectBoundary Method Virtual Photonics - VTS Library
Virtual Photonics
Checks if the specified photon will intersect the region boundary

Namespace: Vts.MonteCarlo
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax

bool RayIntersectBoundary(
	Photon p,
	out double distanceToBoundary
)

Parameters

p
Type: Vts.MonteCarlo Photon
Photon to check for intersection (including Position, Direction, and S)
distanceToBoundary
Type: OnlineSystem Double 
The distance to the next boundary

Return Value

Type: OnlineBoolean
True if photon will intersect the region boundary, false otherwise
Remarks

Use this method if the distance is required
See Also