Package hec.map.flo2d
Class Flo2dGlyph
java.lang.Object
hec.map.MapGlyph
hec.map.flo2d.Flo2dGlyph
- All Implemented Interfaces:
ElevationGlyph,Comparable<MapGlyph>
- Direct Known Subclasses:
Flo2dDepthGlyph
-
Nested Class Summary
Nested classes/interfaces inherited from class hec.map.MapGlyph
MapGlyph.Selection -
Field Summary
FieldsFields inherited from class hec.map.MapGlyph
_changeEvent, _glyphLevel, _listenerList, _map, _mapIdentifier, _mapPanel, _paintOk, _parentGlyph, maxPtArraySz, needsRepaint, xarray, XOR_COLOR, yarray -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw this MapGlyph to graphics using the MapScale sclprotected voidprotected abstract ColorContourfloatgetElevationAt(int ix, int iy) get depth at a point.doubledoubledoubleprotected booleanMethods inherited from class hec.map.MapGlyph
addChangeListener, addGlyphSelectionListener, checkXYArraySize, clearSelection, clearSelection, close, compareTo, containsSelection, drawConformingString, drawConformingString2, drawLine, drawLine, drawLine, drawLine, drawLine2D, drawRegion, drawRegion, fillMap, findGlyphOfClass, findObject, fireGlyphSelectionChanged, fireStateChanged, getAttributeSet, getBounds, getDataRecord, getDefaultDataRecord, getDescription, getGlyphLevel, getMap, getMapPanel, getMaximumScale, getMinimumScale, getName, getParentGlyph, getSelectedObject, getSelections, getToolTipText, glyphVector, hasChildGlyphs, hasMap, init, intersects, isAltDown, isAttributeAvailable, isControlDown, isMetaDown, isPaintOk, isRepaintNeeded, isShiftDown, isShown, isWriteLocked, objectDoubleClick, objectPopupMenu, objectSelect, reInit, removeChangeListener, removeGlyphSelectionListener, setDataRecord, setGlyphLevel, setMap, setMapPanel, setMaximumScale, setMinimumScale, setPaintOk, setParentGlyph, setRepaintNeeded, setShown, shouldReturn, showMapElement, toString, transformArrays, transformLocalToWorldArrays, transformLookup, transformPoint, transformPointToLocal, transformPointToWorld, transformRect, transformRect, transformRectToLocal, transformWorldToLocalArraysMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface hec.map.ElevationGlyph
drawElevationStats, getDataRecord, getMap, getMaximumScale, getMinimumScale, getName, setDataRecord, setMaximumScale, setMinimumScale
-
Field Details
-
_lr
-
_drawOutlines
protected boolean _drawOutlines
-
-
Constructor Details
-
Flo2dGlyph
- Parameters:
panel-map-
-
Flo2dGlyph
public Flo2dGlyph()
-
-
Method Details
-
draw
Description copied from class:MapGlyphdraw this MapGlyph to graphics using the MapScale scl -
drawWorldRect
-
shouldDrawZeroCells
protected boolean shouldDrawZeroCells()- Returns:
-
getElevationAt
public float getElevationAt(int ix, int iy) Description copied from interface:ElevationGlyphget depth at a point. assume nodes have already been scaled for this viewport- Specified by:
getElevationAtin interfaceElevationGlyph
-
getMaximumElevation
public double getMaximumElevation()- Specified by:
getMaximumElevationin interfaceElevationGlyph
-
getMinimumElevation
public double getMinimumElevation()- Specified by:
getMinimumElevationin interfaceElevationGlyph
-
getNoDataValue
public double getNoDataValue()- Specified by:
getNoDataValuein interfaceElevationGlyph
-
getColorContour
- Returns:
-