namespace Dbscan
{
///
/// A holding class for algorithm related information about a point.
///
/// The type of the element this object is holding.
public class PointInfo : IPointData where T : IPointData
{
///
/// The object being held by this holder
///
public T Item { get; }
///
/// Whether or not this point has been clustered
///
public bool Clustered { get; set; }
///
/// Whether or not this point has been visited
///
public bool Visited { get; set; }
///
/// The location of this point
///
public Point Point => Item.Point;
///
/// Initializes a new with the object it is holding.
///
///
public PointInfo(T item)
{
Item = item;
}
}
}