public SlamLine(SlamPoint point1, SlamPoint point2, int id = 0) { Point1 = point1; Point2 = point2; Id = id; Message = ""; }
public SlamObservation(SlamPoint pt, Quaternion orientation, string message, string fileName, int[] observedPoints = null, Stats stats = new Stats()) { Point = pt; Rotation = orientation; Statistics = stats; Message = message; FileName = fileName; ObservedPoints = new HashSet <int>(observedPoints ?? Array.Empty <int>()); }
public SlamLine(int id1, int id2, int id = 0) { Point1 = new SlamPoint() { Id = id1 }; Point2 = new SlamPoint() { Id = id2 }; Id = id; Message = ""; }
public bool Equals(SlamPoint other) { return(Position.Equals(other.Position) && ((Color32)Color).Equals((Color32)other.Color) && Id == other.Id && Message == other.Message); }