public static bool DefaultContains(LinePoint point, int width, int height) { return (point.X >= 0 && point.Y < width); }
public IEnumerable <LinePoint> GetAllNeighbors(LinePoint point) { return(NeighborDirections.Select <LinePoint, LinePoint>(point.Translate)); }
public bool Contains(LinePoint point) { return(contains(InversePointTransform(point))); }
object IGrid <LinePoint> .this[LinePoint point] { get { return(this[point]); } set { this[point] = (TCell)value; } }
private static bool IsInsideSegment(LinePoint point, int length) { return(0 <= point && point < length); }