Package com.luciad.layers.los
Class LineOfSightLayer
java.lang.Object
com.luciad.layers.Layer
com.luciad.layers.los.LineOfSightLayer
- All Implemented Interfaces:
AutoCloseable
A layer for feature models containing line-of-sight (LOS) features.
Such a feature represents an observer with some additional properties which together define a line-of-sight coverage.
Use LineOfSightLayer#newBuilder
to create a line-of-sight layer instance.
- Since:
- 2025.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Property name for theLayerEvent
that is fired as a result of changing the layer's style.Fields inherited from class com.luciad.layers.Layer
PropertyBusy, PropertyTitle, PropertyVisible
-
Method Summary
Modifier and TypeMethodDescriptionReturns a new builder based on this layer instance.void
close()
boolean
protected void
finalize()
Returns the line-of-sight style used for painting this layer.getModel()
Returns the layer's model, which provides the line-of-sight features to be presented.int
hashCode()
static LineOfSightLayer.Builder
Returns the new builder for creating aLineOfSightLayer
.void
setLineOfSightStyle
(LineOfSightStyle losStyle) Sets the line-of-sight style used for painting this layer.Methods inherited from class com.luciad.layers.Layer
addObserver, getId, getTitle, isBusy, isVisible, removeObserver, setTitle, setVisible
-
Field Details
-
PropertyLineOfSightStyle
Property name for theLayerEvent
that is fired as a result of changing the layer's style.- See Also:
-
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Overrides:
close
in classLayer
-
newBuilder
Returns the new builder for creating aLineOfSightLayer
.- Returns:
- the new builder for creating a
LineOfSightLayer
.
-
asBuilder
Returns a new builder based on this layer instance.You can use this builder, for example, to create a copy of this layer.
Note that observers will not be transferred to a new layer.
- Returns:
- a new builder based on this layer instance.
- Since:
- 2025.0
-
getModel
Returns the layer's model, which provides the line-of-sight features to be presented.Such a feature represents an observer with some additional properties which together define a line-of-sight coverage.
- Returns:
- the layer's model, which provides the line-of-sight features to be presented.
- See Also:
-
getLineOfSightStyle
Returns the line-of-sight style used for painting this layer.- Returns:
- the style of this layer.
-
setLineOfSightStyle
Sets the line-of-sight style used for painting this layer.If the new line-of-sight style is different from the old one, a
LayerEvent
is delivered to the observers with the property name propertyLineOfSightStyle.- Parameters:
losStyle
- the new line-of-sight style.
-
hashCode
public int hashCode() -
equals
-