Method GetVectorLine
GetVectorLine(GridPoint2)
Gets the map that represents a line through this point in the given direction.
public static IMap<GridPoint2, GridPoint2> GetVectorLine(GridPoint2 direction)
Parameters
direction
GridPoint2The direction of the returned line.
Returns
Remarks
The vector line of a point p in the direction d is the set of points given by p + d*n, where n is over all integers. The map returned by this function can generate (a portion) of this line by repeatedly applying it on the point (either in the forward or backward direction).