API reference

AnchorDistanceMask Class

Extends Mask
A mask that returns the anchor distance.

Methods

Check ( c )
Not used in this mask.
Signature
override bool Check(Candidate c)
Parameters
c: Candidate  Candidate with the information from the distribution
Returns
override bool  true
SampleMask ( c )
Returns the distance from the hit to the anchor.
Signature
override float SampleMask(Candidate c)
Parameters
c: Candidate  Candidate with the information from the distribution
Returns
override float  the distance