public class TLcdTransformedMeasureProvider extends ALcdMeasureProvider
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.ALcdMeasureProvider.Parameters
Constructor and Description |
---|
TLcdTransformedMeasureProvider(ALcdMeasureProvider aMeasureProvider,
ILcdModelReference aModelReference)
Creates a new measure provider wrapper makes sure that the given point and
Parameters are
transformed to the given model reference. |
Modifier and Type | Method and Description |
---|---|
TLcdISO19103Measure[] |
retrieveMeasuresAt(ILcdPoint aPoint,
ILcdModelReference aPointReference,
ALcdMeasureProvider.Parameters aParameters)
This method retrieves the measures at the given point.
|
public TLcdTransformedMeasureProvider(ALcdMeasureProvider aMeasureProvider, ILcdModelReference aModelReference)
Parameters
are
transformed to the given model reference.aMeasureProvider
- the measure provider to wrap. This measure provider should be able to handle points and
parameters in aModelReference
.aModelReference
- the given point and Parameters
passed to the retrieveMeasuresAt
method are transformed to this model reference.public TLcdISO19103Measure[] retrieveMeasuresAt(ILcdPoint aPoint, ILcdModelReference aPointReference, ALcdMeasureProvider.Parameters aParameters)
ALcdMeasureProvider
retrieveMeasuresAt
in class ALcdMeasureProvider
aPoint
- the point for which to retrieve measures.aPointReference
- the reference in which aPoint
is defined.aParameters
- the parameters.