Diplo
 All Classes Namespaces Functions Variables Properties
Public Member Functions | List of all members
Diplo.DrawAlgorithms.DrawInterface Interface Reference

Interface, ktorý musia spĺňať všetky kresliace algoritmi More...

Inheritance diagram for Diplo.DrawAlgorithms.DrawInterface:
Diplo.DrawAlgorithms.AStar Diplo.DrawAlgorithms.Lee

Public Member Functions

Stack< Point > draw (Graphics g, Graph graf, Point start, Point end, int fieldSize)
  More...
 
Stack< Point > drawIntoPolygon (Graphics g, Graph graf, Point start, Point end, Stack< Point > Polygon)
  More...
 

Detailed Description

Interface, ktorý musia spĺňať všetky kresliace algoritmi

Member Function Documentation

Stack<Point> Diplo.DrawAlgorithms.DrawInterface.draw ( Graphics  g,
Graph  graf,
Point  start,
Point  end,
int  fieldSize 
)

Nájdenie cesty z bodu START do bodu END

Parameters
gGrafický komponent
grafInštancia grafu
startŠtart bod
endKoncový bod
fieldSizeVeľkosť plochy pre vrchol
Returns
Cesta, množina bodov

Implemented in Diplo.DrawAlgorithms.AStar, and Diplo.DrawAlgorithms.Lee.

Stack<Point> Diplo.DrawAlgorithms.DrawInterface.drawIntoPolygon ( Graphics  g,
Graph  graf,
Point  start,
Point  end,
Stack< Point >  Polygon 
)

Nájdenie cesty z bodu START do bodu END. Pri hľadaní, cesta nemôže výjsť z poligónu (oblasti)

Parameters
gGrafický komponent
grafInštancia grafu
startŠtart bod
endKoncový bod
PolygonPoligon - Koridor
Returns
Cesta, množina bodov

Implemented in Diplo.DrawAlgorithms.Lee, and Diplo.DrawAlgorithms.AStar.


The documentation for this interface was generated from the following file: