-
- All Implemented Interfaces:
public interface IsolinesFactoryA factory for the creation of the basic astractions contained in this package.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumIsolinesFactory.IsolineFindersEnum containing all the available isolines finding algorithms.
-
Method Summary
Modifier and Type Method Description abstract Segment2DmakeSegment(Number x1, Number y1, Number x2, Number y2)Create a 2D segment. abstract IsolinemakeIsoline(Number value, Collection<Segment2D> segments)Create an Isoline. abstract IsolinesFindermakeIsolinesFinder(IsolinesFactory.IsolineFinders algorithm)Create an IsolinesFinder object, capable of finding isolines. -
-
Method Detail
-
makeSegment
abstract Segment2D makeSegment(Number x1, Number y1, Number x2, Number y2)
Create a 2D segment.
- Parameters:
x1- - x coordinate of point 1y1- - y coordinate of point 1x2- - x coordinate of point 2y2- - y coordinate of point 2
-
makeIsoline
abstract Isoline makeIsoline(Number value, Collection<Segment2D> segments)
Create an Isoline.
- Parameters:
value- - the value associated to the isoline to be createdsegments- - the segments forming the isoline
-
makeIsolinesFinder
abstract 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.
- Parameters:
algorithm- - the algorithm you want to use
-
-
-
-