Package com.luciad.util.measure
Class TLcdTransformedMeasureProvider
java.lang.Object
com.luciad.util.measure.ALcdMeasureProvider
com.luciad.util.measure.TLcdTransformedMeasureProvider
This
ALcdMeasureProvider
wrapper makes sure that the given point and Parameters
are transformed to a given model reference. This measure provider wrapper can be used for measure providers that
can only handle points/parameters in their 'native' model reference. After wrapping, they will be able to handle
input in any model reference.- Since:
- 2015.0
-
Nested Class Summary
Nested classes/interfaces inherited from class com.luciad.util.measure.ALcdMeasureProvider
ALcdMeasureProvider.Parameters
-
Constructor Summary
ConstructorDescriptionTLcdTransformedMeasureProvider
(ALcdMeasureProvider aMeasureProvider, ILcdModelReference aModelReference) Creates a new measure provider wrapper makes sure that the given point andParameters
are transformed to the given model reference. -
Method Summary
Modifier and TypeMethodDescriptionretrieveMeasuresAt
(ILcdPoint aPoint, ILcdModelReference aPointReference, ALcdMeasureProvider.Parameters aParameters) This method retrieves the measures at the given point.
-
Constructor Details
-
TLcdTransformedMeasureProvider
public TLcdTransformedMeasureProvider(ALcdMeasureProvider aMeasureProvider, ILcdModelReference aModelReference) Creates a new measure provider wrapper makes sure that the given point andParameters
are transformed to the given model reference.- Parameters:
aMeasureProvider
- the measure provider to wrap. This measure provider should be able to handle points and parameters inaModelReference
.aModelReference
- the given point andParameters
passed to theretrieveMeasuresAt
method are transformed to this model reference.
-
-
Method Details
-
retrieveMeasuresAt
public TLcdISO19103Measure[] retrieveMeasuresAt(ILcdPoint aPoint, ILcdModelReference aPointReference, ALcdMeasureProvider.Parameters aParameters) Description copied from class:ALcdMeasureProvider
This method retrieves the measures at the given point.- Specified by:
retrieveMeasuresAt
in classALcdMeasureProvider
- Parameters:
aPoint
- the point for which to retrieve measures.aPointReference
- the reference in whichaPoint
is defined.aParameters
- the parameters.- Returns:
- an array with the found measurements, or an empty array if no measure was found
-