Click or drag to resize
LineDrawing Class

[Missing <summary> documentation for "T:Slash.Math.Geometry.Lines.LineDrawing"]

Inheritance Hierarchy
SystemObject
  Slash.Math.Geometry.LinesLineDrawing

Namespace: Slash.Math.Geometry.Lines
Assembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax
public static class LineDrawing

The LineDrawing type exposes the following members.

Methods
  NameDescription
Public methodStatic memberBresenham(Vector2I, Vector2I, LineDrawingPlotFunction)
Plot the line from the specified start to the specified end location by using the Bresenham algorithm. See http://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm for details.
Public methodStatic memberBresenham(Int32, Int32, Int32, Int32, LineDrawingPlotFunction)
Plot the line from (x0, y0) to (x1, y1) by using the Bresenham algorithm. See http://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm for details.
Public methodStatic memberBresenham(Single, Single, Single, Single, LineDrawingPlotFunction)
Plot the line from (x0, y0) to (x1, y1) by using the Bresenham algorithm. See http://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm for details.
Public methodStatic memberBresenhamContainsPoint
Checks if the specified location lies on the bresenham line spanned by the start and end location.
Top
See Also