-
- All Implemented Interfaces:
-
it.unibo.alchemist.boundary.gui.isolines.IsolinesFactory
public class ConcreteIsolinesFactory implements IsolinesFactory
-
-
Method Summary
Modifier and Type Method Description Segment2D
makeSegment(Number x1, Number y1, Number x2, Number y2)
Create a 2D segment. Isoline
makeIsoline(Number value, Collection<Segment2D> segments)
Create an Isoline. IsolinesFinder
makeIsolinesFinder(IsolinesFactory.IsolineFinders algorithm)
Create an IsolinesFinder object, capable of finding isolines. -
-
Method Detail
-
makeIsoline
Isoline makeIsoline(Number value, Collection<Segment2D> segments)
Create an Isoline.
-
makeIsolinesFinder
IsolinesFinder makeIsolinesFinder(IsolinesFactory.IsolineFinders algorithm)
Create an IsolinesFinder object, capable of finding isolines. As different finders could be available - each one extracting isolines in a different way - you can specify which one to use with the algorithm parameter.
-
-
-
-