DbscanPoint.cs 629 B

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