/// <summary> /// Lookup a point by its id. /// </summary> /// <returns>The point whose id matches the given id, or null.</returns> /// <param name="id">UniqueId of a HilbertPoint.</param> public HilbertPoint FindById(int id) { HilbertPoint p = null; IdsToPoints.TryGetValue(id, out p); return(p); }
/// <summary> /// Lookup a point by its id. /// </summary> /// <returns>The point whose id matches the given id, or null.</returns> /// <param name="id">UniqueId of a point.</param> public UnsignedPoint FindById(int id) { UnsignedPoint p = null; IdsToPoints.TryGetValue(id, out p); return(p); }