public class SimulatedBathymetry extends java.lang.Object implements Renderer2DPainter, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected double |
defaultDepth |
protected double |
minDistToSounding |
protected java.util.LinkedHashMap<LocationType,java.lang.Double> |
soundings |
Modifier and Type | Method and Description |
---|---|
void |
addSounding(LocationType loc,
double depth) |
void |
addSoundings(java.util.Map<LocationType,java.lang.Double> data) |
void |
clearSoundings() |
double |
getDefaultDepth() |
static SimulatedBathymetry |
getInstance() |
double |
getSimulatedDepth(LocationType loc) |
java.util.Map<LocationType,java.lang.Double> |
getSoundings() |
void |
paint(java.awt.Graphics2D g,
StateRenderer2D renderer) |
void |
setDefaultDepth(double defaultDepth) |
protected double defaultDepth
protected double minDistToSounding
protected java.util.LinkedHashMap<LocationType,java.lang.Double> soundings
public static SimulatedBathymetry getInstance()
public void addSoundings(java.util.Map<LocationType,java.lang.Double> data)
public void addSounding(LocationType loc, double depth)
public void clearSoundings()
public java.util.Map<LocationType,java.lang.Double> getSoundings()
public double getDefaultDepth()
public void setDefaultDepth(double defaultDepth)
defaultDepth
- the defaultDepth to setpublic double getSimulatedDepth(LocationType loc)
public void paint(java.awt.Graphics2D g, StateRenderer2D renderer)
paint
in interface Renderer2DPainter
Copyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.