DbscanPoint.cs 657 B

12345678910111213141516171819202122232425262728
  1. using o0InfraredLocate.ZIM;
  2. using UnityEngine;
  3. using ZIM;
  4. namespace DbscanImplementation
  5. {
  6. /// <summary>
  7. /// Algorithm point definition
  8. /// </summary>
  9. /// <typeparam name="TF">Feature data contribute into algorithm</typeparam>
  10. public class DbscanPoint<TF> : IPixel<TF>
  11. {
  12. public TF Feature { get; internal set; }
  13. public int? ClusterId { get; internal set; }
  14. public PointType? PointType { get; internal set; }
  15. public TF Point => Feature;
  16. public DbscanPoint(TF feature)
  17. {
  18. Feature = feature;
  19. ClusterId = null;
  20. PointType = null;
  21. }
  22. }
  23. }