public EyeSampleAggregate Subtract(EyeSample eye) { GazePoint2D -= eye.GazePoint2D; GazePoint3D -= eye.GazePoint3D; EyePosition3D -= eye.EyePosition3D; PupilDiameter -= eye.PupilDiameter; return(this); }
public EyeSampleAggregate Add(EyeSample eye) { GazePoint2D += eye.GazePoint2D; GazePoint3D += eye.GazePoint3D; EyePosition3D += eye.EyePosition3D; PupilDiameter += eye.PupilDiameter; return(this); }
public EyeMovement ( EyeMovementType type, EyeSample averageSample, DateTimeOffset timestamp, DateTimeOffset endTimestamp ) : this ( type, timestamp, endTimestamp ) { AverageSample = averageSample; }
public EyeMovement ( EyeMovementType type, IEnumerable <EyeVelocity> samples, EyeSample averageSample, DateTimeOffset timestamp, DateTimeOffset endTimestamp ) : this ( type, averageSample, timestamp, endTimestamp ) { Samples = samples?.ToList() ?? Samples; }
public EyeData(EyeValidity validity, EyeSample other) : base(other) { Validity = validity; }
public EyeSampleAggregate(EyeSample initial) : this() { Add(initial); }
public EyeSample(EyeSample other) : this(other.GazePoint2D, other.GazePoint3D, other.EyePosition3D, other.PupilDiameter) { }