VPVoxelRegion RayIntersectBoundary Method Virtual Photonics - VTS Library
Virtual Photonics
Checks if the specified photon will intersect the voxel boundary

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

public bool RayIntersectBoundary(
	Photon photon,
	out double distanceToBoundary
)

Parameters

photon
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 voxel boundary, false otherwise

Implements

ITissueRegion RayIntersectBoundary(Photon, Double )
See Also