public class IlvLineOfVisibilityStyle extends IlvPolylineStyle
IlvLineOfVisibility instance.| Modifier and Type | Field and Description |
|---|---|
static String |
HIDDEN_ZONE_COLOR
The HiddenZoneColor attribute name.
|
static String |
POINTOFVIEWHEIGHT
The PointOfViewHeight attribute name.
|
static String |
PRECISION
The Precision attribute name.
|
static String |
USING_EARTH_CURVATURE
The UsingEarthCurvature attribute name.
|
static String |
VISIBLE_ZONE_COLOR
The VisibleZoneColor attribute name.
|
BACKGROUND, DECORATION, DECORATION_ONLY, DECORATION_PAINT, END_CAP, FOREGROUND, LINE_JOIN, LINE_STYLE, LINE_WIDTH, STROKEALPHA, ALWAYS_ON_TOP, ATTRIBUTE_INFO, CATEGORY, LABEL_ATTRIBUTE, LEGEND_GROUP, PARENT, THIN_CLIENT_BACKGROUND, VISIBLE_IN_3DVIEW, VISIBLE_IN_OVERVIEW, VISIBLE_IN_TREE, VISIBLE_IN_VIEW| Constructor and Description |
|---|
IlvLineOfVisibilityStyle()
The default constructor.
|
IlvLineOfVisibilityStyle(IlvInputStream stream)
Constructs a
IlvLineOfVisibilityStyle instance from saved
data. |
IlvLineOfVisibilityStyle(IlvLineOfVisibilityStyle source)
The copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IlvMapStyle |
copy()
Return a copy of the style.
|
Color |
getHiddenZoneColor()
Returns the hidden zone color.
|
double |
getPointOfViewHeight()
Returns the point of view height.
|
double |
getPrecision()
Returns the precision.
|
Color |
getVisibleZoneColor()
Returns the visible zone color.
|
boolean |
isUsingEarthCurvature()
Indicates if the line of sight makes use of the curvature of the earth.
|
void |
setHiddenZoneColor(Color hiddenZoneColor)
Sets the hidden zone color.
|
void |
setPointOfViewHeight(double pointOfViewHeight)
Sets the point of view height.
|
void |
setPrecision(double precision)
Sets the computation precision in meters.
|
void |
setUsingEarthCurvature(boolean useCurvature)
Determines if the line of sight makes use of the curvature of the earth.
|
void |
setVisibleZoneColor(Color visibleZoneColor)
Sets the visible zone color.
|
void |
write(IlvOutputStream stream)
Writes an
IllPolylineStyle to an IlvOutputStream |
equals, getBackground, getDecoration, getDecorationPaint, getEndCap, getForeground, getLineJoin, getLineStyle, getLineWidth, getStroke, hashCode, isDecorationOnly, setBackground, setDecoration, setDecorationOnly, setDecorationPaint, setEndCap, setForeground, setLineJoin, setLineStyle, setLineWidth, setStrokeaddAttributeListener, addChild, addStyleListener, addWeakStyleListener, getAlpha, getAttribute, getAttribute, getAttributeFilter, getAttributeInfo, getAttributeListeners, getCategory, getChildren, getDefaultValues, getGraphic, getLabelAttribute, getLegendGroup, getListeners, getParent, getStyleListeners, isAlwaysOnTop, isInherited, isThinClientBackground, isVisibleIn3DView, isVisibleInOverview, isVisibleInTree, isVisibleInView, objectEquals, removeAttributeListener, removeChild, removeStyleListener, setAlpha, setAlwaysOnTop, setAttribute, setAttributeFilter, setAttributeInfo, setCategory, setGraphic, setInherited, setLabelAttribute, setLegendGroup, setParent, setThinClientBackground, setVisibleIn3DView, setVisibleInOverview, setVisibleInTree, setVisibleInViewpublic static final String HIDDEN_ZONE_COLOR
public static final String USING_EARTH_CURVATURE
public static final String VISIBLE_ZONE_COLOR
public static final String PRECISION
public static final String POINTOFVIEWHEIGHT
public IlvLineOfVisibilityStyle()
public IlvLineOfVisibilityStyle(IlvLineOfVisibilityStyle source)
source - The source style to copy.public IlvLineOfVisibilityStyle(IlvInputStream stream) throws IlvReadFileException
IlvLineOfVisibilityStyle instance from saved
data.stream - The stream to read from.IlvReadFileException - if there is a problem reading from
stream.public IlvMapStyle copy()
copy in class IlvPolylineStyleIlvLineOfVisibilityStyleIlvMapStyle.copy()public boolean isUsingEarthCurvature()
true.true is returned.public void setUsingEarthCurvature(boolean useCurvature)
useCurvature - Set to true to use the curvature of the
earth.public Color getHiddenZoneColor()
public void setHiddenZoneColor(Color hiddenZoneColor)
hiddenZoneColor - The hidden zone color.public Color getVisibleZoneColor()
public void setVisibleZoneColor(Color visibleZoneColor)
visibleZoneColor - The visible zone color.public double getPointOfViewHeight()
public void setPointOfViewHeight(double pointOfViewHeight)
pointOfViewHeight - The point of view height in meters.public double getPrecision()
public void setPrecision(double precision)
precision - The precision to set.public void write(IlvOutputStream stream) throws IOException
IllPolylineStyle to an IlvOutputStreamwrite in interface IlvPersistentObjectwrite in class IlvPolylineStylestream - The stream to write to.IOException - thrown when an exception occurs during
the write operation for this object.IlvPolylineStyle.write(ilog.views.io.IlvOutputStream)© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.