VPITissue GetDistanceToBoundary Method Virtual Photonics - VTS Library
Virtual Photonics
Method that provides the distance to the closest tissue boundary.

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

double GetDistanceToBoundary(
	Photon photon
)

Parameters

photon
Type: Vts.MonteCarlo Photon
Photon information (e.g. current position, direction, and current track length, S)

Return Value

Type: OnlineDouble
distance, includes double.PositiveInfinity and double.NegativeInfinity
See Also