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

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

Inheritance diagram for Diplo.Graph.Draw.DrawInterface:
Diplo.Graph.Draw.AStar Diplo.Graph.Draw.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.Graph.Draw.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.Graph.Draw.AStar, and Diplo.Graph.Draw.Lee.

Stack<Point> Diplo.Graph.Draw.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.Graph.Draw.Lee, and Diplo.Graph.Draw.AStar.


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